theme

Parent: app

Children: breadcrumbTemplate, buttonTemplate, classicReportTemplate, fieldTemplate, file, globalTemplateOption, listTemplate, pageTemplate, popupLovTemplate, regionTemplate, style, templateOptionGroup

Direct Properties:

PropertyTypeRequiredDefault ValueDetails
namestringYesdata type=string; maxLen=255

Provides a short descriptive name for the theme.

themeNumberintegerNodata type=integer; maxLen=10
baseThemeenumNodata type=string; lov=STATIC
Valid values: ut-24.2 ut-26.1 ut-26.2
versionstringNodata type=string; maxLen=30
Applies whenmaster is set

Property Groups:

  • style
  • javaScript
  • css
  • navigation
  • componentDefaults
  • regionDefaults
  • dialogDefaults
  • icons
  • description
  • advanced
  • subscription
style
PropertyTypeRequiredDefault ValueDetails
currentThemeStylereferenceNodata type=reference; lov=COMPONENT; references=style
style {
  currentThemeStyle: @component
}
javaScript
PropertyTypeRequiredDefault ValueDetails
fileUrlsarray of stringsNodata type=string; maxLen=4000

Enter JavaScript file URLs for code to be loaded on every page. Each URL has to be written into a new line. If you provide a minified version of your file, you can use the substitution string #MIN# to include .min or #MIN_DIRECTORY# to include minified/ in your file URL for a regular page view and an empty string if the page is viewed in debug mode.

JavaScript file URLs you enter here replaces the #THEME_JAVASCRIPT# substitution string in the page template.

Note: You do not need to include opening or closing script tags. Just write the URL.

javaScript {
  fileUrls: [
    value
    value
  ]
}
css
PropertyTypeRequiredDefault ValueDetails
fileUrlsarray of stringsNodata type=string; maxLen=4000

Enter Cascading Style Sheet file URLs to be loaded on every page. Each URL has to be written into a new line. If you provide a minified version of your file you can use the substitution string #MIN# to include .min or #MIN_DIRECTORY# to include minified/ in your file URL for a regular page view and an empty string if the page is viewed in debug mode. You also have access to the substitution string #APP_VERSION# if you want to include the application's version in the file URL.

File URLs you enter here will replace the #THEME_CSS# substitution string in the page template.

Note: You do not need to include opening or closing link tags. Just include the file URL.

css {
  fileUrls: [
    value
    value
  ]
}
navigation
PropertyTypeRequiredDefault ValueDetails
typeenumYeslistdata type=string; lov=STATIC
Valid values: tabs list
navigationBarTypeenumYeslistdata type=string; lov=STATIC
Valid values: classic list
navigation {
  type: tabs
  navigationBarType: classic
}
componentDefaults
PropertyTypeRequiredDefault ValueDetails
pagereferenceNodata type=reference; lov=COMPONENT; references=pageTemplate
navigationBarListreferenceNodata type=reference; lov=COMPONENT; references=listTemplate
navigationMenuListPositionenumYestopdata type=string; lov=STATIC
Valid values: top side
navigationMenuListTopreferenceNodata type=reference; lov=COMPONENT; references=listTemplate
navigationMenuListSidereferenceNodata type=reference; lov=COMPONENT; references=listTemplate
loginPagereferenceNodata type=reference; lov=COMPONENT; references=pageTemplate
errorPagereferenceNodata type=reference; lov=COMPONENT; references=pageTemplate
printerFriendlyPagereferenceNodata type=reference; lov=COMPONENT; references=pageTemplate
breadcrumbreferenceNodata type=reference; lov=COMPONENT; references=breadcrumbTemplate
buttonreferenceNodata type=reference; lov=COMPONENT; references=buttonTemplate
defaultLabelreferenceNodata type=reference; lov=COMPONENT; references=fieldTemplate
optionalLabelreferenceNodata type=reference; lov=COMPONENT; references=fieldTemplate
requiredLabelreferenceNodata type=reference; lov=COMPONENT; references=fieldTemplate
listreferenceNodata type=reference; lov=COMPONENT; references=listTemplate
regionreferenceNodata type=reference; lov=COMPONENT; references=regionTemplate
classicReportreferenceNodata type=reference; lov=COMPONENT; references=classicReportTemplate
headerToolbarreferenceNodata type=reference; lov=COMPONENT; references=regionTemplate
footerToolbarreferenceNodata type=reference; lov=COMPONENT; references=regionTemplate
componentDefaults {
  page: @component
  navigationBarList: @component
  navigationMenuListPosition: top
  navigationMenuListTop: @component
  navigationMenuListSide: @component
  loginPage: @component
  errorPage: @component
  printerFriendlyPage: @component
  breadcrumb: @component
  button: @component
  defaultLabel: @component
  optionalLabel: @component
  requiredLabel: @component
  list: @component
  region: @component
  classicReport: @component
  headerToolbar: @component
  footerToolbar: @component
}
regionDefaults
PropertyTypeRequiredDefault ValueDetails
breadcrumbsreferenceNodata type=reference; lov=COMPONENT; references=regionTemplate
chartsreferenceNodata type=reference; lov=COMPONENT; references=regionTemplate
formsreferenceNodata type=reference; lov=COMPONENT; references=regionTemplate
listsreferenceNodata type=reference; lov=COMPONENT; references=regionTemplate
reportsreferenceNodata type=reference; lov=COMPONENT; references=regionTemplate
wizardsreferenceNodata type=reference; lov=COMPONENT; references=regionTemplate
interactiveReportsreferenceNodata type=reference; lov=COMPONENT; references=regionTemplate
regionDefaults {
  breadcrumbs: @component
  charts: @component
  forms: @component
  lists: @component
  reports: @component
  wizards: @component
  interactiveReports: @component
}
dialogDefaults
PropertyTypeRequiredDefault ValueDetails
dialogContentRegionreferenceNodata type=reference; lov=COMPONENT; references=regionTemplate
dialogButtonRegionreferenceNodata type=reference; lov=COMPONENT; references=regionTemplate
dialogPagereferenceNodata type=reference; lov=COMPONENT; references=pageTemplate
dialogDefaults {
  dialogContentRegion: @component
  dialogButtonRegion: @component
  dialogPage: @component
}
icons
PropertyTypeRequiredDefault ValueDetails
libraryenumNodata type=string; lov=STATIC
Valid values: fontApex fontApexLatest
customLibraryFileUrlsmultiline stringNodata type=multiline string; maxLen=4000
customClassesmultiline stringNodata type=multiline string; maxLen=4000
customPrefixClassstringNodata type=string; maxLen=30
datePickerIconNamestringNodata type=string; maxLen=255
datePickerIconAttributesstringNodata type=string; maxLen=4000
icons {
  library: fontApex
  customLibraryFileUrls: ```
    value
  ```
  customClasses: ```
    value
  ```
  customPrefixClass: value
  datePickerIconName: value
  datePickerIconAttributes: value
}
description
PropertyTypeRequiredDefault ValueDetails
descriptionmultiline stringNodata type=multiline string; maxLen=4000
Provides a short description for the theme.
description {
  description: ```
    value
  ```
}
advanced
PropertyTypeRequiredDefault ValueDetails
staticIdstringYesdata type=string; maxLen=255
filePrefixstringNodata type=string; maxLen=255
identifierstringYesdata type=string; maxLen=255; textCase=UPPER
Specifies the internal theme identifier.
advanced {
  staticId: value
  filePrefix: value
  identifier: value
}
subscription
PropertyTypeRequiredDefault ValueDetails
masterenumNodata type=reference; lov=COMPONENT; references=theme
Valid values: @/8842.242/universal-theme @/8842.261/universal-theme @/8842.262/universal-theme @/8842.9999/theme-1000
subscription {
  master: "@/8842.242/universal-theme"
}

APEXlang Example

theme sample (
    name: value
    themeNumber: 42
    baseTheme: ut-24.2
    version: value
    style {
        currentThemeStyle: @component
    }
    javaScript {
        fileUrls: [
          value
          value
        ]
    }
    css {
        fileUrls: [
          value
          value
        ]
    }
    navigation {
        type: tabs
        navigationBarType: classic
    }
    componentDefaults {
        page: @component
        navigationBarList: @component
        navigationMenuListPosition: top
        navigationMenuListTop: @component
        navigationMenuListSide: @component
        loginPage: @component
        errorPage: @component
        printerFriendlyPage: @component
        breadcrumb: @component
        button: @component
        defaultLabel: @component
        optionalLabel: @component
        requiredLabel: @component
        list: @component
        region: @component
        classicReport: @component
        headerToolbar: @component
        footerToolbar: @component
    }
    regionDefaults {
        breadcrumbs: @component
        charts: @component
        forms: @component
        lists: @component
        reports: @component
        wizards: @component
        interactiveReports: @component
    }
    dialogDefaults {
        dialogContentRegion: @component
        dialogButtonRegion: @component
        dialogPage: @component
    }
    icons {
        library: fontApex
        customLibraryFileUrls: ```
          value
        ```
        customClasses: ```
          value
        ```
        customPrefixClass: value
        datePickerIconName: value
        datePickerIconAttributes: value
    }
    description {
        description: ```
          value
        ```
    }
    advanced {
        staticId: value
        filePrefix: value
        identifier: value
    }
    subscription {
        master: "@/8842.242/universal-theme"
    }
)