buttonTemplate

Parent: theme

Children: templateOption

Direct Properties:

PropertyTypeRequiredDefault ValueDetails
namestringYesdata type=string; maxLen=255
The display name of this template.
templateClassenumNodata type=string; lov=STATIC
Valid values: button buttonAlternative1 buttonAlternative2 buttonAlternative3 custom1 custom2 custom3 custom4 custom5 custom6 custom7 custom8

Property Groups:

  • templateOptions
  • button
  • advanced
  • subscription
  • comments
templateOptions
PropertyTypeRequiredDefault ValueDetails
presetarray of stringsNodata type=string; lov=TEMPLATE_OPTIONS
defaultarray of stringsNodata type=string; lov=TEMPLATE_OPTIONS
templateOptions {
  preset: [
    value
    value
  ]
  default: [
    value
    value
  ]
}
button
PropertyTypeRequiredDefault ValueDetails
normalmultiline stringYesdata type=multiline string; maxLen=4000
hotmultiline stringNodata type=multiline string; maxLen=4000
button {
  normal: ```html
    value
  ```
  hot: ```html
    value
  ```
}
advanced
PropertyTypeRequiredDefault ValueDetails
staticIdstringYesdata type=string; maxLen=255
identifierstringNodata type=string; maxLen=255
translatablebooleanYesfalsedata type=boolean
advanced {
  staticId: value
  identifier: value
  translatable: false
}
subscription
PropertyTypeRequiredDefault ValueDetails
masterreferenceNodata type=reference; lov=COMPONENT; references=buttonTemplate
masterenumNodata type=reference; lov=COMPONENT; references=buttonTemplate
Valid values: @/8842.242/universal-theme/icon @/8842.242/universal-theme/text @/8842.242/universal-theme/text-with-icon @/8842.261/universal-theme/icon @/8842.261/universal-theme/text @/8842.261/universal-theme/text-with-icon @/8842.262/universal-theme/icon @/8842.262/universal-theme/text @/8842.262/universal-theme/text-with-icon @/8842.9999/theme-1000/Button
subscription {
  master: @component
}
comments
PropertyTypeRequiredDefault ValueDetails
commentsmultiline stringNodata type=multiline string; maxLen=4000
comments {
  comments: ```
    value
  ```
}

APEXlang Example

buttonTemplate sample (
    name: value
    templateClass: button
    templateOptions {
        preset: [
          value
          value
        ]
        default: [
          value
          value
        ]
    }
    button {
        normal: ```html
          value
        ```
        hot: ```html
          value
        ```
    }
    advanced {
        staticId: value
        identifier: value
        translatable: false
    }
    subscription {
        master: @component
    }
    comments {
        comments: ```
          value
        ```
    }
)