{
"sections": [
"title",
"description",
"file_information",
"directory_location",
"fields",
"wsdl_segment",
"declarative_metadata_sample_definition"
],
"title": "UiPreviewMessageTabDef - Metadata API",
"description": "Represents the registration of a custom Marketing Cloud Preview and Test modal tab, created using custom Lightning web components. You can register and show multiple tabs in the Preview and Test experience.",
"file_information": ".uiPreviewMessageTabDef",
"directory_location": "uiPreviewMessageTabDef",
"fields_columns": [
"type",
"required",
"description"
],
"fields": {
"isActive": {
"type": "boolean",
"required": true,
"description": "Indicates whether the tab is enabled and is customer controlled (true) or not (false)."
},
"isProtected": {
"type": "boolean",
"description": "Indicates whether the configuration is protected (true) or not (false)."
},
"label": {
"type": "string",
"required": true,
"description": "Label for the tab."
},
"lightningComponentDef": {
"type": "string",
"required": true,
"description": "The customer-created Lightning web component that displays in the Preview and Test tabs."
},
"supportedChannel": {
"type": "SupportedChannel (enumeration of type string)",
"required": true,
"description": "A string indicating the type of channel.Values are: Email Sms WhatsApp"
},
"tabName": {
"type": "string",
"required": true,
"description": "The case-sensitive, user-defined label displayed as the name of the tab. Maximum length is 255 characters."
}
},
"wsdl_segment": "```xml\n\n \n \n \n\n\n \n \n \n \n \n \n\n\n \n \n \n \n \n \n \n \n \n \n \n \n\n```",
"declarative_metadata_sample_definition": [
{
"description": "This example is a custom Lightning web component’s HTML file.",
"code": "\n
A custom tab
\n
Preview data
\n
{previewData}
\n"
},
{
"description": "Here’s the component’s JavaScript file.",
"code": "import { LightningElement, api } from \"lwc\";\n\nexport default class CustomTab extends LightningElement {\n @api previewData;\n}"
},
{
"description": "Here’s the component’s configuration file.",
"code": "\n\n 63.0\n true\n \n lightning__dynamicComponent\n \n"
},
{
"description": "This example package.xml references the component’s definition.",
"code": "\n\n\n true\n \n customTab\n Email\n My Tab\n false\n"
}
]
}