Documentation
¶
Index ¶
Constants ¶
View Source
const NAME = "CustomTab"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionOverride ¶ added in v0.51.0
type ActionOverride struct {
ActionName string `xml:"actionName"`
Comment *string `xml:"comment"`
Content *string `xml:"content"`
FormFactor *string `xml:"formFactor"`
SkipRecordTypeSelect *BooleanText `xml:"skipRecordTypeSelect"`
Type string `xml:"type"`
}
ActionOverride is one <actionOverrides> entry: the Lightning page assigned to a tab action. The Home tab's org-default page assignment is recorded as an override of its Tab action on standard-home.
type CustomTab ¶
type CustomTab struct {
metadata.MetadataInfo
XMLName xml.Name `xml:"CustomTab"`
Xmlns string `xml:"xmlns,attr"`
ActionOverrides []ActionOverride `xml:"actionOverrides"`
CustomObject *struct {
Text string `xml:",chardata"`
} `xml:"customObject"`
Description *struct {
Text string `xml:",chardata"`
} `xml:"description"`
FlexiPage *struct {
Text string `xml:",chardata"`
} `xml:"flexiPage"`
FrameHeight *struct {
Text string `xml:",chardata"`
} `xml:"frameHeight"`
HasSidebar *struct {
Text string `xml:",chardata"`
} `xml:"hasSidebar"`
Icon *struct {
Text string `xml:",chardata"`
} `xml:"icon"`
Label *struct {
Text string `xml:",chardata"`
} `xml:"label"`
LwcComponent *struct {
Text string `xml:",chardata"`
} `xml:"lwcComponent"`
Motif struct {
Text string `xml:",chardata"`
} `xml:"motif"`
Page *struct {
Text string `xml:",chardata"`
} `xml:"page"`
URL *struct {
Text string `xml:",chardata"`
} `xml:"url"`
UrlEncodingKey *struct {
Text string `xml:",chardata"`
} `xml:"urlEncodingKey"`
}
func (*CustomTab) SetMetadata ¶
func (c *CustomTab) SetMetadata(m metadata.MetadataInfo)
func (*CustomTab) Type ¶
func (c *CustomTab) Type() metadata.MetadataType
Click to show internal directories.
Click to hide internal directories.