Help us shape the future of Go! Take the 2026 Go Developer Survey

weblink

package
v0.67.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const NAME = "WebLink"

Variables

This section is empty.

Functions

This section is empty.

Types

type WebLink struct {
	FullName     string `xml:"fullName"`
	Availability struct {
		Text string `xml:",chardata"`
	} `xml:"availability"`
	Description *struct {
		Text string `xml:",chardata"`
	} `xml:"description"`
	DisplayType struct {
		Text string `xml:",chardata"`
	} `xml:"displayType"`
	EncodingKey *struct {
		Text string `xml:",chardata"`
	} `xml:"encodingKey"`
	HasMenubar *struct {
		Text string `xml:",chardata"`
	} `xml:"hasMenubar"`
	HasScrollbars *struct {
		Text string `xml:",chardata"`
	} `xml:"hasScrollbars"`
	HasToolbar *struct {
		Text string `xml:",chardata"`
	} `xml:"hasToolbar"`
	Height *struct {
		Text string `xml:",chardata"`
	} `xml:"height"`
	IsResizable *struct {
		Text string `xml:",chardata"`
	} `xml:"isResizable"`
	LinkType struct {
		Text string `xml:",chardata"`
	} `xml:"linkType"`
	MasterLabel struct {
		Text string `xml:",chardata"`
	} `xml:"masterLabel"`
	OpenType struct {
		Text string `xml:",chardata"`
	} `xml:"openType"`
	Page *struct {
		Text string `xml:",chardata"`
	} `xml:"page"`
	Position *struct {
		Text string `xml:",chardata"`
	} `xml:"position"`
	Protected struct {
		Text string `xml:",chardata"`
	} `xml:"protected"`
	RequireRowSelection *struct {
		Text string `xml:",chardata"`
	} `xml:"requireRowSelection"`
	// Scontrol names the s-control a link runs, which Salesforce no longer
	// allows creating.
	Scontrol *struct {
		Text string `xml:",chardata"`
	} `xml:"scontrol"`
	ShowsLocation *struct {
		Text string `xml:",chardata"`
	} `xml:"showsLocation"`
	ShowsStatus *struct {
		Text string `xml:",chardata"`
	} `xml:"showsStatus"`
	URL *struct {
		Text string `xml:",innerxml"`
	} `xml:"url"`
	Width *struct {
		Text string `xml:",chardata"`
	} `xml:"width"`
}

type WebLinkMetadata

type WebLinkMetadata struct {
	metadata.MetadataInfo
	XMLName xml.Name `xml:"WebLink"`
	Xmlns   string   `xml:"xmlns,attr"`
	WebLink
}

func Open

func Open(path string) (*WebLinkMetadata, error)

func (*WebLinkMetadata) NameFromPath

func (c *WebLinkMetadata) NameFromPath(path string) metadata.MetadataObjectName

func (*WebLinkMetadata) SetMetadata

func (c *WebLinkMetadata) SetMetadata(m metadata.MetadataInfo)

func (*WebLinkMetadata) Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL