APEXlang API Reference
Browse component types, supported property groups, and generated APEXlang examples.
Components
app
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
alias | string | Yes | maxLen=80 | |
version | string | Yes | Release 1.0 | maxLen=255 |
type | enum | Yes | standard | enum=[standard, library, boilerplate, theme] |
group | string | No |
genAI
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
service | string | No | ||
aiConsentMessage | multiline string | No | maxLen=4000 | |
Applies when app.service is set | ||||
requestHandlerProcedure | string | No | maxLen=255 | |
responseHandlerProcedure | string | No | maxLen=255 | |
genAI { service:@componentaiConsentMessage: ``` Lorem ipsum dolor sit amet. ``` requestHandlerProcedure: value responseHandlerProcedure: value }
logo
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[image, text, imageAndText, custom] | |
imageUrl | string | Yes | maxLen=4000 | |
Applies when app.type in (I, IT) | ||||
text | string | Yes | maxLen=4000 | |
Applies when app.type in (T, IT) | ||||
customHtml | multiline string | Yes | maxLen=4000 | |
Applies when app.type = C | ||||
logo {
type: image
imageUrl: value
text: text
customHtml: ```
Lorem ipsum dolor sit amet.
```
}
navigation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
homeUrl | complex | Yes | maxLen=2000 | |
loginUrl | complex | No | maxLen=2000 |
navigation {
homeUrl: value
loginUrl: value
}
navigationMenu
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
listTemplate | string | No | ||
templateOptions | array of strings | No | ||
Applies when app.listTemplate is set | ||||
listPosition | enum | Yes | side | enum=[top, side] |
Applies when app.listTemplate is set | ||||
list | string | No | ||
Applies when app.listTemplate is set | ||||
navigationMenu { listTemplate:@componenttemplateOptions: [ value1 value2 ] listPosition: top list:@component}
navigationBar
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
implementation | enum | Yes | list | enum=[classic, list] |
list | string | Yes | ||
Applies when app.implementation = LIST | ||||
listTemplate | string | Yes | ||
Applies when app.implementation = LIST | ||||
templateOptions | array of strings | No | ||
Applies when app.listTemplate is set | ||||
navigationBar { implementation: classic list: value listTemplate:@componenttemplateOptions: [ value1 value2 ] }
userInterface
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
currentTheme | string | Yes | ||
globalPage | integer | No | maxLen=32767 | |
usersCanChooseThemeStyle | boolean | Yes | false | |
addBuiltWithApexToFooter | boolean | Yes | true | |
autoDismissSuccessMessages | boolean | Yes | false |
userInterface { currentTheme:@componentglobalPage: 42 usersCanChooseThemeStyle: false addBuiltWithApexToFooter: false autoDismissSuccessMessages: false }
appFormatMasks
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
date | string | No | maxLen=255 | |
dateTime | string | No | maxLen=255 | |
timestamp | string | No | maxLen=255 | |
timestampTimeZone | string | No | maxLen=255 |
appFormatMasks {
date: value
dateTime: value
timestamp: value
timestampTimeZone: value
}
javaScript
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
fileUrls | array of strings | No | maxLen=4000 | |
includeLegacyJavascript | array of enums | No | enum=[pre18, 18] | |
includeJqueryMigrate | boolean | Yes | false |
javaScript {
fileUrls: [
value1
value2
]
includeLegacyJavascript: [
pre18
"18"
]
includeJqueryMigrate: false
}
css
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
fileUrls | array of strings | No | maxLen=4000 |
css {
fileUrls: [
value1
value2
]
}
authentication
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
scheme | string | Yes | ||
configProcedureName | string | No | maxLen=255 | |
publicUser | string | No | maxLen=255 |
authentication {
scheme: value
configProcedureName: value
publicUser: value
}
authorization
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
scheme | string | No | ||
runOnPublicPages | boolean | Yes | false | |
Applies when app.scheme NOT_EQUALS MUST_NOT_BE_PUBLIC_USER | ||||
runOnBackgroundJob | boolean | Yes | true | |
Applies when app.scheme is set | ||||
sourceForRoleOrGroupSchemes | enum | Yes | accessControlUserRoleAssignments | enum=[accessControlUserRoleAssignments, authenticationScheme, customCode] |
authorization { scheme:@componentrunOnPublicPages: false runOnBackgroundJob: false sourceForRoleOrGroupSchemes: accessControlUserRoleAssignments }
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
deepLinking | enum | Yes | false | enum=[true, false] |
enableDictation | boolean | Yes | false | |
browserCache | enum | Yes | false | enum=[true, false] |
Applies when app.compatibilityMode NOT_EQUALS 4.0 | ||||
embedInFrames | enum | Yes | deny | enum=[deny, allowSameOrigin, allow] |
Applies when app.compatibilityMode NOT_EQUALS 4.0 | ||||
referrerPolicy | enum | Yes | strictOrigin | enum=[noReferrer, noReferrerWhenDowngrade, origin, originWhenCrossOrigin, sameOrigin, strictOrigin, strictOriginWhenCrossOrigin, unsafeUrl] |
htmlEscapingMode | enum | Yes | extended | enum=[basic, extended] |
httpResponseHeaders | multiline string | No | maxLen=4000 | |
runtimeApiUsage | array of enums | No | enum=[modifyThisApp, modifyOtherApps, modifyWorkspaceRepository] | |
security {
deepLinking: true
enableDictation: false
browserCache: true
embedInFrames: deny
referrerPolicy: noReferrer
htmlEscapingMode: basic
httpResponseHeaders: ```
Lorem ipsum dolor sit amet.
```
runtimeApiUsage: [
modifyThisApp
modifyOtherApps
]
}
sessionStateProtection
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
enabled | boolean | Yes | true | |
allowUrlsCreatedAfter | datetime | No | maxLen=32767 | |
bookmarkHashFunction | enum | Yes | sha2-512bit | enum=[sha1, sha2-256bit, sha2-384bit, sha2-512bit, md5] |
checksumSalt | string | No | maxLen=32767 | |
acceptPre202UrlChecksums | boolean | Yes | false |
sessionStateProtection {
enabled: false
allowUrlsCreatedAfter: value
bookmarkHashFunction: sha1
checksumSalt: value
acceptPre202UrlChecksums: false
}
sessionManagement
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
rejoinSessions | enum | Yes | false | enum=[false, publicSessions, allSessions] |
sessionStateCommits | enum | Yes | endOfRequest | enum=[immediate, endOfRequest] |
maxSessionLength | integer | No | maxLen=32767; min=0 | |
sessionTimeoutUrl | string | No | maxLen=4000 | |
maxSessionIdleTime | integer | No | maxLen=32767; min=0 | |
sessionIdleTimeoutUrl | string | No | maxLen=4000 | |
sessionTimeoutWarning | integer | No | maxLen=32767; min=0 |
sessionManagement {
rejoinSessions: false
sessionStateCommits: immediate
maxSessionLength: 5
sessionTimeoutUrl: value
maxSessionIdleTime: 5
sessionIdleTimeoutUrl: value
sessionTimeoutWarning: 42
}
databaseSession
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
parsingSchema | string | No | maxLen=128 | |
mleEnvironment | string | No | maxLen=255 | |
initPlsqlCode | multiline string | No | language=plsql; maxLen=4000 | |
cleanupPlsqlCode | multiline string | No | language=plsql; maxLen=4000 |
databaseSession {
parsingSchema: value
mleEnvironment: value
initPlsqlCode: ```
apex_debug.message('Processing APEXlang component');
apex_collection.create_or_truncate_collection(
p_collection_name => 'EXAMPLE_ROWS'
);
```
cleanupPlsqlCode: ```
apex_debug.message('Processing APEXlang component');
apex_collection.create_or_truncate_collection(
p_collection_name => 'EXAMPLE_ROWS'
);
```
}
globalization
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
primaryLanguage | enum | Yes | en | enum=[af, sq, ar-dz, ar-bh, ar-eg, ar-iq, ar-jo, ar-kw, ar-lb, ar-ly, ar-ma, ar-om, ar-qa, ar-sa, ar-sy, ar-tn, ar-ae, ar-ye, ar, hy, as, az, eu, be, bn, ba, bg, km, ca, zh-cn, zh-hk, zh-mo, zh-sg, zh-tw, zh, hr, cs, da, nl-be, nl, en-au, en-bz, en-ca, en-ie, en-jm, en-nz, en-ph, en-za, en-tt, en-gb, en-us, en-zw, en, et, mk, fo, fa, fi, fr-be, fr-ca, fr, fr-lu, fr-mc, fr-ch, gd, gl, de-at, de, de-li, de-lu, de-ch, el, gu, he, hi, hu, is, id, ga, it, it-ch, ja, kn, kk, kok, ko, kz, lv, lt, ms, ml, mt, mr, me, ne, nb-no, no, nn-no, or, pl, pt-br, pt, pa, ro, ru-md, ru, sr-cyrl, sr-latn, sr, sk, sl, es-ar, es-bo, es-cl, es-co, es-cr, es-do, es-ec, es-sv, es-gt, es-hn, es-mx, es-ni, es-pa, es-py, es-pe, es-pr, es, es-us, es-uy, es-ve, sw, sv-fi, sv, ta, te, th, tr, uk, ur, uz, vi, cy] |
documentDirection | enum | No | enum=[leftToRight, rightToLeft] | |
translationMethod | enum | No | enum=[translationApps, textMessages] | |
languageDerivedFrom | enum | Yes | appPrimaryLanguage | enum=[notTranslated, appPrimaryLanguage, browserPreference, appPreference, itemPreference, session] |
autoTimeZone | boolean | Yes | false | |
autoCsvEncoding | boolean | Yes | true |
globalization {
primaryLanguage: af
documentDirection: leftToRight
translationMethod: translationApps
languageDerivedFrom: notTranslated
autoTimeZone: false
autoCsvEncoding: false
}
progressiveWebApp
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
enable | boolean | Yes | true | |
installable | boolean | Yes | false | |
Applies when app.enable = Y | ||||
display | enum | Yes | standalone | enum=[fullscreen, standalone, minimalUI, browser] |
Applies when app.installable = Y | ||||
screenOrientation | enum | Yes | any | enum=[any, natural, landscape, landscapePrimary, landscapeSecondary, portrait, portraitPrimary, portraitSecondary] |
Applies when app.installable = Y | ||||
themeColor | string | No | maxLen=128 | |
Applies when app.installable = Y | ||||
backgroundColor | string | No | maxLen=128 | |
Applies when app.installable = Y | ||||
appDescription | multiline string | No | maxLen=4000 | |
Applies when app.installable = Y | ||||
appShortName | string | No | maxLen=18 | |
Applies when app.enable = Y | ||||
customManifest | multiline string | No | maxLen=4000 | |
Applies when app.installable = Y | ||||
manifestIconUrl | string | No | maxLen=255 | |
Applies when app.enable = Y | ||||
enablePushNotifications | boolean | Yes | false | |
Applies when app.enable = Y | ||||
pushNotificationsCredentials | string | Yes | ||
Applies when app.enablePushNotifications = Y | ||||
contactEmail | string | No | maxLen=255 | |
Applies when app.enablePushNotifications = Y | ||||
progressiveWebApp { enable: false installable: false display: fullscreen screenOrientation: any themeColor: value backgroundColor: value appDescription: ``` Lorem ipsum dolor sit amet. ``` appShortName: value customManifest: ``` Lorem ipsum dolor sit amet. ``` manifestIconUrl: value enablePushNotifications: false pushNotificationsCredentials:@componentcontactEmail: value }
customServiceWorker
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
mode | enum | Yes | default | enum=[default, custom, url] |
Applies when app.enable = Y | ||||
url | string | Yes | maxLen=32767 | |
Applies when app.mode = URL | ||||
functionVariableDeclarationMode | enum | Yes | default | enum=[default, hook] |
Applies when app.mode = CUSTOM | ||||
functionVariableDeclaration | multiline string | No | language=javascript-browser; maxLen=32767 | |
Applies when app.functionVariableDeclarationMode = HOOK | ||||
installMode | enum | Yes | default | enum=[default, custom, hook] |
Applies when app.mode = CUSTOM | ||||
eventInstall | multiline string | No | language=javascript-browser; maxLen=32767 | |
Applies when app.installMode = CUSTOM | ||||
eventInstallBefore | multiline string | No | language=javascript-browser; maxLen=32767 | |
Applies when app.installMode = HOOK | ||||
eventInstallAfter | multiline string | No | language=javascript-browser; maxLen=32767 | |
Applies when app.installMode = HOOK | ||||
activateMode | enum | Yes | default | enum=[default, custom, hook] |
Applies when app.mode = CUSTOM | ||||
eventActivate | multiline string | No | language=javascript-browser; maxLen=32767 | |
Applies when app.activateMode = CUSTOM | ||||
eventActivateBefore | multiline string | No | language=javascript-browser; maxLen=32767 | |
Applies when app.activateMode = HOOK | ||||
eventActivateAfter | multiline string | No | language=javascript-browser; maxLen=32767 | |
Applies when app.activateMode = HOOK | ||||
fetchMode | enum | Yes | default | enum=[default, custom, hook] |
Applies when app.mode = CUSTOM | ||||
eventFetch | multiline string | No | language=javascript-browser; maxLen=32767 | |
Applies when app.fetchMode = CUSTOM | ||||
eventFetchBefore | multiline string | No | language=javascript-browser; maxLen=32767 | |
Applies when app.fetchMode = HOOK | ||||
eventFetchCacheDefinition | multiline string | No | language=javascript-browser; maxLen=32767 | |
Applies when app.fetchMode = HOOK | ||||
eventFetchCacheResponse | multiline string | No | language=javascript-browser; maxLen=32767 | |
Applies when app.fetchMode = HOOK | ||||
eventFetchNetworkResponseSuccess | multiline string | No | language=javascript-browser; maxLen=32767 | |
Applies when app.fetchMode = HOOK | ||||
eventFetchNetworkResponseError | multiline string | No | language=javascript-browser; maxLen=32767 | |
Applies when app.fetchMode = HOOK | ||||
eventFetchOfflinePage | multiline string | No | language=javascript-browser; maxLen=32767 | |
Applies when app.fetchMode = HOOK | ||||
eventFetchNetworkFallback | multiline string | No | language=javascript-browser; maxLen=32767 | |
Applies when app.fetchMode = HOOK | ||||
syncMode | enum | Yes | default | enum=[default, custom] |
Applies when app.mode = CUSTOM | ||||
eventSync | multiline string | No | language=javascript-browser; maxLen=32767 | |
Applies when app.syncMode = CUSTOM | ||||
pushMode | enum | Yes | default | enum=[default, custom, hook] |
Applies when app.mode = CUSTOM | ||||
eventPush | multiline string | No | language=javascript-browser; maxLen=32767 | |
Applies when app.pushMode = CUSTOM | ||||
eventPushBefore | multiline string | No | language=javascript-browser; maxLen=32767 | |
Applies when app.pushMode = HOOK | ||||
eventPushAfter | multiline string | No | language=javascript-browser; maxLen=32767 | |
Applies when app.pushMode = HOOK | ||||
notificationClickMode | enum | Yes | default | enum=[default, custom, hook] |
Applies when app.mode = CUSTOM | ||||
eventNotificationClick | multiline string | No | language=javascript-browser; maxLen=32767 | |
Applies when app.notificationClickMode = CUSTOM | ||||
evenNotificationClickBefore | multiline string | No | language=javascript-browser; maxLen=32767 | |
Applies when app.notificationClickMode = HOOK | ||||
evenNotificationClickAfter | multiline string | No | language=javascript-browser; maxLen=32767 | |
Applies when app.notificationClickMode = HOOK | ||||
notificationCloseMode | enum | Yes | default | enum=[default, custom, hook] |
Applies when app.mode = CUSTOM | ||||
evenNotificationClose | multiline string | No | language=javascript-browser; maxLen=32767 | |
Applies when app.notificationCloseMode = CUSTOM | ||||
canMakePaymentMode | enum | Yes | default | enum=[default, custom] |
Applies when app.mode = CUSTOM | ||||
evenCanMakePayment | multiline string | No | language=javascript-browser; maxLen=32767 | |
Applies when app.canMakePaymentMode = CUSTOM | ||||
paymentRequestMode | enum | Yes | default | enum=[default, custom] |
Applies when app.mode = CUSTOM | ||||
evenPaymentRequest | multiline string | No | language=javascript-browser; maxLen=32767 | |
Applies when app.paymentRequestMode = CUSTOM | ||||
customServiceWorker {
mode: default
url: value
functionVariableDeclarationMode: default
functionVariableDeclaration: ```
apex.message.alert( "Load complete." );
```
installMode: default
eventInstall: ```
apex.message.alert( "Load complete." );
```
eventInstallBefore: ```
apex.message.alert( "Load complete." );
```
eventInstallAfter: ```
apex.message.alert( "Load complete." );
```
activateMode: default
eventActivate: ```
apex.message.alert( "Load complete." );
```
eventActivateBefore: ```
apex.message.alert( "Load complete." );
```
eventActivateAfter: ```
apex.message.alert( "Load complete." );
```
fetchMode: default
eventFetch: ```
apex.message.alert( "Load complete." );
```
eventFetchBefore: ```
apex.message.alert( "Load complete." );
```
eventFetchCacheDefinition: ```
apex.message.alert( "Load complete." );
```
eventFetchCacheResponse: ```
apex.message.alert( "Load complete." );
```
eventFetchNetworkResponseSuccess: ```
apex.message.alert( "Load complete." );
```
eventFetchNetworkResponseError: ```
apex.message.alert( "Load complete." );
```
eventFetchOfflinePage: ```
apex.message.alert( "Load complete." );
```
eventFetchNetworkFallback: ```
apex.message.alert( "Load complete." );
```
syncMode: default
eventSync: ```
apex.message.alert( "Load complete." );
```
pushMode: default
eventPush: ```
apex.message.alert( "Load complete." );
```
eventPushBefore: ```
apex.message.alert( "Load complete." );
```
eventPushAfter: ```
apex.message.alert( "Load complete." );
```
notificationClickMode: default
eventNotificationClick: ```
apex.message.alert( "Load complete." );
```
evenNotificationClickBefore: ```
apex.message.alert( "Load complete." );
```
evenNotificationClickAfter: ```
apex.message.alert( "Load complete." );
```
notificationCloseMode: default
evenNotificationClose: ```
apex.message.alert( "Load complete." );
```
canMakePaymentMode: default
evenCanMakePayment: ```
apex.message.alert( "Load complete." );
```
paymentRequestMode: default
evenPaymentRequest: ```
apex.message.alert( "Load complete." );
```
}
rowSearch
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
tokenize | boolean | Yes | true | |
textQueryFunction | enum | No | enum=[searchEngine, expertSearch, custom] | |
customFunctionName | string | Yes | maxLen=500 | |
Applies when app.textQueryFunction = CUSTOM | ||||
rowSearch {
tokenize: false
textQueryFunction: searchEngine
customFunctionName: value
}
charValueComparison
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
mode | string | No | maxLen=255 | |
behavior | enum | No | enum=[binary, linguistic] |
charValueComparison {
mode: value
behavior: binary
}
reportPrinting
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | native | enum=[native, remote, useInstanceSettings] |
remotePrintServer | string | Yes | ||
Applies when app.type = REMOTE | ||||
credentials | string | No | ||
Applies when app.type = REMOTE | ||||
reportPrinting { type: native remotePrintServer: value credentials:@component}
fileStorage
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | database | enum=[database, objectStorage] |
fileServer | string | No | ||
Applies when app.type = OBJECT_STORE | ||||
fileStorage {
type: database
fileServer: value
}
errorHandling
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
defaultDisplayLocation | enum | Yes | inlineWithFieldAndInNotification | enum=[inlineWithFieldAndInNotification, inlineWithField, inlineInNotification] |
errorHandlingFunctionName | string | No | maxLen=255 |
errorHandling {
defaultDisplayLocation: inlineWithFieldAndInNotification
errorHandlingFunctionName: value
}
runtime
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
friendlyUrls | boolean | Yes | true | |
allowFeedback | boolean | Yes | false | |
logging | boolean | Yes | YES | |
debugging | boolean | Yes | 0 | |
compatibilityMode | enum | Yes | 26.1 | enum=[26.1, 24.2, 21.2, 19.2-20.1-20.2-21.1, 19.1, 5.1-18.1-18.2, 5.0, 4.2, 4.1, 4.0] |
accessibleReadOnlyItems | boolean | Yes | true |
runtime {
friendlyUrls: false
allowFeedback: false
logging: false
debugging: false
compatibilityMode: "26.1"
accessibleReadOnlyItems: false
}
staticFiles
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
appFilesPath | string | No | maxLen=255 | |
apexFilesPath | string | No | maxLen=255 |
staticFiles {
appFilesPath: value
apexFilesPath: value
}
proxy
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
proxyServer | string | No | maxLen=255 | |
noProxyDomains | string | No | maxLen=500 | |
Applies when app.proxyServer is set | ||||
proxy {
proxyServer: value
noProxyDomains: value
}
availability
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
status | enum | Yes | availableWithDevToolbar | enum=[available, availableWithDevToolbar, availableDevsOnly, restricted, unavailable, unavailableStatusShownWithPlsql, unavailableRedirectToUrl] |
message | multiline string | Yes | maxLen=4000 | |
Applies when app.status in (UNAVAILABLE, UNAVAILABLE_PLSQL, UNAVAILABLE_URL) | ||||
restrictUserList | array of multiline strings | Yes | maxLen=4000 | |
Applies when app.status = RESTRICTED_ACCESS | ||||
globalNotificationMessage | multiline string | No | maxLen=4000 | |
buildStatus | enum | Yes | runAndBuild | enum=[runOnly, runAndBuild] |
Applies when app.type in (STANDARD, PATTERN) | ||||
availability {
status: available
message: ```
Lorem ipsum dolor sit amet.
```
restrictUserList: [
value1
value2
]
globalNotificationMessage: ```
Lorem ipsum dolor sit amet.
```
buildStatus: runOnly
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
exactSubstitutions | boolean | Yes | true | |
passEcid | boolean | Yes | true | |
modernizeApp | boolean | Yes | false | |
emailFromAddress | string | No | maxLen=255 | |
copyrightBanner | multiline string | No | maxLen=4000 | |
faviconHtml | multiline string | No | maxLen=4000 | |
maxBackgroundPageProcessJobs | integer | No | maxLen=32767; min=0 | |
vacationRuleProcedureName | string | No | maxLen=500 | |
mediaType | string | No | maxLen=255 | |
opentelemetryProductFamily | string | No | maxLen=255 | |
appBuilderIconName | string | No | maxLen=255 |
advanced {
exactSubstitutions: false
passEcid: false
modernizeApp: false
emailFromAddress: value
copyrightBanner: ```
Lorem ipsum dolor sit amet.
```
faviconHtml: ```
Lorem ipsum dolor sit amet.
```
maxBackgroundPageProcessJobs: 5
vacationRuleProcedureName: value
mediaType: value
opentelemetryProductFamily: value
appBuilderIconName: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
app "example" ( name: exampleName alias: value version: value type: standard group: value genAI { service:@componentaiConsentMessage: ``` Lorem ipsum dolor sit amet. ``` requestHandlerProcedure: value responseHandlerProcedure: value } logo { type: image imageUrl: value text: text customHtml: ``` Lorem ipsum dolor sit amet. ``` } navigation { homeUrl: value loginUrl: value } navigationMenu { listTemplate:@componenttemplateOptions: [ value1 value2 ] listPosition: top list:@component} navigationBar { implementation: classic list: value listTemplate:@componenttemplateOptions: [ value1 value2 ] } userInterface { currentTheme:@componentglobalPage: 42 usersCanChooseThemeStyle: false addBuiltWithApexToFooter: false autoDismissSuccessMessages: false } appFormatMasks { date: value dateTime: value timestamp: value timestampTimeZone: value } javaScript { fileUrls: [ value1 value2 ] includeLegacyJavascript: [ pre18 "18" ] includeJqueryMigrate: false } css { fileUrls: [ value1 value2 ] } authentication { scheme: value configProcedureName: value publicUser: value } authorization { scheme:@componentrunOnPublicPages: false runOnBackgroundJob: false sourceForRoleOrGroupSchemes: accessControlUserRoleAssignments } security { deepLinking: true enableDictation: false browserCache: true embedInFrames: deny referrerPolicy: noReferrer htmlEscapingMode: basic httpResponseHeaders: ``` Lorem ipsum dolor sit amet. ``` runtimeApiUsage: [ modifyThisApp modifyOtherApps ] } sessionStateProtection { enabled: false allowUrlsCreatedAfter: value bookmarkHashFunction: sha1 checksumSalt: value acceptPre202UrlChecksums: false } sessionManagement { rejoinSessions: false sessionStateCommits: immediate maxSessionLength: 5 sessionTimeoutUrl: value maxSessionIdleTime: 5 sessionIdleTimeoutUrl: value sessionTimeoutWarning: 42 } databaseSession { parsingSchema: value mleEnvironment: value initPlsqlCode: ``` apex_debug.message('Processing APEXlang component'); apex_collection.create_or_truncate_collection( p_collection_name => 'EXAMPLE_ROWS' ); ``` cleanupPlsqlCode: ``` apex_debug.message('Processing APEXlang component'); apex_collection.create_or_truncate_collection( p_collection_name => 'EXAMPLE_ROWS' ); ``` } globalization { primaryLanguage: af documentDirection: leftToRight translationMethod: translationApps languageDerivedFrom: notTranslated autoTimeZone: false autoCsvEncoding: false } progressiveWebApp { enable: false installable: false display: fullscreen screenOrientation: any themeColor: value backgroundColor: value appDescription: ``` Lorem ipsum dolor sit amet. ``` appShortName: value customManifest: ``` Lorem ipsum dolor sit amet. ``` manifestIconUrl: value enablePushNotifications: false pushNotificationsCredentials:@componentcontactEmail: value } customServiceWorker { mode: default url: value functionVariableDeclarationMode: default functionVariableDeclaration: ``` apex.message.alert( "Load complete." ); ``` installMode: default eventInstall: ``` apex.message.alert( "Load complete." ); ``` eventInstallBefore: ``` apex.message.alert( "Load complete." ); ``` eventInstallAfter: ``` apex.message.alert( "Load complete." ); ``` activateMode: default eventActivate: ``` apex.message.alert( "Load complete." ); ``` eventActivateBefore: ``` apex.message.alert( "Load complete." ); ``` eventActivateAfter: ``` apex.message.alert( "Load complete." ); ``` fetchMode: default eventFetch: ``` apex.message.alert( "Load complete." ); ``` eventFetchBefore: ``` apex.message.alert( "Load complete." ); ``` eventFetchCacheDefinition: ``` apex.message.alert( "Load complete." ); ``` eventFetchCacheResponse: ``` apex.message.alert( "Load complete." ); ``` eventFetchNetworkResponseSuccess: ``` apex.message.alert( "Load complete." ); ``` eventFetchNetworkResponseError: ``` apex.message.alert( "Load complete." ); ``` eventFetchOfflinePage: ``` apex.message.alert( "Load complete." ); ``` eventFetchNetworkFallback: ``` apex.message.alert( "Load complete." ); ``` syncMode: default eventSync: ``` apex.message.alert( "Load complete." ); ``` pushMode: default eventPush: ``` apex.message.alert( "Load complete." ); ``` eventPushBefore: ``` apex.message.alert( "Load complete." ); ``` eventPushAfter: ``` apex.message.alert( "Load complete." ); ``` notificationClickMode: default eventNotificationClick: ``` apex.message.alert( "Load complete." ); ``` evenNotificationClickBefore: ``` apex.message.alert( "Load complete." ); ``` evenNotificationClickAfter: ``` apex.message.alert( "Load complete." ); ``` notificationCloseMode: default evenNotificationClose: ``` apex.message.alert( "Load complete." ); ``` canMakePaymentMode: default evenCanMakePayment: ``` apex.message.alert( "Load complete." ); ``` paymentRequestMode: default evenPaymentRequest: ``` apex.message.alert( "Load complete." ); ``` } rowSearch { tokenize: false textQueryFunction: searchEngine customFunctionName: value } charValueComparison { mode: value behavior: binary } reportPrinting { type: native remotePrintServer: value credentials:@component} fileStorage { type: database fileServer: value } errorHandling { defaultDisplayLocation: inlineWithFieldAndInNotification errorHandlingFunctionName: value } runtime { friendlyUrls: false allowFeedback: false logging: false debugging: false compatibilityMode: "26.1" accessibleReadOnlyItems: false } staticFiles { appFilesPath: value apexFilesPath: value } proxy { proxyServer: value noProxyDomains: value } availability { status: available message: ``` Lorem ipsum dolor sit amet. ``` restrictUserList: [ value1 value2 ] globalNotificationMessage: ``` Lorem ipsum dolor sit amet. ``` buildStatus: runOnly } advanced { exactSubstitutions: false passEcid: false modernizeApp: false emailFromAddress: value copyrightBanner: ``` Lorem ipsum dolor sit amet. ``` faviconHtml: ``` Lorem ipsum dolor sit amet. ``` maxBackgroundPageProcessJobs: 5 vacationRuleProcedureName: value mediaType: value opentelemetryProductFamily: value appBuilderIconName: value } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
aiAgent
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 |
genAI
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
service | string | No | ||
systemPrompt | multiline string | No | maxLen=32767 | |
welcomeMessage | multiline string | No | language=html; maxLen=32767 |
genAI { service:@componentsystemPrompt: ``` Lorem ipsum dolor sit amet. ``` welcomeMessage: ``` Lorem ipsum dolor sit amet. ``` }
responseFormat
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | text | enum=[text, jsonObject] |
jsonSchema | multiline string | Yes | language=json; maxLen=32767 | |
Applies when aiAgent.type = JSON_OBJECT | ||||
responseFormat {
type: text
jsonSchema: ```
{
"type": "object",
"properties": {
"status": { "type": "string" }
}
}
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
temperature | number | No | maxLen=22 | |
staticId | string | Yes | maxLen=255 |
advanced {
temperature: 42
staticId: value
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No |
subscription {
master: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
aiAgent "example" ( name: exampleName genAI { service:@componentsystemPrompt: ``` Lorem ipsum dolor sit amet. ``` welcomeMessage: ``` Lorem ipsum dolor sit amet. ``` } responseFormat { type: text jsonSchema: ``` { "type": "object", "properties": { "status": { "type": "string" } } } ``` } advanced { temperature: 42 staticId: value } subscription { master: value } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
tool
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=64; regex=/^[abcdefghijklmnopqrstuvwxyz][_abcdefghijklmnopqrstuvwxyz1234567890]*$/ | |
type | enum | Yes | enum=[executeClientsideCode, executeServersideCode, plugin/<pluginName>, retrieveData] | |
executionPoint | string | Yes | ||
description | multiline string | No | maxLen=4000 | |
Applies when tool.executionPoint = ON_DEMAND | ||||
userApproval
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
requiresConfirmation | boolean | Yes | false | |
Applies when tool.executionPoint = ON_DEMAND | ||||
title | string | No | maxLen=255 | |
Applies when tool.requiresConfirmation = Y | ||||
message | multiline string | Yes | maxLen=4000 | |
Applies when tool.requiresConfirmation = Y | ||||
confirmLabel | string | No | maxLen=255 | |
Applies when tool.requiresConfirmation = Y | ||||
cancelLabel | string | No | maxLen=255 | |
Applies when tool.requiresConfirmation = Y | ||||
userApproval {
requiresConfirmation: false
title: "Page title"
message: ```
Lorem ipsum dolor sit amet.
```
confirmLabel: value
cancelLabel: value
}
notification
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
message | multiline string | No | maxLen=4000 | |
Applies when tool.executionPoint = ON_DEMAND | ||||
type | enum | No | enum=[info, success] | |
Applies when tool.message is set | ||||
notification {
message: ```
Lorem ipsum dolor sit amet.
```
type: info
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[anyUserPromptContains, lastUserPromptContains, rowsReturned, noRowsReturned, expression, functionBody, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when tool.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when tool.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when tool.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when tool.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when tool.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when tool.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when tool.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when tool.language = JAVASCRIPT | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when tool.type in (ANY_AI_USER_PROMPT_CONTAINS, LAST_AI_USER_PROMPT_CONTAINS) | ||||
serverSideCondition {
type: anyUserPromptContains
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No |
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
tool "example" ( name: exampleName type: staticContent executionPoint: value description: ``` Lorem ipsum dolor sit amet. ``` userApproval { requiresConfirmation: false title: "Page title" message: ``` Lorem ipsum dolor sit amet. ``` confirmLabel: value cancelLabel: value } notification { message: ``` Lorem ipsum dolor sit amet. ``` type: info } advanced { staticId: value } serverSideCondition { type: anyUserPromptContains sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` list: [ value1 value2 ] } security { authorizationScheme:@component} config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
parameter
tool.executionPoint = ON_DEMAND and tool.type supports PARAMETERS_DEFINED_BY_TOOL| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=30 | |
description | multiline string | No | maxLen=4000 |
value
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
dataType | enum | Yes | varchar2 | enum=[varchar2, clob, number, boolean] |
value {
dataType: varchar2
}
validation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
required | boolean | Yes | true | |
allowedValues | multiline string | No | language=json; maxLen=4000 | |
Applies when parameter.dataType in (VARCHAR2, NUMBER) | ||||
validation {
required: false
allowedValues: ```
{
"type": "object",
"properties": {
"status": { "type": "string" }
}
}
```
}
APEXlang Example
parameter "example" (
name: exampleName
description: ```
Lorem ipsum dolor sit amet.
```
value {
dataType: varchar2
}
validation {
required: false
allowedValues: ```
{
"type": "object",
"properties": {
"status": { "type": "string" }
}
}
```
}
)
appComputation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
itemName | string | Yes | maxLen=255 |
execution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 | |
point | enum | Yes | newSession | enum=[newSession, afterAuthentication, beforeHeader, afterHeader, beforeRegions, afterRegions, beforeFooter, afterFooter, afterSubmit] |
execution {
sequence: 42
point: newSession
}
computation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | staticValue | enum=[staticValue, item, sqlQuerySingleValue, sqlQueryMultipleValues, expression, functionBody, preference] |
staticValue | string | No | maxLen=4000 | |
Applies when appComputation.type = STATIC_ASSIGNMENT | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when appComputation.type = QUERY | ||||
computationProcessed | enum | No | enum=[newSession, replaceExisting, addToExisting, raiseErrorOnReplace, replaceNullValues] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when appComputation.type = QUERY_COLON | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when appComputation.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when appComputation.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when appComputation.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when appComputation.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when appComputation.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when appComputation.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when appComputation.language = JAVASCRIPT | ||||
itemName | string | Yes | maxLen=4000 | |
Applies when appComputation.type = ITEM_VALUE | ||||
preference | string | Yes | maxLen=4000 | |
Applies when appComputation.type = SET_ITEM_EQUAL_THIS_PREFERENCE | ||||
computation {
type: staticValue
staticValue: value
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
computationProcessed: newSession
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
itemName: value
preference: value
}
error
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
errorMessage | multiline string | No | maxLen=4000 |
error {
errorMessage: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when appComputation.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when appComputation.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when appComputation.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when appComputation.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when appComputation.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when appComputation.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when appComputation.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when appComputation.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when appComputation.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when appComputation.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when appComputation.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when appComputation.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when appComputation.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when appComputation.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when appComputation.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when appComputation.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when appComputation.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when appComputation.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No |
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No |
subscription {
master: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
appComputation "example" ( itemName: value execution { sequence: 42 point: newSession } computation { type: staticValue staticValue: value sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` computationProcessed: newSession language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` itemName: value preference: value } error { errorMessage: ``` Lorem ipsum dolor sit amet. ``` } advanced { staticId: value } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@component} config { buildOption:@component} subscription { master: value } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
appItem
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
scope | enum | Yes | app | enum=[app, global] |
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sessionStateDataType | enum | Yes | varchar | enum=[number, varchar] |
sessionStateProtection | enum | Yes | restricted | enum=[unrestricted, checksumRequiredAppLevel, checksumRequiredUserLevel, checksumRequiredSessionLevel, restricted] |
escapeSpecialChars | boolean | Yes | true |
security {
sessionStateDataType: number
sessionStateProtection: unrestricted
escapeSpecialChars: false
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No |
subscription {
master: value
}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
appItem "example" ( name: exampleName scope: app security { sessionStateDataType: number sessionStateProtection: unrestricted escapeSpecialChars: false } subscription { master: value } config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
appProcess
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
type | enum | Yes | enum=[autoRowFetch, autoRowProcessing, clearSessionState, closeDialog, dataLoading, download, executeCode, executionChain, formAutoRowProcessing, formInitialization, formPagination, generateTextWithAi, humanTaskCreate, humanTaskManage, interactiveGridAutoRowProcessing, invokeApi, invokeWorkflow, legacyAutoRowProcessing, legacyWebService, loadUploadedData, parallelFlow, parseUploadedData, plugin/<pluginName>, prepareUploadedData, printReport, resetPagination, sendEMail, sendPushNotification, serverSideGeocoding, switch, tabformAddRows, tabformDelete, tabformUpdate, userPreferences, wait, webService, workflow, workflowEnd, workflowStart] |
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
location | enum | Yes | localDatabase | enum=[localDatabase, restEnabledSql] |
Applies when appProcess.type = plsql | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when appProcess.location = LOCAL | ||||
plsqlCode | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when appProcess.language = PLSQL | ||||
javaScriptCode | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when appProcess.language = JAVASCRIPT | ||||
remoteServer | string | Yes | ||
Applies when appProcess.location = REMOTE | ||||
plsqlCode | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when appProcess.location = REMOTE | ||||
source { location: localDatabase language: plsql plsqlCode: ``` apex_debug.message('Processing APEXlang component'); apex_collection.create_or_truncate_collection( p_collection_name => 'EXAMPLE_ROWS' ); ``` javaScriptCode: ``` apex.message.alert( "Load complete." ); ``` remoteServer:@component}
execution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 | |
point | enum | Yes | beforeHeader | enum=[afterAuthentication, newSession, beforeHeader, afterHeader, beforeRegions, afterRegions, beforeFooter, afterFooter, afterSubmit, processing, ajaxCallback] |
execution {
sequence: 42
point: afterAuthentication
}
error
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
errorMessage | multiline string | No | maxLen=4000 | |
displayLocation | enum | Yes | inlineInNotification | enum=[inlineInNotification, onErrorPage] |
Applies when appProcess.point in (ON_SUBMIT_BEFORE_COMPUTATION, AFTER_SUBMIT) | ||||
error {
errorMessage: ```
Lorem ipsum dolor sit amet.
```
displayLocation: inlineInNotification
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when appProcess.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when appProcess.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when appProcess.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when appProcess.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when appProcess.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when appProcess.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when appProcess.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when appProcess.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when appProcess.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when appProcess.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when appProcess.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when appProcess.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when appProcess.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when appProcess.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when appProcess.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when appProcess.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when appProcess.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when appProcess.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No |
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No |
subscription {
master: value
}
APEXlang Example
appProcess "example" ( name: exampleName type: staticContent source { location: localDatabase language: plsql plsqlCode: ``` apex_debug.message('Processing APEXlang component'); apex_collection.create_or_truncate_collection( p_collection_name => 'EXAMPLE_ROWS' ); ``` javaScriptCode: ``` apex.message.alert( "Load complete." ); ``` remoteServer:@component} execution { sequence: 42 point: afterAuthentication } error { errorMessage: ``` Lorem ipsum dolor sit amet. ``` displayLocation: inlineInNotification } advanced { staticId: value } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@component} config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } subscription { master: value } )
appSetting
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
value
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticValue | multiline string | No | maxLen=4000 | |
onUpgradeKeepValue | boolean | Yes | false |
value {
staticValue: ```
Lorem ipsum dolor sit amet.
```
onUpgradeKeepValue: false
}
validation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
required | boolean | Yes | false | |
validValues | string | No | maxLen=4000 |
validation {
required: false
validValues: unique-id
}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No |
subscription {
master: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
appSetting "example" ( staticId: value value { staticValue: ``` Lorem ipsum dolor sit amet. ``` onUpgradeKeepValue: false } validation { required: false validValues: unique-id } config { buildOption:@component} subscription { master: value } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
authentication
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
type | enum | Yes | enum=[custom, databaseAccounts, httpHeaderVariable, internalAppExtension, ldapDirectory, noAuth, openDoorCredentials, oracleApexAccounts, oracleAppServerSSO, plugin/<pluginName>, samlSignIn, socialSignIn] |
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
plsqlCode | multiline string | No | language=plsql; maxLen=32767 |
source {
plsqlCode: ```
apex_debug.message('Processing APEXlang component');
apex_collection.create_or_truncate_collection(
p_collection_name => 'EXAMPLE_ROWS'
);
```
}
sessionNotValid
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
verifyFunctionName | string | No | maxLen=255 | |
redirectTo | enum | Yes | loginPage | enum=[loginPage, builtInLoginPage, url] |
Applies when authentication.type supports INVALID_SESSION | ||||
invalidSessionUrl | complex | No | maxLen=4000 | |
Applies when authentication.redirectTo = URL | ||||
sessionNotValid {
verifyFunctionName: value
redirectTo: loginPage
invalidSessionUrl: unique-id
}
loginProcessing
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
preAuthenticationProcedureName | string | No | maxLen=255 | |
postAuthenticationProcedureName | string | No | maxLen=255 | |
switchInSession | boolean | Yes | false |
loginProcessing {
preAuthenticationProcedureName: value
postAuthenticationProcedureName: value
switchInSession: false
}
postLogout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
redirectTo | enum | Yes | homePage | enum=[homePage, url] |
url | string | Yes | maxLen=4000 | |
Applies when authentication.redirectTo = URL | ||||
postLogout {
redirectTo: homePage
url: value
}
sessionSharing
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | app | enum=[app, workspaceSharing, custom] |
cookieName | string | No | maxLen=255 | |
Applies when authentication.type = C | ||||
cookiePath | string | No | maxLen=255 | |
Applies when authentication.type = C | ||||
cookieDomain | string | No | maxLen=255 | |
Applies when authentication.type = C | ||||
secure | boolean | Yes | false | |
Applies when authentication.type = C | ||||
sessionSharing {
type: app
cookieName: value
cookiePath: value
cookieDomain: value
secure: false
}
realAppSecurity
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
rasMode | enum | Yes | disabled | enum=[disabled, externalUsers, internalUsers] |
dynamicRoles | string | No | maxLen=4000 | |
Applies when authentication.rasMode in (1, 2) | ||||
namespaces | string | No | maxLen=4000 | |
Applies when authentication.rasMode in (1, 2) | ||||
realAppSecurity {
rasMode: disabled
dynamicRoles: value
namespaces: exampleName
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
help
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
helpText | multiline string | No | language=html; maxLen=4000 |
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No |
subscription {
master: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
authentication "example" (
name: exampleName
type: staticContent
source {
plsqlCode: ```
apex_debug.message('Processing APEXlang component');
apex_collection.create_or_truncate_collection(
p_collection_name => 'EXAMPLE_ROWS'
);
```
}
sessionNotValid {
verifyFunctionName: value
redirectTo: loginPage
invalidSessionUrl: unique-id
}
loginProcessing {
preAuthenticationProcedureName: value
postAuthenticationProcedureName: value
switchInSession: false
}
postLogout {
redirectTo: homePage
url: value
}
sessionSharing {
type: app
cookieName: value
cookiePath: value
cookieDomain: value
secure: false
}
realAppSecurity {
rasMode: disabled
dynamicRoles: value
namespaces: exampleName
}
advanced {
staticId: value
}
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
subscription {
master: value
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
authorization
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
type | enum | Yes | enum=[existsSqlQuery, isInRoleOrGroup, isNotInRoleOrGroup, itemEqualsValue, itemIsNotNull, itemIsNull, itemNotEqualsValue, notExistsSqlQuery, plSqlFunctionBody, plugin/<pluginName>, preferenceEqualsValue, preferenceNotEqualsValue] |
error
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
errorMessage | multiline string | No | maxLen=4000 |
error {
errorMessage: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
evaluationType | enum | Yes | perPageView | enum=[perSession, perPageView, perComponent, always] |
staticId | string | Yes | maxLen=255 |
advanced {
evaluationType: perSession
staticId: value
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No |
subscription {
master: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
authorization "example" (
name: exampleName
type: staticContent
error {
errorMessage: ```
Lorem ipsum dolor sit amet.
```
}
advanced {
evaluationType: perSession
staticId: value
}
subscription {
master: value
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
automation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 |
execution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | scheduled | enum=[onDemand, scheduled] |
scheduleExpression | multiline string | Yes | maxLen=255 | |
Applies when automation.type = POLLING | ||||
scheduleStatus | enum | Yes | disabled | enum=[active, disabled, error] |
Applies when automation.type = POLLING | ||||
actionsInitiatedOn | enum | Yes | rowsReturned | enum=[rowsReturned, noRowsReturned, functionBodyReturningBoolean, always] |
execution {
type: onDemand
scheduleExpression: ```
Lorem ipsum dolor sit amet.
```
scheduleStatus: active
actionsInitiatedOn: rowsReturned
}
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
location | enum | Yes | localDatabase | enum=[localDatabase, restEnabledSql, restSource, jsonDualityView, jsonSource, sampleData] |
Applies when automation.actionsInitiatedOn in (ROWS, NO_ROWS) | ||||
location | enum | Yes | localDatabase | enum=[localDatabase, restEnabledSql] |
Applies when automation.actionsInitiatedOn = FUNC_BODY_RETURNING_BOOLEAN | ||||
remoteServer | string | Yes | ||
Applies when condition matches or condition matches | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when automation.actionsInitiatedOn = FUNC_BODY_RETURNING_BOOLEAN | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when automation.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when automation.language = JAVASCRIPT | ||||
sampleData | enum | Yes | enum=[employees, tasks, products, projects] | |
Applies when automation.location = SAMPLE_DATA | ||||
type | string | Yes | TABLE | |
Applies when automation.location in (LOCAL, REMOTE) | ||||
tableOwner | string | No | maxLen=32767 | |
Applies when automation.type = TABLE | ||||
tableName | string | Yes | maxLen=128 | |
Applies when automation.type = TABLE | ||||
includeRowidColumn | boolean | Yes | false | |
Applies when automation.type = TABLE and automation.remoteServer supports IS_ORACLE or not set | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when automation.type = TABLE | ||||
graphOwner | string | No | maxLen=32767 | |
Applies when automation.type = GRAPH | ||||
graphName | string | Yes | maxLen=32767 | |
Applies when automation.type = GRAPH | ||||
matchClause | multiline string | Yes | maxLen=4000 | |
Applies when automation.type = GRAPH | ||||
columnsClause | multiline string | Yes | maxLen=4000 | |
Applies when automation.type = GRAPH | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when automation.type = GRAPH | ||||
orderByClause | multiline string | No | language=sql; maxLen=255 | |
Applies when automation.type = TABLE | ||||
orderByClause | multiline string | No | language=sql; maxLen=255 | |
Applies when automation.type = GRAPH | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=32767 | |
Applies when automation.type = SQL | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when automation.type = FUNC_BODY_RETURNING_SQL | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when automation.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when automation.language = JAVASCRIPT | ||||
restSource | string | Yes | ||
Applies when automation.location = WEB_SOURCE | ||||
jsonDualityView | string | Yes | ||
Applies when automation.location = DUALITY_VIEW | ||||
jsonSource | string | Yes | ||
Applies when automation.location = JSON_COLLECTION | ||||
optimizerHint | string | No | maxLen=255 | |
Applies when automation.location in (LOCAL, REMOTE, WEB_SOURCE, DUALITY_VIEW, JSON_COLLECTION) | ||||
source { location: localDatabase remoteServer:@componentlanguage: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` sampleData: employees type: value tableOwner: value tableName: value includeRowidColumn: false whereClause: ``` status = 'ACTIVE' ``` graphOwner: value graphName: value matchClause: ``` Lorem ipsum dolor sit amet. ``` columnsClause: ``` Lorem ipsum dolor sit amet. ``` orderByClause: ``` created_on desc ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` restSource:@componentjsonDualityView:@componentjsonSource:@componentoptimizerHint: value }
dataProfile
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
nestedRows | string | No | ||
Applies when automation.restSource supports HAS_ARRAY_COLUMNS | ||||
nestedRows | string | No | ||
Applies when automation.jsonDualityView supports HAS_ARRAY_COLUMNS | ||||
nestedRows | string | No | ||
Applies when automation.jsonSource supports HAS_ARRAY_COLUMNS | ||||
dataProfile { nestedRows:@component}
restSynchronization
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
useLocalTable | boolean | Yes | false | |
Applies when automation.restSource supports HAS_SYNC_HAS_NO_ARRAY_COLUMNS or condition matches or automation.nestedRows supports IS_SYNCED | ||||
restSynchronization {
useLocalTable: false
}
externalFilterAndOrderBy
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
enabled | boolean | Yes | false | |
Applies when automation.restSource is set and automation.useLocalTable in (N, $NULL$) or not set | ||||
filter | multiline string | No | maxLen=4000 | |
Applies when automation.enabled = Y | ||||
orderBy | multiline string | No | maxLen=255 | |
Applies when automation.enabled = Y | ||||
externalFilterAndOrderBy {
enabled: false
filter: ```
Lorem ipsum dolor sit amet.
```
orderBy: ```
Lorem ipsum dolor sit amet.
```
}
localPostProcessing
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[whereOrderByClause, sqlQuery, plsqlFunctionBody] | |
Applies when automation.restSource is set | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when automation.type = WHERE_ORDER_BY_CLAUSE | ||||
orderByClause | multiline string | No | language=sql; maxLen=255 | |
Applies when automation.type = WHERE_ORDER_BY_CLAUSE | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=32767 | |
Applies when automation.type = SQL | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when automation.type = FUNC_BODY_RETURNING_SQL | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when automation.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when automation.language = JAVASCRIPT | ||||
type | enum | No | enum=[whereOrderByClause, sqlQuery, plsqlFunctionBody] | |
Applies when automation.jsonDualityView is set | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when automation.type = WHERE_ORDER_BY_CLAUSE | ||||
orderByClause | multiline string | No | language=sql; maxLen=255 | |
Applies when automation.type = WHERE_ORDER_BY_CLAUSE | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=32767 | |
Applies when automation.type = SQL | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when automation.type = FUNC_BODY_RETURNING_SQL | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when automation.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when automation.language = JAVASCRIPT | ||||
type | enum | No | enum=[whereOrderByClause, sqlQuery, plsqlFunctionBody] | |
Applies when automation.jsonSource is set | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when automation.type = WHERE_ORDER_BY_CLAUSE | ||||
orderByClause | multiline string | No | language=sql; maxLen=255 | |
Applies when automation.type = WHERE_ORDER_BY_CLAUSE | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=32767 | |
Applies when automation.type = SQL | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when automation.type = FUNC_BODY_RETURNING_SQL | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when automation.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when automation.language = JAVASCRIPT | ||||
localPostProcessing {
type: whereOrderByClause
whereClause: ```
status = 'ACTIVE'
```
orderByClause: ```
created_on desc
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: plsql
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
}
columnMapping
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
primaryKeyColumn | string | No | maxLen=32767 | |
Applies when automation.actionsInitiatedOn = ROWS | ||||
columnMapping {
primaryKeyColumn: value
}
actionExecution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
commit | enum | Yes | once | enum=[once, eachRow] |
Applies when automation.actionsInitiatedOn = ROWS | ||||
maxRowsToProcess | integer | No | maxLen=32767; min=1 | |
Applies when automation.actionsInitiatedOn = ROWS | ||||
actionErrorHandling | enum | Yes | ignore | enum=[ignore, terminate, disable] |
actionExecution {
commit: once
maxRowsToProcess: 5
actionErrorHandling: ignore
}
additionalCodeExecution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
plsqlCode | multiline string | No | language=plsql; maxLen=32767 | |
initProcedureName | string | No | maxLen=255 | |
beforeRowProcessingProcedureName | string | No | maxLen=255 | |
cleanupProcedureName | string | No | maxLen=255 |
additionalCodeExecution {
plsqlCode: ```
apex_debug.message('Processing APEXlang component');
apex_collection.create_or_truncate_collection(
p_collection_name => 'EXAMPLE_ROWS'
);
```
initProcedureName: value
beforeRowProcessingProcedureName: value
cleanupProcedureName: value
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[rowsReturned, noRowsReturned, expression, functionBody, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when automation.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when automation.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when automation.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when automation.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when automation.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when automation.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when automation.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when automation.language = JAVASCRIPT | ||||
serverSideCondition {
type: rowsReturned
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
automation "example" ( name: exampleName execution { type: onDemand scheduleExpression: ``` Lorem ipsum dolor sit amet. ``` scheduleStatus: active actionsInitiatedOn: rowsReturned } source { location: localDatabase remoteServer:@componentlanguage: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` sampleData: employees type: value tableOwner: value tableName: value includeRowidColumn: false whereClause: ``` status = 'ACTIVE' ``` graphOwner: value graphName: value matchClause: ``` Lorem ipsum dolor sit amet. ``` columnsClause: ``` Lorem ipsum dolor sit amet. ``` orderByClause: ``` created_on desc ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` restSource:@componentjsonDualityView:@componentjsonSource:@componentoptimizerHint: value } dataProfile { nestedRows:@component} restSynchronization { useLocalTable: false } externalFilterAndOrderBy { enabled: false filter: ``` Lorem ipsum dolor sit amet. ``` orderBy: ``` Lorem ipsum dolor sit amet. ``` } localPostProcessing { type: whereOrderByClause whereClause: ``` status = 'ACTIVE' ``` orderByClause: ``` created_on desc ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` } columnMapping { primaryKeyColumn: value } actionExecution { commit: once maxRowsToProcess: 5 actionErrorHandling: ignore } additionalCodeExecution { plsqlCode: ``` apex_debug.message('Processing APEXlang component'); apex_collection.create_or_truncate_collection( p_collection_name => 'EXAMPLE_ROWS' ); ``` initProcedureName: value beforeRowProcessingProcedureName: value cleanupProcedureName: value } advanced { staticId: value } serverSideCondition { type: rowsReturned sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` } config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
action
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
type | enum | Yes | enum=[autoRowFetch, autoRowProcessing, clearSessionState, closeDialog, dataLoading, download, executeCode, executionChain, formAutoRowProcessing, formInitialization, formPagination, generateTextWithAi, humanTaskCreate, humanTaskManage, interactiveGridAutoRowProcessing, invokeApi, invokeWorkflow, legacyAutoRowProcessing, legacyWebService, loadUploadedData, parallelFlow, parseUploadedData, plugin/<pluginName>, prepareUploadedData, printReport, resetPagination, sendEMail, sendPushNotification, serverSideGeocoding, switch, tabformAddRows, tabformDelete, tabformUpdate, userPreferences, wait, webService, workflow, workflowEnd, workflowStart] |
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
location | enum | Yes | localDatabase | enum=[localDatabase, restEnabledSql] |
Applies when action.type = plsql | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when action.location = LOCAL | ||||
plsqlCode | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when action.language = PLSQL | ||||
javaScriptCode | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when action.language = JAVASCRIPT | ||||
remoteServer | string | Yes | ||
Applies when action.location = REMOTE | ||||
plsqlCode | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when action.location = REMOTE | ||||
source { location: localDatabase language: plsql plsqlCode: ``` apex_debug.message('Processing APEXlang component'); apex_collection.create_or_truncate_collection( p_collection_name => 'EXAMPLE_ROWS' ); ``` javaScriptCode: ``` apex.message.alert( "Load complete." ); ``` remoteServer:@component}
execution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 |
execution {
sequence: 42
}
error
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
errorMessage | multiline string | No | maxLen=4000 | |
stopExecutionOnError | boolean | Yes | true |
error {
errorMessage: ```
Lorem ipsum dolor sit amet.
```
stopExecutionOnError: false
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[rowsReturned, noRowsReturned, expression, functionBody, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when action.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when action.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when action.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when action.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when action.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when action.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when action.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when action.language = JAVASCRIPT | ||||
item | string | Yes | maxLen=4000 | |
Applies when action.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
text | string | Yes | maxLen=4000 | |
Applies when action.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when action.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when action.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when action.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when action.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
executeCondition | enum | Yes | forEachRow | enum=[forEachRow, once] |
Applies when action.type is set and action.type NOT_EQUALS NEVER | ||||
serverSideCondition {
type: rowsReturned
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
item: value
text: text
value: value
list: [
value1
value2
]
executeCondition: forEachRow
}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
action "example" ( name: exampleName type: staticContent source { location: localDatabase language: plsql plsqlCode: ``` apex_debug.message('Processing APEXlang component'); apex_collection.create_or_truncate_collection( p_collection_name => 'EXAMPLE_ROWS' ); ``` javaScriptCode: ``` apex.message.alert( "Load complete." ); ``` remoteServer:@component} execution { sequence: 42 } error { errorMessage: ``` Lorem ipsum dolor sit amet. ``` stopExecutionOnError: false } advanced { staticId: value } serverSideCondition { type: rowsReturned sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` item: value text: text value: value list: [ value1 value2 ] executeCondition: forEachRow } config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
parameter
automation.restSource is set and automation.useLocalTable = N or not set| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes |
value
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | enum=[staticValue, restSourceDefault, item, sqlQuery, expression, functionBody, collectionClob, preference, null] | |
staticValue | multiline string | Yes | maxLen=4000 | |
Applies when parameter.type = STATIC and parameter.name NOT_FEATURES BOOLEAN_PARAMETER | ||||
staticValue | enum | Yes | enum=[true, false] | |
Applies when parameter.type = STATIC and parameter.name supports BOOLEAN_PARAMETER | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.type = SQL_QUERY | ||||
item | string | Yes | maxLen=255 | |
Applies when parameter.type = ITEM | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when parameter.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when parameter.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
preference | string | Yes | maxLen=255 | |
Applies when parameter.type = PREFERENCE | ||||
name | string | Yes | maxLen=255 | |
Applies when parameter.type = COLLECTION | ||||
formatMask | string | No | maxLen=255 | |
Applies when parameter.name supports NUMBER_PARAMETER, DATE_PARAMETER, TIMESTAMP_PARAMETER, TIMESTAMP_TZ_PARAMETER and parameter.type in (STATIC, ITEM, PREFERENCE) | ||||
trueValue | string | No | maxLen=10 | |
Applies when parameter.name supports BOOLEAN_PARAMETER and parameter.type in (ITEM, PREFERENCE) | ||||
falseValue | string | No | maxLen=10 | |
Applies when parameter.name supports BOOLEAN_PARAMETER and parameter.type in (ITEM, PREFERENCE) | ||||
value {
type: staticValue
staticValue: ```
Lorem ipsum dolor sit amet.
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
item: value
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
preference: value
name: exampleName
formatMask: value
trueValue: value
falseValue: value
}
APEXlang Example
parameter "example" ( name:@componentvalue { type: staticValue staticValue: ``` Lorem ipsum dolor sit amet. ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` item: value language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` preference: value name: exampleName formatMask: value trueValue: value falseValue: value } )
breadcrumb
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 |
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
breadcrumb "example" (
name: exampleName
advanced {
staticId: value
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
entry
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
pageNumber | integer | Yes | maxLen=20 |
execution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 |
execution {
sequence: 42
}
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
parentEntry | string | No | ||
longName | string | No | maxLen=4000 |
appearance { parentEntry:@componentlongName: value }
link
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
target | complex | No | maxLen=32767 |
link {
target: value
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when entry.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when entry.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when entry.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when entry.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when entry.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when entry.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when entry.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when entry.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when entry.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when entry.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when entry.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when entry.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when entry.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when entry.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when entry.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when entry.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when entry.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when entry.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No |
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
entry "example" ( name: exampleName pageNumber: 42 execution { sequence: 42 } appearance { parentEntry:@componentlongName: value } link { target: value } advanced { staticId: value } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@component} config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
buildOption
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 |
status
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
status | enum | Yes | exclude | enum=[include, exclude] |
defaultOnExport | enum | No | enum=[exclude, include] | |
onUpgradeKeepStatus | boolean | Yes | false |
status {
status: include
defaultOnExport: exclude
onUpgradeKeepStatus: false
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
featureIdentifier | string | No | maxLen=4000 |
advanced {
staticId: value
featureIdentifier: value
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No |
subscription {
master: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
buildOption "example" (
name: exampleName
status {
status: include
defaultOnExport: exclude
onUpgradeKeepStatus: false
}
advanced {
staticId: value
featureIdentifier: value
}
subscription {
master: value
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
classicNavigationBarEntry
label
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
label | string | Yes | maxLen=4000 |
label {
label: label
}
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 | |
beginsOnNewLine | boolean | Yes | NO | |
cellColumnSpan | integer | Yes | 1 | maxLen=255; min=1 |
layout {
sequence: 42
beginsOnNewLine: false
cellColumnSpan: 42
}
icon
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
imageIconCssClasses | string | No | maxLen=255 | |
altAttribute | string | No | maxLen=4000 | |
Applies when classicNavigationBarEntry.imageIconCssClasses is set | ||||
height | integer | No | maxLen=255; min=1 | |
width | integer | No | maxLen=255; min=1 | |
icon {
imageIconCssClasses: value
altAttribute: value
height: 300
width: 400
}
link
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
target | complex | Yes | maxLen=32767 |
link {
target: value
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
feedbackEntry | boolean | Yes | false | |
staticId | string | Yes | maxLen=255 |
advanced {
feedbackEntry: false
staticId: value
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when classicNavigationBarEntry.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when classicNavigationBarEntry.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when classicNavigationBarEntry.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when classicNavigationBarEntry.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when classicNavigationBarEntry.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when classicNavigationBarEntry.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when classicNavigationBarEntry.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when classicNavigationBarEntry.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when classicNavigationBarEntry.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when classicNavigationBarEntry.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when classicNavigationBarEntry.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when classicNavigationBarEntry.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when classicNavigationBarEntry.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when classicNavigationBarEntry.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when classicNavigationBarEntry.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when classicNavigationBarEntry.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when classicNavigationBarEntry.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when classicNavigationBarEntry.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No |
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No |
subscription {
master: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
classicNavigationBarEntry "example" ( label { label: label } layout { sequence: 42 beginsOnNewLine: false cellColumnSpan: 42 } icon { imageIconCssClasses: value altAttribute: value height: 300 width: 400 } link { target: value } advanced { feedbackEntry: false staticId: value } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@component} config { buildOption:@component} subscription { master: value } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
componentGroup
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
staticId | string | Yes | maxLen=255 |
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No |
subscription {
master: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
componentGroup "example" (
name: exampleName
staticId: value
subscription {
master: value
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
component
component
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | enum=[accessControlRole, appComputation, appItem, appProcess, appSetting, authentication, authorization, buildOption, dataLoadDefinition, jsonDualityView, emailTemplate, aiAgent, jsonSource, list, lov, mapBackground, plugin, componentSetting, reportLayout, restDataSource, searchConfig, shortcut, textMessage] | |
appItem | string | Yes | ||
Applies when component.type = APP_ITEM | ||||
appProcess | string | Yes | ||
Applies when component.type = APP_PROCESS | ||||
appComputation | string | Yes | ||
Applies when component.type = APP_COMPUTATION | ||||
appSetting | string | Yes | ||
Applies when component.type = APP_SETTING | ||||
buildOption | string | Yes | ||
Applies when component.type = BUILD_OPTION | ||||
list | string | Yes | ||
Applies when component.type = LIST | ||||
searchConfig | string | Yes | ||
Applies when component.type = SEARCH_CONFIG | ||||
dataLoadDefinition | string | Yes | ||
Applies when component.type = DATA_LOAD | ||||
jsonDualityView | string | Yes | ||
Applies when component.type = DUALITY_VIEW | ||||
jsonSource | string | Yes | ||
Applies when component.type = JSON_SOURCE | ||||
restDataSource | string | Yes | ||
Applies when component.type = WEB_SOURCE | ||||
authenticationScheme | string | Yes | ||
Applies when component.type = AUTHENTICATION | ||||
authorizationScheme | string | Yes | ||
Applies when component.type = AUTHORIZATION | ||||
appAccessControlRole | string | Yes | ||
Applies when component.type = APP_ACL | ||||
emailTemplate | string | Yes | ||
Applies when component.type = EMAIL_TEMPLATE | ||||
lov | string | Yes | ||
Applies when component.type = LOV | ||||
plugIn | string | Yes | ||
Applies when component.type = PLUGIN | ||||
componentSettings | string | Yes | ||
Applies when component.type = PLUGIN_SETTINGS | ||||
shortcut | string | Yes | ||
Applies when component.type = SHORTCUT | ||||
mapBackground | string | Yes | ||
Applies when component.type = MAP_BACKGROUND | ||||
reportLayout | string | Yes | ||
Applies when component.type = REPORT_LAYOUT | ||||
textMessage | string | Yes | ||
Applies when component.type = MESSAGE | ||||
aiAgent | string | Yes | ||
Applies when component.type = AI_AGENT | ||||
component { type: accessControlRole appItem:@componentappProcess:@componentappComputation:@componentappSetting:@componentbuildOption:@componentlist:@componentsearchConfig:@componentdataLoadDefinition:@componentjsonDualityView:@componentjsonSource:@componentrestDataSource:@componentauthenticationScheme:@componentauthorizationScheme:@componentappAccessControlRole:@componentemailTemplate:@componentlov:@componentplugIn:@componentcomponentSettings:@componentshortcut:@componentmapBackground:@componentreportLayout:@componenttextMessage:@componentaiAgent:@component}
APEXlang Example
component "example" ( component { type: accessControlRole appItem:@componentappProcess:@componentappComputation:@componentappSetting:@componentbuildOption:@componentlist:@componentsearchConfig:@componentdataLoadDefinition:@componentjsonDualityView:@componentjsonSource:@componentrestDataSource:@componentauthenticationScheme:@componentauthorizationScheme:@componentappAccessControlRole:@componentemailTemplate:@componentlov:@componentplugIn:@componentcomponentSettings:@componentshortcut:@componentmapBackground:@componentreportLayout:@componenttextMessage:@componentaiAgent:@component} )
componentSetting
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | enum=[item, region, dynamicAction, genAITool, process, authenticationScheme, authorizationScheme, restDataSource] | |
name | string | Yes |
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No |
subscription {
master: value
}
APEXlang Example
componentSetting "example" (
type: item
name: staticContent
subscription {
master: value
}
)
concatenatedFile
files
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
concatenatedFileUrl | string | Yes | maxLen=255 | |
singleFileUrls | multiline string | Yes | maxLen=4000 |
files {
concatenatedFileUrl: value
singleFileUrls: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
onlyForPage | integer | No | maxLen=10 |
advanced {
onlyForPage: 42
}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
APEXlang Example
concatenatedFile "example" ( files { concatenatedFileUrl: value singleFileUrls: ``` Lorem ipsum dolor sit amet. ``` } advanced { onlyForPage: 42 } config { buildOption:@component} )
dataLoadDefinition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 |
dataProfile
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
format | enum | Yes | json | enum=[csv, json, xlsx, xml] |
rowSelector | string | No | maxLen=255 | |
Applies when dataLoadDefinition.format in (JSON, XML) | ||||
useRawSelectors | boolean | Yes | false | |
Applies when dataLoadDefinition.format = JSON | ||||
comments | multiline string | No | maxLen=4000 | |
dataProfile {
name: exampleName
format: csv
rowSelector: value
useRawSelectors: false
comments: ```
Lorem ipsum dolor sit amet.
```
}
target
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | table | enum=[table, collection] |
tableOwner | string | No | maxLen=32767 | |
Applies when dataLoadDefinition.type = TABLE | ||||
tableName | string | Yes | maxLen=128 | |
Applies when dataLoadDefinition.type = TABLE | ||||
name | string | Yes | maxLen=128 | |
Applies when dataLoadDefinition.type = COLLECTION | ||||
loadingMethod | enum | Yes | append | enum=[append, merge, replace] |
Applies when dataLoadDefinition.type = TABLE | ||||
loadingMethod | enum | Yes | append | enum=[append, replace] |
Applies when dataLoadDefinition.type = COLLECTION | ||||
target {
type: table
tableOwner: value
tableName: value
name: exampleName
loadingMethod: append
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
encoding | enum | No | enum=[iso-8859-6, windows-1256, big5, gbk, iso-8859-5, koi8-r, koi8-u, windows-1251, iso-8859-2, windows-1250, iso-8859-7, windows-1253, iso-8859-8-i, windows-1255, euc-jp, shift-jis, euc-kr, iso-8859-4, windows-1257, iso-8859-3, tis-620, iso-8859-9, windows-1254, us-ascii, utf-16be, utf-16le, utf-8, windows-1258, iso-8859-1, windows-1252] | |
numericChars | string | No | maxLen=2 | |
xmlNamespaces | multiline string | No | maxLen=4000 | |
Applies when dataLoadDefinition.format = XML | ||||
csvSeparator | string | No | maxLen=5 | |
Applies when dataLoadDefinition.format = CSV | ||||
csvEnclosedBy | string | No | maxLen=1 | |
Applies when dataLoadDefinition.format = CSV | ||||
commitInterval | integer | Yes | 200 | maxLen=32767; min=100 |
defaultXlsxSheetName | string | No | maxLen=255 | |
Applies when dataLoadDefinition.format = XLSX | ||||
skipRows | number | No | maxLen=5; min=1 | |
Applies when dataLoadDefinition.format in (CSV, XLSX) | ||||
staticId | string | Yes | maxLen=255 | |
firstLineContainsHeaders | boolean | Yes | true | |
Applies when dataLoadDefinition.format in (CSV, XLSX) | ||||
advanced {
encoding: iso-8859-6
numericChars: value
xmlNamespaces: ```
Lorem ipsum dolor sit amet.
```
csvSeparator: value
csvEnclosedBy: value
commitInterval: 42
defaultXlsxSheetName: value
skipRows: 42
staticId: value
firstLineContainsHeaders: false
}
errorHandling
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
whenOnError | string | Yes | ABORT | |
name | string | Yes | maxLen=128 | |
Applies when dataLoadDefinition.whenOnError = LOG_ROWS | ||||
tableName | string | Yes | maxLen=128 | |
Applies when dataLoadDefinition.whenOnError = ERROR_LOG | ||||
errorHandling {
whenOnError: value
name: exampleName
tableName: value
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No |
subscription {
master: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
dataLoadDefinition "example" (
name: exampleName
dataProfile {
name: exampleName
format: csv
rowSelector: value
useRawSelectors: false
comments: ```
Lorem ipsum dolor sit amet.
```
}
target {
type: table
tableOwner: value
tableName: value
name: exampleName
loadingMethod: append
}
advanced {
encoding: iso-8859-6
numericChars: value
xmlNamespaces: ```
Lorem ipsum dolor sit amet.
```
csvSeparator: value
csvEnclosedBy: value
commitInterval: 42
defaultXlsxSheetName: value
skipRows: 42
staticId: value
firstLineContainsHeaders: false
}
errorHandling {
whenOnError: value
name: exampleName
tableName: value
}
subscription {
master: value
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
dataProfileColumn
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
columnName | string | Yes | maxLen=128 |
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22; min=0 | |
type | enum | Yes | data | enum=[data, lookup, sqlExpression, sqlQuery] |
lineNumber | boolean | Yes | false | |
Applies when dataProfileColumn.type = DATA | ||||
dataType | enum | Yes | enum=[varchar2, number, date, timestamp, timestampWithLocalTimeZone, timestampWithTimeZone, clob, boolean, blob, geometrySdoGeometry, array, jsonDocument] | |
Applies when dataProfileColumn.lineNumber = N or not set | ||||
maxLength | integer | Yes | 4000 | maxLen=5; min=1; max=32767 |
Applies when dataProfileColumn.dataType = VARCHAR2 | ||||
primaryKey | boolean | Yes | false | |
source {
sequence: 42
type: data
lineNumber: false
dataType: varchar2
maxLength: 5
primaryKey: false
}
parsing
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
selectorType | enum | Yes | name | enum=[name, sequence, regexp] |
Applies when dataProfileColumn.type = DATA and dataLoadDefinition.format in (CSV, XLSX) | ||||
selector | string | Yes | maxLen=255 | |
Applies when dataProfileColumn.selectorType in (NAME, REGEXP) | ||||
columnNumber | integer | Yes | maxLen=32767; min=1 | |
Applies when dataProfileColumn.selectorType = SEQ | ||||
pathExpression | string | Yes | maxLen=255 | |
Applies when dataLoadDefinition.format in (JSON, XML) and dataProfileColumn.type = DATA and dataProfileColumn.lineNumber = N or not set | ||||
formatMask | string | No | maxLen=255 | |
Applies when dataProfileColumn.dataType in (NUMBER, DATE, TIMESTAMP, TIMESTAMP WITH TIME ZONE, TIMESTAMP WITH LOCAL TIME ZONE) and dataProfileColumn.type = DATA and dataProfileColumn.lineNumber = N or not set | ||||
hasTimeZone | boolean | Yes | true | |
Applies when dataProfileColumn.dataType in (DATE, TIMESTAMP, TIMESTAMP WITH TIME ZONE, TIMESTAMP WITH LOCAL TIME ZONE) and dataProfileColumn.type = DATA | ||||
decimalChar | string | No | maxLen=1 | |
Applies when dataProfileColumn.dataType = NUMBER | ||||
groupChar | string | No | maxLen=1 | |
Applies when dataProfileColumn.dataType = NUMBER | ||||
parsing {
selectorType: name
selector: value
columnNumber: 42
pathExpression: value
formatMask: value
hasTimeZone: false
decimalChar: value
groupChar: value
}
computation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when dataProfileColumn.type = SQL_EXPRESSION | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when dataProfileColumn.type = SQL_QUERY | ||||
computation {
sqlExpression: ```
upper(:P1_SEARCH)
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
}
lookup
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
tableOwner | string | No | maxLen=32767 | |
Applies when dataProfileColumn.type = LOOKUP | ||||
tableName | string | Yes | maxLen=128 | |
Applies when dataProfileColumn.type = LOOKUP | ||||
returnColumn | string | Yes | maxLen=32767 | |
Applies when dataProfileColumn.type = LOOKUP | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when dataProfileColumn.type = LOOKUP | ||||
tableColumn1 | string | Yes | maxLen=32767 | |
Applies when dataProfileColumn.type = LOOKUP | ||||
dataColumn1 | string | Yes | maxLen=32767 | |
Applies when dataProfileColumn.type = LOOKUP | ||||
tableColumn2 | string | No | maxLen=32767 | |
Applies when dataProfileColumn.tableColumn1 is set | ||||
dataColumn2 | string | Yes | maxLen=32767 | |
Applies when dataProfileColumn.tableColumn2 is set | ||||
tableColumn3 | string | No | maxLen=32767 | |
Applies when dataProfileColumn.tableColumn2 is set | ||||
dataColumn3 | string | Yes | maxLen=32767 | |
Applies when dataProfileColumn.tableColumn3 is set | ||||
lookup {
tableOwner: value
tableName: value
returnColumn: value
whereClause: ```
status = 'ACTIVE'
```
tableColumn1: value
dataColumn1: value
tableColumn2: value
dataColumn2: value
tableColumn3: value
dataColumn3: value
}
transformation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[leftTrim, rightTrim, trim, replace, lower, upper, nullIf, regexpReplace, regexpNullIf] | |
Applies when dataProfileColumn.dataType NOT_IN_LIST BLOB, SDO_GEOMETRY, ARRAY and dataProfileColumn.type = DATA and dataProfileColumn.lineNumber = N or not set | ||||
trimChars | string | No | maxLen=4000 | |
Applies when dataProfileColumn.type in (LTRIM, RTRIM, TRIM) | ||||
find | string | Yes | maxLen=4000 | |
Applies when dataProfileColumn.type = REPLACE | ||||
regexp | string | Yes | maxLen=4000 | |
Applies when dataProfileColumn.type in (REGEXP_REPLACE, REGEXP_NULLIF) | ||||
replaceWith | string | No | maxLen=4000 | |
Applies when dataProfileColumn.type in (REPLACE, REGEXP_REPLACE) | ||||
value | string | Yes | maxLen=4000 | |
Applies when dataProfileColumn.type = NULLIF | ||||
transformation {
type: leftTrim
trimChars: value
find: value
regexp: value
replaceWith: value
value: value
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
dataProfileColumn "example" (
columnName: value
source {
sequence: 42
type: data
lineNumber: false
dataType: varchar2
maxLength: 5
primaryKey: false
}
parsing {
selectorType: name
selector: value
columnNumber: 42
pathExpression: value
formatMask: value
hasTimeZone: false
decimalChar: value
groupChar: value
}
computation {
sqlExpression: ```
upper(:P1_SEARCH)
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
}
lookup {
tableOwner: value
tableName: value
returnColumn: value
whereClause: ```
status = 'ACTIVE'
```
tableColumn1: value
dataColumn1: value
tableColumn2: value
dataColumn2: value
tableColumn3: value
dataColumn3: value
}
transformation {
type: leftTrim
trimChars: value
find: value
regexp: value
replaceWith: value
value: value
}
advanced {
staticId: value
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
developerComment
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
pages | array of integers | No | maxLen=4000 | |
comments | multiline string | No | maxLen=4000 |
comments {
pages: [1, 2]
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
developerComment "example" (
comments {
pages: [1, 2]
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
dynamicTranslation
translation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
language | enum | Yes | enum=[af, sq, ar-dz, ar-bh, ar-eg, ar-iq, ar-jo, ar-kw, ar-lb, ar-ly, ar-ma, ar-om, ar-qa, ar-sa, ar-sy, ar-tn, ar-ae, ar-ye, ar, hy, as, az, eu, be, bn, ba, bg, km, ca, zh-cn, zh-hk, zh-mo, zh-sg, zh-tw, zh, hr, cs, da, nl-be, nl, en-au, en-bz, en-ca, en-ie, en-jm, en-nz, en-ph, en-za, en-tt, en-gb, en-us, en-zw, en, et, mk, fo, fa, fi, fr-be, fr-ca, fr, fr-lu, fr-mc, fr-ch, gd, gl, de-at, de, de-li, de-lu, de-ch, el, gu, he, hi, hu, is, id, ga, it, it-ch, ja, kn, kk, kok, ko, kz, lv, lt, ms, ml, mt, mr, me, ne, nb-no, no, nn-no, or, pl, pt-br, pt, pa, ro, ru-md, ru, sr-cyrl, sr-latn, sr, sk, sl, es-ar, es-bo, es-cl, es-co, es-cr, es-do, es-ec, es-sv, es-gt, es-hn, es-mx, es-ni, es-pa, es-py, es-pe, es-pr, es, es-us, es-uy, es-ve, sw, sv-fi, sv, ta, te, th, tr, uk, ur, uz, vi, cy] | |
fromText | multiline string | Yes | maxLen=32767 | |
toText | multiline string | Yes | maxLen=32767 |
translation {
language: af
fromText: ```
Lorem ipsum dolor sit amet.
```
toText: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
dynamicTranslation "example" (
translation {
language: af
fromText: ```
Lorem ipsum dolor sit amet.
```
toText: ```
Lorem ipsum dolor sit amet.
```
}
)
emailTemplate
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
emailSubject | string | Yes | maxLen=255 |
htmlFormat
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
header | multiline string | No | language=html; maxLen=32767 | |
body | multiline string | Yes | language=html; maxLen=32767 | |
footer | multiline string | No | language=html; maxLen=32767 |
htmlFormat {
header: ```
Lorem ipsum dolor sit amet.
```
body: ```
Lorem ipsum dolor sit amet.
```
footer: ```
Lorem ipsum dolor sit amet.
```
}
plainTextFormat
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
content | multiline string | No | language=html; maxLen=32767 |
plainTextFormat {
content: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
versionNumber | enum | No | enum=[1, 2] | |
htmlTemplate | multiline string | No | language=html; maxLen=32767 |
advanced {
staticId: value
versionNumber: "1"
htmlTemplate: ```
Lorem ipsum dolor sit amet.
```
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No |
subscription {
master: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
emailTemplate "example" (
name: exampleName
emailSubject: value
htmlFormat {
header: ```
Lorem ipsum dolor sit amet.
```
body: ```
Lorem ipsum dolor sit amet.
```
footer: ```
Lorem ipsum dolor sit amet.
```
}
plainTextFormat {
content: ```
Lorem ipsum dolor sit amet.
```
}
advanced {
staticId: value
versionNumber: "1"
htmlTemplate: ```
Lorem ipsum dolor sit amet.
```
}
subscription {
master: value
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
file
file
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
fileName | string | Yes | maxLen=255 | |
content | blob | No | maxLen=32767 | |
mimeType | string | Yes | maxLen=255 | |
charSet | enum | No | enum=[iso-8859-6, windows-1256, big5, gbk, iso-8859-5, koi8-r, koi8-u, windows-1251, iso-8859-2, windows-1250, iso-8859-7, windows-1253, iso-8859-8-i, windows-1255, euc-jp, shift-jis, euc-kr, iso-8859-4, windows-1257, iso-8859-3, tis-620, iso-8859-9, windows-1254, us-ascii, utf-16be, utf-16le, utf-8, windows-1258, iso-8859-1, windows-1252]; maxLen=128 |
file {
fileName: value
content: value
mimeType: value
charSet: iso-8859-6
}
APEXlang Example
file "example" (
file {
fileName: value
content: value
mimeType: value
charSet: iso-8859-6
}
)
jsonDualityView
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 |
dataProfile
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
format | enum | Yes | json | enum=[csv, json, xlsx, xml] |
rowSelector | string | No | maxLen=255 | |
Applies when jsonDualityView.format in (JSON, XML) | ||||
useRawSelectors | boolean | Yes | false | |
Applies when jsonDualityView.format = JSON | ||||
comments | multiline string | No | maxLen=4000 | |
dataProfile {
name: exampleName
format: csv
rowSelector: value
useRawSelectors: false
comments: ```
Lorem ipsum dolor sit amet.
```
}
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
location | enum | Yes | enum=[localDatabase, restEnabledSql] | |
remoteServer | string | Yes | ||
Applies when jsonDualityView.location = REMOTE | ||||
tableOwner | string | No | maxLen=32767 | |
tableName | string | Yes | maxLen=128 | |
source { location: localDatabase remoteServer:@componenttableOwner: value tableName: value }
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
xmlNamespaces | multiline string | No | maxLen=4000 | |
Applies when jsonDualityView.format = XML | ||||
csvSeparator | string | No | maxLen=5 | |
Applies when jsonDualityView.format = CSV | ||||
csvEnclosedBy | string | No | maxLen=1 | |
Applies when jsonDualityView.format = CSV | ||||
staticId | string | Yes | maxLen=255 | |
defaultXlsxSheetName | string | No | maxLen=255 | |
Applies when jsonDualityView.format = XLSX | ||||
skipRows | number | No | maxLen=5; min=1 | |
Applies when jsonDualityView.format in (CSV, XLSX) | ||||
firstLineContainsHeaders | boolean | Yes | true | |
Applies when jsonDualityView.format in (CSV, XLSX) | ||||
advanced {
xmlNamespaces: ```
Lorem ipsum dolor sit amet.
```
csvSeparator: value
csvEnclosedBy: value
staticId: value
defaultXlsxSheetName: value
skipRows: 42
firstLineContainsHeaders: false
}
remoteCache
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
caching | enum | No | enum=[allUsers, user, session] | |
Applies when jsonDualityView.location = REMOTE | ||||
timeout | multiline string | No | maxLen=255 | |
Applies when jsonDualityView.caching is set | ||||
remoteCache {
caching: allUsers
timeout: ```
Lorem ipsum dolor sit amet.
```
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No |
subscription {
master: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
jsonDualityView "example" ( name: exampleName dataProfile { name: exampleName format: csv rowSelector: value useRawSelectors: false comments: ``` Lorem ipsum dolor sit amet. ``` } source { location: localDatabase remoteServer:@componenttableOwner: value tableName: value } advanced { xmlNamespaces: ``` Lorem ipsum dolor sit amet. ``` csvSeparator: value csvEnclosedBy: value staticId: value defaultXlsxSheetName: value skipRows: 42 firstLineContainsHeaders: false } remoteCache { caching: allUsers timeout: ``` Lorem ipsum dolor sit amet. ``` } subscription { master: value } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
dataProfileColumn
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
columnName | string | Yes | maxLen=128 |
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22; min=0 | |
type | enum | Yes | data | enum=[tableColumn, data, lookup, sqlExpression, sqlQuery] |
parentColumn | string | No | ||
Applies when jsonDualityView.format = JSON | ||||
lineNumber | boolean | Yes | false | |
Applies when dataProfileColumn.type = DATA | ||||
dataType | enum | Yes | enum=[varchar2, number, date, timestamp, timestampWithLocalTimeZone, timestampWithTimeZone, clob, boolean, blob, geometrySdoGeometry, array, jsonDocument] | |
Applies when dataProfileColumn.lineNumber = N or not set | ||||
maxLength | integer | Yes | 4000 | maxLen=5; min=1; max=32767 |
Applies when dataProfileColumn.dataType = VARCHAR2 | ||||
primaryKey | boolean | Yes | false | |
source {
sequence: 42
type: tableColumn
parentColumn: value
lineNumber: false
dataType: varchar2
maxLength: 5
primaryKey: false
}
parsing
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
selectorType | enum | Yes | name | enum=[name, sequence, regexp] |
Applies when dataProfileColumn.type = DATA and jsonDualityView.format in (CSV, XLSX) | ||||
selector | string | Yes | maxLen=255 | |
Applies when dataProfileColumn.selectorType in (NAME, REGEXP) | ||||
columnNumber | integer | Yes | maxLen=32767; min=1 | |
Applies when dataProfileColumn.selectorType = SEQ | ||||
pathExpression | string | Yes | maxLen=255 | |
Applies when jsonDualityView.format in (JSON, XML) and dataProfileColumn.type = DATA and dataProfileColumn.lineNumber = N or not set | ||||
tableColumn | string | Yes | maxLen=128 | |
Applies when jsonDualityView.format in (JSON) and dataProfileColumn.type = TABLE | ||||
formatMask | string | No | maxLen=255 | |
Applies when dataProfileColumn.dataType in (NUMBER, DATE, TIMESTAMP, TIMESTAMP WITH TIME ZONE, TIMESTAMP WITH LOCAL TIME ZONE) and dataProfileColumn.type = DATA and dataProfileColumn.lineNumber = N or not set | ||||
hasTimeZone | boolean | Yes | true | |
Applies when dataProfileColumn.dataType in (DATE, TIMESTAMP, TIMESTAMP WITH TIME ZONE, TIMESTAMP WITH LOCAL TIME ZONE) and dataProfileColumn.type = DATA | ||||
decimalChar | string | No | maxLen=1 | |
Applies when dataProfileColumn.dataType = NUMBER | ||||
groupChar | string | No | maxLen=1 | |
Applies when dataProfileColumn.dataType = NUMBER | ||||
parsing {
selectorType: name
selector: value
columnNumber: 42
pathExpression: value
tableColumn: value
formatMask: value
hasTimeZone: false
decimalChar: value
groupChar: value
}
computation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when dataProfileColumn.type = SQL_EXPRESSION | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when dataProfileColumn.type = SQL_QUERY | ||||
computation {
sqlExpression: ```
upper(:P1_SEARCH)
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
}
lookup
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
tableOwner | string | No | maxLen=32767 | |
Applies when dataProfileColumn.type = LOOKUP | ||||
tableName | string | Yes | maxLen=128 | |
Applies when dataProfileColumn.type = LOOKUP | ||||
returnColumn | string | Yes | maxLen=32767 | |
Applies when dataProfileColumn.type = LOOKUP | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when dataProfileColumn.type = LOOKUP | ||||
tableColumn1 | string | Yes | maxLen=32767 | |
Applies when dataProfileColumn.type = LOOKUP | ||||
dataColumn1 | string | Yes | maxLen=32767 | |
Applies when dataProfileColumn.type = LOOKUP | ||||
tableColumn2 | string | No | maxLen=32767 | |
Applies when dataProfileColumn.tableColumn1 is set | ||||
dataColumn2 | string | Yes | maxLen=32767 | |
Applies when dataProfileColumn.tableColumn2 is set | ||||
tableColumn3 | string | No | maxLen=32767 | |
Applies when dataProfileColumn.tableColumn2 is set | ||||
dataColumn3 | string | Yes | maxLen=32767 | |
Applies when dataProfileColumn.tableColumn3 is set | ||||
lookup {
tableOwner: value
tableName: value
returnColumn: value
whereClause: ```
status = 'ACTIVE'
```
tableColumn1: value
dataColumn1: value
tableColumn2: value
dataColumn2: value
tableColumn3: value
dataColumn3: value
}
transformation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[leftTrim, rightTrim, trim, replace, lower, upper, nullIf, regexpReplace, regexpNullIf] | |
Applies when dataProfileColumn.dataType NOT_IN_LIST BLOB, SDO_GEOMETRY, ARRAY and dataProfileColumn.type in (DATA, TABLE) and dataProfileColumn.lineNumber = N or not set | ||||
trimChars | string | No | maxLen=4000 | |
Applies when dataProfileColumn.type in (LTRIM, RTRIM, TRIM) | ||||
find | string | Yes | maxLen=4000 | |
Applies when dataProfileColumn.type = REPLACE | ||||
regexp | string | Yes | maxLen=4000 | |
Applies when dataProfileColumn.type in (REGEXP_REPLACE, REGEXP_NULLIF) | ||||
replaceWith | string | No | maxLen=4000 | |
Applies when dataProfileColumn.type in (REPLACE, REGEXP_REPLACE) | ||||
value | string | Yes | maxLen=4000 | |
Applies when dataProfileColumn.type = NULLIF | ||||
transformation {
type: leftTrim
trimChars: value
find: value
regexp: value
replaceWith: value
value: value
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
sourceDataType | string | No | maxLen=255 | |
Applies when dataProfileColumn.type = DATA and dataProfileColumn.lineNumber = N or not set | ||||
common | boolean | Yes | true | |
hidden | boolean | Yes | false | |
advanced {
staticId: value
sourceDataType: value
common: false
hidden: false
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
dataProfileColumn "example" (
columnName: value
source {
sequence: 42
type: tableColumn
parentColumn: value
lineNumber: false
dataType: varchar2
maxLength: 5
primaryKey: false
}
parsing {
selectorType: name
selector: value
columnNumber: 42
pathExpression: value
tableColumn: value
formatMask: value
hasTimeZone: false
decimalChar: value
groupChar: value
}
computation {
sqlExpression: ```
upper(:P1_SEARCH)
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
}
lookup {
tableOwner: value
tableName: value
returnColumn: value
whereClause: ```
status = 'ACTIVE'
```
tableColumn1: value
dataColumn1: value
tableColumn2: value
dataColumn2: value
tableColumn3: value
dataColumn3: value
}
transformation {
type: leftTrim
trimChars: value
find: value
regexp: value
replaceWith: value
value: value
}
advanced {
staticId: value
sourceDataType: value
common: false
hidden: false
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
jsonSource
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
type | enum | Yes | enum=[tableWithJsonColumn, jsonCollectionTable] |
dataProfile
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
format | enum | Yes | json | enum=[csv, json, xlsx, xml] |
rowSelector | string | No | maxLen=255 | |
Applies when jsonSource.format in (JSON, XML) | ||||
useRawSelectors | boolean | Yes | false | |
Applies when jsonSource.format = JSON | ||||
comments | multiline string | No | maxLen=4000 | |
dataProfile {
name: exampleName
format: csv
rowSelector: value
useRawSelectors: false
comments: ```
Lorem ipsum dolor sit amet.
```
}
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
location | enum | Yes | enum=[localDatabase, restEnabledSql] | |
remoteServer | string | Yes | ||
Applies when jsonSource.location = REMOTE | ||||
tableOwner | string | No | maxLen=32767 | |
tableName | string | Yes | maxLen=128 | |
whereClause | multiline string | No | language=sql; maxLen=4000 | |
source { location: localDatabase remoteServer:@componenttableOwner: value tableName: value whereClause: ``` status = 'ACTIVE' ``` }
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
xmlNamespaces | multiline string | No | maxLen=4000 | |
Applies when jsonSource.format = XML | ||||
csvSeparator | string | No | maxLen=5 | |
Applies when jsonSource.format = CSV | ||||
csvEnclosedBy | string | No | maxLen=1 | |
Applies when jsonSource.format = CSV | ||||
defaultXlsxSheetName | string | No | maxLen=255 | |
Applies when jsonSource.format = XLSX | ||||
skipRows | number | No | maxLen=5; min=1 | |
Applies when jsonSource.format in (CSV, XLSX) | ||||
staticId | string | Yes | maxLen=255 | |
firstLineContainsHeaders | boolean | Yes | true | |
Applies when jsonSource.format in (CSV, XLSX) | ||||
advanced {
xmlNamespaces: ```
Lorem ipsum dolor sit amet.
```
csvSeparator: value
csvEnclosedBy: value
defaultXlsxSheetName: value
skipRows: 42
staticId: value
firstLineContainsHeaders: false
}
remoteCache
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
caching | enum | No | enum=[allUsers, user, session] | |
Applies when jsonSource.location = REMOTE | ||||
timeout | multiline string | No | maxLen=255 | |
Applies when jsonSource.caching is set | ||||
remoteCache {
caching: allUsers
timeout: ```
Lorem ipsum dolor sit amet.
```
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No |
subscription {
master: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
jsonSource "example" ( name: exampleName type: tableWithJsonColumn dataProfile { name: exampleName format: csv rowSelector: value useRawSelectors: false comments: ``` Lorem ipsum dolor sit amet. ``` } source { location: localDatabase remoteServer:@componenttableOwner: value tableName: value whereClause: ``` status = 'ACTIVE' ``` } advanced { xmlNamespaces: ``` Lorem ipsum dolor sit amet. ``` csvSeparator: value csvEnclosedBy: value defaultXlsxSheetName: value skipRows: 42 staticId: value firstLineContainsHeaders: false } remoteCache { caching: allUsers timeout: ``` Lorem ipsum dolor sit amet. ``` } subscription { master: value } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
dataProfileColumn
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
columnName | string | Yes | maxLen=128 |
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22; min=0 | |
type | enum | Yes | data | enum=[tableColumn, data, lookup, sqlExpression, sqlQuery] |
parentColumn | string | No | ||
Applies when jsonSource.format = JSON | ||||
lineNumber | boolean | Yes | false | |
Applies when dataProfileColumn.type = DATA | ||||
dataType | enum | Yes | enum=[varchar2, number, date, timestamp, timestampWithLocalTimeZone, timestampWithTimeZone, clob, boolean, blob, geometrySdoGeometry, array, jsonDocument] | |
Applies when dataProfileColumn.lineNumber = N or not set | ||||
maxLength | integer | Yes | 4000 | maxLen=5; min=1; max=32767 |
Applies when dataProfileColumn.dataType = VARCHAR2 | ||||
primaryKey | boolean | Yes | false | |
source {
sequence: 42
type: tableColumn
parentColumn: value
lineNumber: false
dataType: varchar2
maxLength: 5
primaryKey: false
}
parsing
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
selectorType | enum | Yes | name | enum=[name, sequence, regexp] |
Applies when dataProfileColumn.type = DATA and jsonSource.format in (CSV, XLSX) | ||||
selector | string | Yes | maxLen=255 | |
Applies when dataProfileColumn.selectorType in (NAME, REGEXP) | ||||
columnNumber | integer | Yes | maxLen=32767; min=1 | |
Applies when dataProfileColumn.selectorType = SEQ | ||||
pathExpression | string | Yes | maxLen=255 | |
Applies when jsonSource.format in (JSON, XML) and dataProfileColumn.type = DATA and dataProfileColumn.lineNumber = N or not set | ||||
tableColumn | string | Yes | maxLen=128 | |
Applies when jsonSource.format in (JSON) and dataProfileColumn.type = TABLE | ||||
formatMask | string | No | maxLen=255 | |
Applies when dataProfileColumn.dataType in (NUMBER, DATE, TIMESTAMP, TIMESTAMP WITH TIME ZONE, TIMESTAMP WITH LOCAL TIME ZONE) and dataProfileColumn.type = DATA and dataProfileColumn.lineNumber = N or not set | ||||
hasTimeZone | boolean | Yes | true | |
Applies when dataProfileColumn.dataType in (DATE, TIMESTAMP, TIMESTAMP WITH TIME ZONE, TIMESTAMP WITH LOCAL TIME ZONE) and dataProfileColumn.type = DATA | ||||
decimalChar | string | No | maxLen=1 | |
Applies when dataProfileColumn.dataType = NUMBER | ||||
groupChar | string | No | maxLen=1 | |
Applies when dataProfileColumn.dataType = NUMBER | ||||
parsing {
selectorType: name
selector: value
columnNumber: 42
pathExpression: value
tableColumn: value
formatMask: value
hasTimeZone: false
decimalChar: value
groupChar: value
}
computation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when dataProfileColumn.type = SQL_EXPRESSION | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when dataProfileColumn.type = SQL_QUERY | ||||
computation {
sqlExpression: ```
upper(:P1_SEARCH)
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
}
lookup
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
tableOwner | string | No | maxLen=32767 | |
Applies when dataProfileColumn.type = LOOKUP | ||||
tableName | string | Yes | maxLen=128 | |
Applies when dataProfileColumn.type = LOOKUP | ||||
returnColumn | string | Yes | maxLen=32767 | |
Applies when dataProfileColumn.type = LOOKUP | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when dataProfileColumn.type = LOOKUP | ||||
tableColumn1 | string | Yes | maxLen=32767 | |
Applies when dataProfileColumn.type = LOOKUP | ||||
dataColumn1 | string | Yes | maxLen=32767 | |
Applies when dataProfileColumn.type = LOOKUP | ||||
tableColumn2 | string | No | maxLen=32767 | |
Applies when dataProfileColumn.tableColumn1 is set | ||||
dataColumn2 | string | Yes | maxLen=32767 | |
Applies when dataProfileColumn.tableColumn2 is set | ||||
tableColumn3 | string | No | maxLen=32767 | |
Applies when dataProfileColumn.tableColumn2 is set | ||||
dataColumn3 | string | Yes | maxLen=32767 | |
Applies when dataProfileColumn.tableColumn3 is set | ||||
lookup {
tableOwner: value
tableName: value
returnColumn: value
whereClause: ```
status = 'ACTIVE'
```
tableColumn1: value
dataColumn1: value
tableColumn2: value
dataColumn2: value
tableColumn3: value
dataColumn3: value
}
transformation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[leftTrim, rightTrim, trim, replace, lower, upper, nullIf, regexpReplace, regexpNullIf] | |
Applies when dataProfileColumn.dataType NOT_IN_LIST BLOB, SDO_GEOMETRY, ARRAY and dataProfileColumn.type in (DATA, TABLE) and dataProfileColumn.lineNumber = N or not set | ||||
trimChars | string | No | maxLen=4000 | |
Applies when dataProfileColumn.type in (LTRIM, RTRIM, TRIM) | ||||
find | string | Yes | maxLen=4000 | |
Applies when dataProfileColumn.type = REPLACE | ||||
regexp | string | Yes | maxLen=4000 | |
Applies when dataProfileColumn.type in (REGEXP_REPLACE, REGEXP_NULLIF) | ||||
replaceWith | string | No | maxLen=4000 | |
Applies when dataProfileColumn.type in (REPLACE, REGEXP_REPLACE) | ||||
value | string | Yes | maxLen=4000 | |
Applies when dataProfileColumn.type = NULLIF | ||||
transformation {
type: leftTrim
trimChars: value
find: value
regexp: value
replaceWith: value
value: value
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
sourceDataType | string | No | maxLen=255 | |
Applies when dataProfileColumn.type = DATA and dataProfileColumn.lineNumber = N or not set | ||||
common | boolean | Yes | true | |
hidden | boolean | Yes | false | |
advanced {
staticId: value
sourceDataType: value
common: false
hidden: false
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
dataProfileColumn "example" (
columnName: value
source {
sequence: 42
type: tableColumn
parentColumn: value
lineNumber: false
dataType: varchar2
maxLength: 5
primaryKey: false
}
parsing {
selectorType: name
selector: value
columnNumber: 42
pathExpression: value
tableColumn: value
formatMask: value
hasTimeZone: false
decimalChar: value
groupChar: value
}
computation {
sqlExpression: ```
upper(:P1_SEARCH)
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
}
lookup {
tableOwner: value
tableName: value
returnColumn: value
whereClause: ```
status = 'ACTIVE'
```
tableColumn1: value
dataColumn1: value
tableColumn2: value
dataColumn2: value
tableColumn3: value
dataColumn3: value
}
transformation {
type: leftTrim
trimChars: value
find: value
regexp: value
replaceWith: value
value: value
}
advanced {
staticId: value
sourceDataType: value
common: false
hidden: false
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
languageMapping
translation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
appId | integer | Yes | maxLen=32767; min=1 | |
language | enum | Yes | enum=[af, sq, ar-dz, ar-bh, ar-eg, ar-iq, ar-jo, ar-kw, ar-lb, ar-ly, ar-ma, ar-om, ar-qa, ar-sa, ar-sy, ar-tn, ar-ae, ar-ye, ar, hy, as, az, eu, be, bn, ba, bg, km, ca, zh-cn, zh-hk, zh-mo, zh-sg, zh-tw, zh, hr, cs, da, nl-be, nl, en-au, en-bz, en-ca, en-ie, en-jm, en-nz, en-ph, en-za, en-tt, en-gb, en-us, en-zw, en, et, mk, fo, fa, fi, fr-be, fr-ca, fr, fr-lu, fr-mc, fr-ch, gd, gl, de-at, de, de-li, de-lu, de-ch, el, gu, he, hi, hu, is, id, ga, it, it-ch, ja, kn, kk, kok, ko, kz, lv, lt, ms, ml, mt, mr, me, ne, nb-no, no, nn-no, or, pl, pt-br, pt, pa, ro, ru-md, ru, sr-cyrl, sr-latn, sr, sk, sl, es-ar, es-bo, es-cl, es-co, es-cr, es-do, es-ec, es-sv, es-gt, es-hn, es-mx, es-ni, es-pa, es-py, es-pe, es-pr, es, es-us, es-uy, es-ve, sw, sv-fi, sv, ta, te, th, tr, uk, ur, uz, vi, cy] | |
documentDirection | enum | No | enum=[true, false] |
translation {
appId: 42
language: af
documentDirection: true
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
imageDirectory | string | No | maxLen=2000 |
advanced {
imageDirectory: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
languageMapping "example" (
translation {
appId: 42
language: af
documentDirection: true
}
advanced {
imageDirectory: value
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
legacyDataLoadDefinition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 |
target
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
tableOwner | string | No | maxLen=32767 | |
tableName | string | Yes | maxLen=128 |
target {
tableOwner: value
tableName: value
}
uniqueKeys
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
uniqueColumn1 | string | Yes | maxLen=32767 | |
isUk1CaseSensitive | boolean | Yes | false | |
Applies when legacyDataLoadDefinition.uniqueColumn1 is set | ||||
uniqueColumn2 | string | No | maxLen=32767 | |
Applies when legacyDataLoadDefinition.uniqueColumn1 is set | ||||
isUk2CaseSensitive | boolean | Yes | false | |
Applies when legacyDataLoadDefinition.uniqueColumn2 is set | ||||
uniqueColumn3 | string | No | maxLen=32767 | |
Applies when legacyDataLoadDefinition.uniqueColumn2 is set | ||||
isUk3CaseSensitive | boolean | Yes | false | |
Applies when legacyDataLoadDefinition.uniqueColumn3 is set | ||||
uniqueKeys {
uniqueColumn1: value
isUk1CaseSensitive: false
uniqueColumn2: value
isUk2CaseSensitive: false
uniqueColumn3: value
isUk3CaseSensitive: false
}
validation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
skipValidation | boolean | Yes | false | |
versionColumn | string | No | maxLen=32767 | |
Applies when legacyDataLoadDefinition.skipValidation = N | ||||
validation {
skipValidation: false
versionColumn: value
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
columnAliasesLov | string | No | ||
wizardPageIds | string | No | maxLen=32767 | |
staticId | string | Yes | maxLen=255 |
advanced { columnAliasesLov:@componentwizardPageIds: value staticId: value }
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No |
subscription {
master: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
legacyDataLoadDefinition "example" ( name: exampleName target { tableOwner: value tableName: value } uniqueKeys { uniqueColumn1: value isUk1CaseSensitive: false uniqueColumn2: value isUk2CaseSensitive: false uniqueColumn3: value isUk3CaseSensitive: false } validation { skipValidation: false versionColumn: value } advanced { columnAliasesLov:@componentwizardPageIds: value staticId: value } subscription { master: value } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
tableLookup
legacyDataLoadDefinition.skipValidation = N| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
columnName | string | Yes | maxLen=32767 |
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
tableOwner | string | No | maxLen=32767 | |
tableName | string | Yes | maxLen=128 | |
whereClause | multiline string | No | language=sql; maxLen=4000 |
source {
tableOwner: value
tableName: value
whereClause: ```
status = 'ACTIVE'
```
}
compareUploadWith
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
column | string | Yes | maxLen=32767 | |
column2 | string | No | maxLen=32767 | |
column3 | string | No | maxLen=32767 |
compareUploadWith {
column: value
column2: value
column3: value
}
lookup
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
returnColumn | string | Yes | maxLen=32767 |
lookup {
returnColumn: value
}
error
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
errorMessage | multiline string | No | maxLen=4000 |
error {
errorMessage: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
insertNewValue | boolean | Yes | false |
advanced {
insertNewValue: false
}
APEXlang Example
tableLookup "example" (
columnName: value
source {
tableOwner: value
tableName: value
whereClause: ```
status = 'ACTIVE'
```
}
compareUploadWith {
column: value
column2: value
column3: value
}
lookup {
returnColumn: value
}
error {
errorMessage: ```
Lorem ipsum dolor sit amet.
```
}
advanced {
insertNewValue: false
}
)
transformationRule
legacyDataLoadDefinition.skipValidation = N| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 |
execution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 |
execution {
sequence: 42
}
transformation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
columnNames | array of strings | Yes | maxLen=32767 | |
type | enum | Yes | enum=[upperCase, lowerCase, replace, trim, leftTrim, rightTrim, singleWhitespace, plsqlExpression, plsqlFunctionBody, sqlQuerySingleValue, sqlQueryMultipleValues] | |
trim | enum | Yes | both | enum=[trailing, leading, both] |
Applies when transformationRule.type = TRIM | ||||
find | string | Yes | maxLen=4000 | |
Applies when transformationRule.type = REPLACE | ||||
replaceWith | string | No | maxLen=4000 | |
Applies when transformationRule.type = REPLACE | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when transformationRule.type = PLSQL_EXPRESSION | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when transformationRule.type in (SQL_QUERY_SINGLE_VALUE, SQL_QUERY_SEMI_COLON) | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when transformationRule.type = PLSQL_FUNCTION_BODY | ||||
trimChars | string | No | maxLen=4000 | |
Applies when transformationRule.type in (LTRIM, RTRIM, TRIM) | ||||
transformation {
columnNames: [
value1
value2
]
type: upperCase
trim: trailing
find: value
replaceWith: value
plsqlExpression: ```
:CARD_LINK is not null
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
plsqlFunctionBody: ```
return 'Generated text';
```
trimChars: value
}
error
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
errorMessage | multiline string | No | maxLen=4000 |
error {
errorMessage: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
APEXlang Example
transformationRule "example" (
name: exampleName
execution {
sequence: 42
}
transformation {
columnNames: [
value1
value2
]
type: upperCase
trim: trailing
find: value
replaceWith: value
plsqlExpression: ```
:CARD_LINK is not null
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
plsqlFunctionBody: ```
return 'Generated text';
```
trimChars: value
}
error {
errorMessage: ```
Lorem ipsum dolor sit amet.
```
}
advanced {
staticId: value
}
)
list
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 |
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | staticValues | enum=[staticValues, sqlQuery, functionBody] |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when list.type = SQL_QUERY | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when list.type = FUNCTION_RETURNING_SQL_QUERY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when list.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when list.language = JAVASCRIPT | ||||
source {
type: staticValues
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: plsql
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No |
subscription {
master: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
list "example" ( name: exampleName source { type: staticValues sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` } advanced { staticId: value } config { buildOption:@component} subscription { master: value } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
entry
list.type = STATIClabel
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
label | multiline string | Yes | language=html; maxLen=4000 |
label {
label: ```
Lorem ipsum dolor sit amet.
```
}
icon
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
imageIconCssClasses | string | No | maxLen=255 | |
attributes | string | No | maxLen=2000 | |
altAttribute | string | No | maxLen=4000 |
icon {
imageIconCssClasses: value
attributes: value
altAttribute: value
}
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 | |
parentEntry | string | No | ||
subentriesList | string | No |
layout { sequence: 42 parentEntry:@componentsubentriesList:@component}
isCurrent
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | targetPage | enum=[targetPage, pages, existsSqlQuery, notExistsSqlQuery, expression, always, never] |
pages | array of integers | Yes | maxLen=4000 | |
Applies when entry.type = COLON_DELIMITED_PAGE_LIST | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when entry.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when entry.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when entry.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when entry.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when entry.language = JAVASCRIPT | ||||
isCurrent {
type: targetPage
pages: [1, 2]
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
}
link
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
target | complex | No | maxLen=32767 | |
linkAttributes | string | No | maxLen=4000 | |
Applies when entry.target is set | ||||
link {
target: value
linkAttributes: value
}
clickCounting
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
countClicks | boolean | Yes | false | |
Applies when entry.target is set | ||||
category | string | No | maxLen=255 | |
Applies when entry.countClicks = Y | ||||
clickCounting {
countClicks: false
category: value
}
userDefinedAttributes
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
translatable | boolean | Yes | false | |
1 | multiline string | No | maxLen=4000 | |
2 | multiline string | No | maxLen=4000 | |
3 | multiline string | No | maxLen=4000 | |
4 | multiline string | No | maxLen=4000 | |
5 | multiline string | No | maxLen=4000 | |
6 | multiline string | No | maxLen=4000 | |
7 | multiline string | No | maxLen=4000 | |
8 | multiline string | No | maxLen=4000 | |
9 | multiline string | No | maxLen=4000 | |
10 | multiline string | No | maxLen=4000 |
userDefinedAttributes {
translatable: false
1: ```
Lorem ipsum dolor sit amet.
```
2: ```
Lorem ipsum dolor sit amet.
```
3: ```
Lorem ipsum dolor sit amet.
```
4: ```
Lorem ipsum dolor sit amet.
```
5: ```
Lorem ipsum dolor sit amet.
```
6: ```
Lorem ipsum dolor sit amet.
```
7: ```
Lorem ipsum dolor sit amet.
```
8: ```
Lorem ipsum dolor sit amet.
```
9: ```
Lorem ipsum dolor sit amet.
```
10: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when entry.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when entry.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when entry.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when entry.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when entry.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when entry.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when entry.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when entry.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when entry.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when entry.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when entry.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when entry.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when entry.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when entry.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when entry.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when entry.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when entry.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when entry.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No |
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
entry "example" ( label { label: ``` Lorem ipsum dolor sit amet. ``` } icon { imageIconCssClasses: value attributes: value altAttribute: value } layout { sequence: 42 parentEntry:@componentsubentriesList:@component} isCurrent { type: targetPage pages: [1, 2] sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` } link { target: value linkAttributes: value } clickCounting { countClicks: false category: value } userDefinedAttributes { translatable: false 1: ``` Lorem ipsum dolor sit amet. ``` 2: ``` Lorem ipsum dolor sit amet. ``` 3: ``` Lorem ipsum dolor sit amet. ``` 4: ``` Lorem ipsum dolor sit amet. ``` 5: ``` Lorem ipsum dolor sit amet. ``` 6: ``` Lorem ipsum dolor sit amet. ``` 7: ``` Lorem ipsum dolor sit amet. ``` 8: ``` Lorem ipsum dolor sit amet. ``` 9: ``` Lorem ipsum dolor sit amet. ``` 10: ``` Lorem ipsum dolor sit amet. ``` } advanced { staticId: value } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@component} config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
lov
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 |
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
location | enum | Yes | localDatabase | enum=[staticValues, localDatabase, restEnabledSql, restSource, jsonDualityView, jsonSource, sampleData] |
remoteServer | string | Yes | ||
Applies when lov.location = REMOTE | ||||
sampleData | enum | Yes | enum=[employees, tasks, products, projects] | |
Applies when lov.location = SAMPLE_DATA | ||||
type | string | Yes | TABLE | |
Applies when lov.location in (LOCAL, REMOTE) | ||||
tableOwner | string | No | maxLen=32767 | |
Applies when lov.type = TABLE | ||||
tableName | string | Yes | maxLen=128 | |
Applies when lov.type = TABLE | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when lov.type = TABLE | ||||
graphOwner | string | No | maxLen=32767 | |
Applies when lov.type = GRAPH | ||||
graphName | string | Yes | maxLen=32767 | |
Applies when lov.type = GRAPH | ||||
matchClause | multiline string | Yes | maxLen=4000 | |
Applies when lov.type = GRAPH | ||||
columnsClause | multiline string | Yes | maxLen=4000 | |
Applies when lov.type = GRAPH | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when lov.type = GRAPH | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when lov.type = SQL | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when lov.type = LEGACY_SQL | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when lov.type = FUNC_BODY_RETURNING_SQL | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when lov.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when lov.language = JAVASCRIPT | ||||
restSource | string | Yes | ||
Applies when lov.location = WEB_SOURCE | ||||
jsonDualityView | string | Yes | ||
Applies when lov.location = DUALITY_VIEW | ||||
jsonSource | string | Yes | ||
Applies when lov.location = JSON_COLLECTION | ||||
optimizerHint | string | No | maxLen=255 | |
Applies when lov.location in (LOCAL, REMOTE, WEB_SOURCE, DUALITY_VIEW, JSON_COLLECTION) | ||||
source { location: staticValues remoteServer:@componentsampleData: employees type: value tableOwner: value tableName: value whereClause: ``` status = 'ACTIVE' ``` graphOwner: value graphName: value matchClause: ``` Lorem ipsum dolor sit amet. ``` columnsClause: ``` Lorem ipsum dolor sit amet. ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` restSource:@componentjsonDualityView:@componentjsonSource:@componentoptimizerHint: value }
dataProfile
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
nestedRows | string | No | ||
Applies when lov.restSource supports HAS_ARRAY_COLUMNS | ||||
nestedRows | string | No | ||
Applies when lov.jsonDualityView supports HAS_ARRAY_COLUMNS | ||||
nestedRows | string | No | ||
Applies when lov.jsonSource supports HAS_ARRAY_COLUMNS | ||||
dataProfile { nestedRows:@component}
restSynchronization
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
useLocalTable | boolean | Yes | false | |
Applies when lov.restSource supports HAS_SYNC_HAS_NO_ARRAY_COLUMNS or condition matches or lov.nestedRows supports IS_SYNCED | ||||
restSynchronization {
useLocalTable: false
}
externalFilterAndOrderBy
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
enabled | boolean | Yes | false | |
Applies when lov.restSource is set and lov.useLocalTable in (N, $NULL$) or not set | ||||
filter | multiline string | No | maxLen=4000 | |
Applies when lov.enabled = Y | ||||
orderBy | multiline string | No | maxLen=255 | |
Applies when lov.enabled = Y | ||||
externalFilterAndOrderBy {
enabled: false
filter: ```
Lorem ipsum dolor sit amet.
```
orderBy: ```
Lorem ipsum dolor sit amet.
```
}
localPostProcessing
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[whereOrderByClause, sqlQuery, plsqlFunctionBody] | |
Applies when lov.restSource is set | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when lov.type = WHERE_ORDER_BY_CLAUSE | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=32767 | |
Applies when lov.type = SQL | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when lov.type = FUNC_BODY_RETURNING_SQL | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when lov.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when lov.language = JAVASCRIPT | ||||
type | enum | No | enum=[whereOrderByClause, sqlQuery, plsqlFunctionBody] | |
Applies when lov.jsonDualityView is set | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when lov.type = WHERE_ORDER_BY_CLAUSE | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=32767 | |
Applies when lov.type = SQL | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when lov.type = FUNC_BODY_RETURNING_SQL | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when lov.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when lov.language = JAVASCRIPT | ||||
type | enum | No | enum=[whereOrderByClause, sqlQuery, plsqlFunctionBody] | |
Applies when lov.jsonSource is set | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when lov.type = WHERE_ORDER_BY_CLAUSE | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=32767 | |
Applies when lov.type = SQL | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when lov.type = FUNC_BODY_RETURNING_SQL | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when lov.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when lov.language = JAVASCRIPT | ||||
localPostProcessing {
type: whereOrderByClause
whereClause: ```
status = 'ACTIVE'
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: plsql
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
}
remoteCache
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
caching | enum | No | enum=[allUsers, user, session] | |
Applies when lov.location = REMOTE | ||||
timeout | multiline string | Yes | maxLen=255 | |
Applies when lov.caching is set | ||||
remoteCache {
caching: allUsers
timeout: ```
Lorem ipsum dolor sit amet.
```
}
columnMapping
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
return | string | Yes | maxLen=32767 | |
Applies when lov.location in (LOCAL, REMOTE, SAMPLE_DATA, DUALITY_VIEW, JSON_COLLECTION, WEB_SOURCE) and lov.type NOT_EQUALS LEGACY_SQL or not set | ||||
display | string | No | maxLen=32767 | |
Applies when lov.location in (LOCAL, REMOTE, SAMPLE_DATA, DUALITY_VIEW, JSON_COLLECTION, WEB_SOURCE) and lov.type NOT_EQUALS LEGACY_SQL or not set | ||||
defaultSort | string | No | maxLen=32767 | |
Applies when lov.location in (LOCAL, REMOTE, SAMPLE_DATA, DUALITY_VIEW, JSON_COLLECTION, WEB_SOURCE) and lov.type NOT_EQUALS LEGACY_SQL or not set | ||||
sortDirection | enum | Yes | ascNullsLast | enum=[ascNullsLast, ascNullsFirst, descNullsLast, descNullsFirst] |
Applies when lov.defaultSort is set | ||||
group | string | No | maxLen=32767 | |
Applies when lov.defaultSort is set | ||||
groupSortDirection | enum | Yes | ascNullsLast | enum=[ascNullsLast, ascNullsFirst, descNullsLast, descNullsFirst] |
Applies when lov.group is set | ||||
icon | string | No | maxLen=32767 | |
Applies when lov.location in (LOCAL, REMOTE, SAMPLE_DATA, DUALITY_VIEW, JSON_COLLECTION, WEB_SOURCE) and lov.type NOT_EQUALS LEGACY_SQL or not set | ||||
quickPickRank | string | No | maxLen=32767 | |
Applies when lov.location in (LOCAL, REMOTE) and lov.type NOT_EQUALS LEGACY_SQL or not set | ||||
oracleTextIndex | string | No | maxLen=32767 | |
Applies when lov.location in (LOCAL, REMOTE) and lov.type NOT_EQUALS LEGACY_SQL or not set | ||||
columnMapping {
return: value
display: value
defaultSort: value
sortDirection: ascNullsLast
group: value
groupSortDirection: ascNullsLast
icon: fa-check
quickPickRank: value
oracleTextIndex: value
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No |
subscription {
master: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
lov "example" ( name: exampleName source { location: staticValues remoteServer:@componentsampleData: employees type: value tableOwner: value tableName: value whereClause: ``` status = 'ACTIVE' ``` graphOwner: value graphName: value matchClause: ``` Lorem ipsum dolor sit amet. ``` columnsClause: ``` Lorem ipsum dolor sit amet. ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` restSource:@componentjsonDualityView:@componentjsonSource:@componentoptimizerHint: value } dataProfile { nestedRows:@component} restSynchronization { useLocalTable: false } externalFilterAndOrderBy { enabled: false filter: ``` Lorem ipsum dolor sit amet. ``` orderBy: ``` Lorem ipsum dolor sit amet. ``` } localPostProcessing { type: whereOrderByClause whereClause: ``` status = 'ACTIVE' ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` } remoteCache { caching: allUsers timeout: ``` Lorem ipsum dolor sit amet. ``` } columnMapping { return: value display: value defaultSort: value sortDirection: ascNullsLast group: value groupSortDirection: ascNullsLast icon: fa-check quickPickRank: value oracleTextIndex: value } advanced { staticId: value } subscription { master: value } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
column
lov.location in (LOCAL, REMOTE, DUALITY_VIEW, JSON_COLLECTION, WEB_SOURCE, SAMPLE_DATA)| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
columnName | string | Yes | maxLen=128 | |
show | boolean | Yes | true |
heading
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
heading | string | No | maxLen=4000 |
heading {
heading: value
}
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 |
layout {
sequence: 42
}
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
dataType | enum | Yes | enum=[varchar2, number, date, timestamp, timestampWithTimeZone, timestampWithLocalTimeZone, intervalYearToMonth, intervalDayToSecond, clob, blob, boolean, rowid, bfile, sdoGeometry]; maxLen=128 |
source {
dataType: varchar2
}
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
formatMask | string | No | maxLen=255 | |
Applies when column.dataType in (DATE, TIMESTAMP, TIMESTAMP_TZ, TIMESTAMP_LTZ) | ||||
formatMask | string | No | maxLen=255 | |
Applies when column.dataType = NUMBER | ||||
formatMask | string | No | maxLen=255 | |
Applies when column.dataType NOT_IN_LIST DATE, TIMESTAMP, TIMESTAMP_TZ, TIMESTAMP_LTZ, NUMBER | ||||
appearance {
formatMask: value
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
searchable | boolean | Yes | true |
advanced {
searchable: false
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
column "example" (
columnName: value
show: false
heading {
heading: value
}
layout {
sequence: 42
}
source {
dataType: varchar2
}
appearance {
formatMask: value
}
advanced {
searchable: false
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
entry
lov.location = STATICentry
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 | |
display | multiline string | Yes | maxLen=4000 | |
return | string | Yes | maxLen=4000 | |
quickPickRank | integer | No | maxLen=32767; min=1 |
entry {
sequence: 42
display: ```
Lorem ipsum dolor sit amet.
```
return: value
quickPickRank: 42
}
globalization
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
template | multiline string | No | language=html; maxLen=4000 |
globalization {
template: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when entry.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when entry.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when entry.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when entry.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when entry.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when entry.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when entry.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when entry.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when entry.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when entry.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when entry.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when entry.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when entry.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when entry.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when entry.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when entry.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when entry.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when entry.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
entry "example" ( entry { sequence: 42 display: ``` Lorem ipsum dolor sit amet. ``` return: value quickPickRank: 42 } globalization { template: ``` Lorem ipsum dolor sit amet. ``` } advanced { staticId: value } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
parameter
lov.restSource is set and lov.useLocalTable = N or not set| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes |
value
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | enum=[staticValue, restSourceDefault, item, sqlQuery, expression, functionBody, collectionClob, preference, null] | |
staticValue | multiline string | Yes | maxLen=4000 | |
Applies when parameter.type = STATIC and parameter.name NOT_FEATURES BOOLEAN_PARAMETER | ||||
staticValue | enum | Yes | enum=[true, false] | |
Applies when parameter.type = STATIC and parameter.name supports BOOLEAN_PARAMETER | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.type = SQL_QUERY | ||||
item | string | Yes | maxLen=255 | |
Applies when parameter.type = ITEM | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when parameter.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when parameter.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
preference | string | Yes | maxLen=255 | |
Applies when parameter.type = PREFERENCE | ||||
name | string | Yes | maxLen=255 | |
Applies when parameter.type = COLLECTION | ||||
formatMask | string | No | maxLen=255 | |
Applies when parameter.name supports NUMBER_PARAMETER, DATE_PARAMETER, TIMESTAMP_PARAMETER, TIMESTAMP_TZ_PARAMETER and parameter.type in (STATIC, ITEM, PREFERENCE) | ||||
trueValue | string | No | maxLen=10 | |
Applies when parameter.name supports BOOLEAN_PARAMETER and parameter.type in (ITEM, PREFERENCE) | ||||
falseValue | string | No | maxLen=10 | |
Applies when parameter.name supports BOOLEAN_PARAMETER and parameter.type in (ITEM, PREFERENCE) | ||||
value {
type: staticValue
staticValue: ```
Lorem ipsum dolor sit amet.
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
item: value
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
preference: value
name: exampleName
formatMask: value
trueValue: value
falseValue: value
}
APEXlang Example
parameter "example" ( name:@componentvalue { type: staticValue staticValue: ``` Lorem ipsum dolor sit amet. ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` item: value language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` preference: value name: exampleName formatMask: value trueValue: value falseValue: value } )
mapBackground
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
type | enum | Yes | vector | enum=[raster, vector, ogcWms] |
url | string | Yes | maxLen=32767 | |
attribution | multiline string | No | maxLen=32767 | |
Applies when mapBackground.type in (RASTER, OGCWMS) | ||||
apiKey | enum | No | enum=[staticValue, webCredential] | |
staticValue | string | Yes | maxLen=32767 | |
Applies when mapBackground.apiKey = STATIC | ||||
webCredential | string | Yes | ||
Applies when mapBackground.apiKey = WEB_CREDENTIAL | ||||
httpHeaders | multiline string | No | maxLen=32767 | |
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
minZoomLevel | number | No | maxLen=22; min=0; max=24 | |
maxZoomLevel | number | No | maxLen=22; min=0; max=24 |
advanced {
staticId: value
minZoomLevel: 1
maxZoomLevel: 5
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No |
subscription {
master: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
mapBackground "example" ( name: exampleName type: raster url: value attribution: ``` Lorem ipsum dolor sit amet. ``` apiKey: staticValue staticValue: value webCredential:@componenthttpHeaders: ``` Lorem ipsum dolor sit amet. ``` advanced { staticId: value minZoomLevel: 1 maxZoomLevel: 5 } subscription { master: value } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
page
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
page | number | Yes | maxLen=10 | |
name | string | Yes | maxLen=255 Enter the name of the current page. This name is used in numerous Oracle APEX pages and reports, along with the page number and title. | |
alias | string | No | maxLen=80 | |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
title | string | No | maxLen=255 Enter a title that will be displayed in the title bar of the browser window, and announced to screen reader users when they first open the page.
The Oracle APEX engine uses the title you specify here in place of the A good page title should provide a clear and concise description of the purpose of the page, can include the application name and sub-section of the application for additional context, and should always include the most important, and unique information first. For example, if you have a 'Products' page in an 'Administration' section of a 'Customer Portal' application, the page title could be defined as 'Products | Admin | Customer Portal'. | |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
pageGroup | string | No | ||
Applies when app.type in (STANDARD, PATTERN) | ||||
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
pageMode | enum | Yes | normal | enum=[normal, modalDialog, nonModalDialog] |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
pageTemplate | string | Yes | ||
Applies when page.pageMode = NORMAL and app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
dialogTemplate | string | Yes | ||
Applies when page.pageMode in (MODAL, NON_MODAL) | ||||
templateOptions | array of strings | No | ||
cssClasses | array of strings | No | maxLen=255 Enter classes to add to this component. You may add multiple classes by separating them with spaces. | |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
mediaType | string | No | maxLen=255 | |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
appearance { pageMode: normal pageTemplate:@componentdialogTemplate:@componenttemplateOptions: [ value1 value2 ] cssClasses: [ value1 value2 ] mediaType: value }
dialog
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
width | string | No | maxLen=20 | |
Applies when page.pageMode in (MODAL, NON_MODAL) | ||||
height | string | No | maxLen=20 | |
Applies when page.pageMode in (MODAL, NON_MODAL) | ||||
maxWidth | string | No | maxLen=20 | |
Applies when page.pageMode in (MODAL, NON_MODAL) | ||||
attributes | array of strings | No | maxLen=255 | |
Applies when page.pageMode in (MODAL, NON_MODAL) | ||||
cssClasses | array of strings | No | maxLen=255 | |
Applies when page.pageMode in (MODAL, NON_MODAL) | ||||
chained | boolean | Yes | true | |
Applies when page.pageMode in (MODAL, NON_MODAL) | ||||
resizable | boolean | Yes | true | |
Applies when page.pageMode in (MODAL, NON_MODAL) | ||||
dialog {
width: unique-id
height: value
maxWidth: unique-id
attributes: [
value1
value2
]
cssClasses: [
value1
value2
]
chained: false
resizable: false
}
navigationMenu
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
overrideUserInterfaceLevel | boolean | Yes | false | |
Applies when app.currentTheme supports HAS_LIST_NAVIGATION and app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
list | string | No | ||
Applies when page.overrideUserInterfaceLevel = Y | ||||
listPosition | enum | Yes | enum=[top, side] | |
Applies when page.list is set | ||||
listTemplate | string | Yes | ||
Applies when page.list is set | ||||
templateOptions | array of strings | No | ||
Applies when page.list is set | ||||
navigationMenu { overrideUserInterfaceLevel: false list:@componentlistPosition: top listTemplate:@componenttemplateOptions: [ value1 value2 ] }
navigation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
cursorFocus | enum | Yes | firstItemOnPage | enum=[firstItemOnPage, doNotFocusCursor] |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
warnOnUnsavedChanges | boolean | Yes | true | |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
navigation {
cursorFocus: firstItemOnPage
warnOnUnsavedChanges: false
}
javaScript
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
fileUrls | array of strings | No | maxLen=4000 | |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
functionAndGlobalVariableDeclaration | multiline string | No | language=javascript-browser; maxLen=32767 | |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
executeWhenPageLoads | multiline string | No | language=javascript-browser; maxLen=32767 | |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
includeStandardJavaScriptAndCss | boolean | Yes | true | |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
javaScript {
fileUrls: [
value1
value2
]
functionAndGlobalVariableDeclaration: ```
apex.message.alert( "Load complete." );
```
executeWhenPageLoads: ```
apex.message.alert( "Load complete." );
```
includeStandardJavaScriptAndCss: false
}
css
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
fileUrls | array of strings | No | maxLen=4000 | |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
inline | multiline string | No | language=css; maxLen=32767 | |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
css {
fileUrls: [
value1
value2
]
inline: ```
.app-example {
color: inherit;
}
```
}
htmlHeader
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
htmlHeader | multiline string | No | language=html; maxLen=32767 | |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
pageHtmlBodyAttribute | multiline string | No | maxLen=4000 | |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
htmlHeader {
htmlHeader: ```
Lorem ipsum dolor sit amet.
```
pageHtmlBodyAttribute: ```
Lorem ipsum dolor sit amet.
```
}
headerAndFooter
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
headerText | multiline string | No | language=html; maxLen=4000 | |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
bodyHeader | multiline string | No | language=html; maxLen=4000 | |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
footerText | multiline string | No | language=html; maxLen=4000 | |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
headerAndFooter {
headerText: ```
Lorem ipsum dolor sit amet.
```
bodyHeader: ```
Lorem ipsum dolor sit amet.
```
footerText: ```
Lorem ipsum dolor sit amet.
```
}
readOnly
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when page.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when page.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when page.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when page.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when page.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when page.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when page.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when page.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when page.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when page.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when page.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when page.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when page.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when page.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when page.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when page.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when page.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when page.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
readOnly {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No | Select an authorization scheme applied to the page. Authorization schemes are defined at the application-level and can be applied to many elements within the application. An authorization scheme is evaluated either once for each application session (at session creation), or once for each page view. If the selected authorization scheme evaluates to TRUE, then the page displays and is subject to other defined conditions. If it evaluates to FALSE, then the page does not display and an error message displays. | |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
authentication | enum | Yes | required | enum=[required, public] |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
deepLinking | enum | No | enum=[true, false] | |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
pageAccessProtection | enum | Yes | unrestricted | enum=[unrestricted, argumentsMustHaveChecksum, noArgumentsSupported, noUrlAccess] |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
formAutoComplete | enum | Yes | true | enum=[true, false] |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
browserCache | enum | No | enum=[true, false] | |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
security { authorizationScheme:@componentauthentication: required deepLinking: true pageAccessProtection: unrestricted formAutoComplete: true browserCache: true }
sessionManagement
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
rejoinSessions | enum | No | enum=[false, publicSessions, allSessions] | |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
sessionManagement {
rejoinSessions: false
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
enableMetaTags | boolean | Yes | false | |
Applies when page.authentication = Y | ||||
enableDuplicatePageSubmissions | enum | Yes | true | enum=[false, true] |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
reloadOnSubmit | enum | Yes | onlyForSuccess | enum=[always, onlyForSuccess] |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
duplicateSubmissionUrl | string | No | maxLen=4000 | |
Applies when page.enableDuplicatePageSubmissions = N | ||||
advanced {
enableMetaTags: false
enableDuplicatePageSubmissions: false
reloadOnSubmit: always
duplicateSubmissionUrl: value
}
serverCache
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
caching | enum | Yes | false | enum=[false, true, cacheByUser, cacheBySession] |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
cacheTimeout | enum | Yes | 6Hours | enum=[10Seconds, 1Minute, 10Minutes, 30Minutes, 1Hour, 2Hours, 3Hours, 4Hours, 6Hours, 12Hours, 1Day, 2Days, 3Days, 4Days, 1Week, 2Weeks, 4Weeks, 10Weeks, 1Year] |
Applies when page.caching NOT_EQUALS NOCACHE | ||||
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
Applies when page.caching NOT_EQUALS NOCACHE | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when page.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when page.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when page.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when page.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when page.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when page.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when page.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when page.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when page.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when page.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when page.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when page.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when page.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when page.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when page.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when page.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when page.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when page.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverCache {
caching: false
cacheTimeout: "10Seconds"
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
errorHandling
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
inLineErrorNotificationText | multiline string | No | maxLen=4000 | |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
errorHandlingFunctionName | string | No | maxLen=255 | |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
errorHandling {
inLineErrorNotificationText: ```
Lorem ipsum dolor sit amet.
```
errorHandlingFunctionName: value
}
help
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
helpText | multiline string | No | language=html; maxLen=32767 | |
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No | ||
Applies when app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID# | ||||
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
page "example" ( page: 42 name: exampleName alias: value title: "Page title" pageGroup:@componentappearance { pageMode: normal pageTemplate:@componentdialogTemplate:@componenttemplateOptions: [ value1 value2 ] cssClasses: [ value1 value2 ] mediaType: value } dialog { width: unique-id height: value maxWidth: unique-id attributes: [ value1 value2 ] cssClasses: [ value1 value2 ] chained: false resizable: false } navigationMenu { overrideUserInterfaceLevel: false list:@componentlistPosition: top listTemplate:@componenttemplateOptions: [ value1 value2 ] } navigation { cursorFocus: firstItemOnPage warnOnUnsavedChanges: false } javaScript { fileUrls: [ value1 value2 ] functionAndGlobalVariableDeclaration: ``` apex.message.alert( "Load complete." ); ``` executeWhenPageLoads: ``` apex.message.alert( "Load complete." ); ``` includeStandardJavaScriptAndCss: false } css { fileUrls: [ value1 value2 ] inline: ``` .app-example { color: inherit; } ``` } htmlHeader { htmlHeader: ``` Lorem ipsum dolor sit amet. ``` pageHtmlBodyAttribute: ``` Lorem ipsum dolor sit amet. ``` } headerAndFooter { headerText: ``` Lorem ipsum dolor sit amet. ``` bodyHeader: ``` Lorem ipsum dolor sit amet. ``` footerText: ``` Lorem ipsum dolor sit amet. ``` } readOnly { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@componentauthentication: required deepLinking: true pageAccessProtection: unrestricted formAutoComplete: true browserCache: true } sessionManagement { rejoinSessions: false } advanced { enableMetaTags: false enableDuplicatePageSubmissions: false reloadOnSubmit: always duplicateSubmissionUrl: value } serverCache { caching: false cacheTimeout: "10Seconds" type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } errorHandling { inLineErrorNotificationText: ``` Lorem ipsum dolor sit amet. ``` errorHandlingFunctionName: value } help { helpText: ``` Lorem ipsum dolor sit amet. ``` } config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
branch
app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID#| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | No | maxLen=255 Enter the name of the branch for easy identification by developers. |
execution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 | |
point | enum | Yes | afterProcessing | enum=[beforeHeader, afterSubmit, validating, processing, afterProcessing] |
execution {
sequence: 42
point: beforeHeader
}
behavior
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | pageOrUrl | enum=[pageOrUrl, urlIdentifiedByItem, functionReturningUrl, page, pageIdentifiedByItem, functionReturningPage, plsqlProcedure, pageProcessing] |
target | complex | Yes | maxLen=32767 | |
Applies when branch.type = REDIRECT_URL | ||||
saveStateBeforeBranching | boolean | Yes | false | |
Applies when branch.type = REDIRECT_URL | ||||
pageNumber | integer | Yes | maxLen=20 | |
Applies when branch.type in (BRANCH_TO_STEP, BRANCH_TO_PAGE_ACCEPT) | ||||
request | string | No | maxLen=128 | |
Applies when branch.type = BRANCH_TO_PAGE_ACCEPT | ||||
item | string | Yes | maxLen=255 | |
Applies when branch.type in (BRANCH_TO_PAGE_IDENT_BY_ITEM, BRANCH_TO_URL_IDENT_BY_ITEM) | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when branch.type in (BRANCH_TO_FUNCTION_RETURNING_PAGE, BRANCH_TO_FUNCTION_RETURNING_URL) | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when branch.language in (PLSQL) | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when branch.language in (JAVASCRIPT) | ||||
plsqlCode | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when branch.type = PLSQL | ||||
behavior {
type: pageOrUrl
target: value
saveStateBeforeBranching: false
pageNumber: 42
request: value
item: value
language: plsql
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
plsqlCode: ```
apex_debug.message('Processing APEXlang component');
apex_collection.create_or_truncate_collection(
p_collection_name => 'EXAMPLE_ROWS'
);
```
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
whenButtonPressed | string | No | ||
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when branch.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when branch.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when branch.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when branch.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when branch.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when branch.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when branch.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when branch.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when branch.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when branch.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when branch.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when branch.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when branch.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when branch.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when branch.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when branch.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when branch.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when branch.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition { whenButtonPressed:@componenttype: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] }
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No |
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
branch "example" ( name: exampleName execution { sequence: 42 point: beforeHeader } behavior { type: pageOrUrl target: value saveStateBeforeBranching: false pageNumber: 42 request: value item: value language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` plsqlCode: ``` apex_debug.message('Processing APEXlang component'); apex_collection.create_or_truncate_collection( p_collection_name => 'EXAMPLE_ROWS' ); ``` } serverSideCondition { whenButtonPressed:@componenttype: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@component} config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
button
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buttonName | string | Yes | maxLen=255 Enter the name used to reference the button being clicked. When this page is submitted, the value of REQUEST is set to this button name. | |
label | string | Yes | maxLen=255 |
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 | |
region | string | No | Select the region in which the button will be displayed. | |
slot | string | Yes | ||
startNewLayout | boolean | Yes | false | |
startNewRow | boolean | Yes | true | |
Applies when button.startNewLayout = N or not set | ||||
rowCssClasses | array of strings | No | maxLen=255 | |
column | string | No | ||
newColumn | boolean | Yes | true | |
Applies when button.startNewRow = N or not set | ||||
columnSpan | string | No | ||
rowSpan | number | No | maxLen=22 | |
columnCssClasses | array of strings | No | maxLen=255 | |
columnAttributes | array of strings | No | maxLen=255 | |
horizontalAlignment | enum | Yes | right | enum=[left, right] |
Applies when button.slot in (TOP, TOP_AND_BOTTOM, ABOVE_BOX, BELOW_BOX, BOTTOM) | ||||
alignment | enum | Yes | leftCenter | enum=[center, centerBottom, centerCenter, centerTop, left, leftBottom, leftCenter, leftTop, right, rightBottom, rightCenter, rightTop] |
Applies when button.slot = BODY | ||||
layout { sequence: 42 region:@componentslot: value startNewLayout: false startNewRow: false rowCssClasses: [ value1 value2 ] column: value newColumn: false columnSpan: value rowSpan: 42 columnCssClasses: [ value1 value2 ] columnAttributes: [ value1 value2 ] horizontalAlignment: left alignment: center }
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buttonTemplate | string | Yes | ||
hot | boolean | Yes | false | |
showAsDisabled | boolean | Yes | false | Specify whether to render the button or menu entries as disabled instead of hiding them if the defined server-side condition evaluates to FALSE. |
Applies when button.buttonTemplate supports IS_DISABLED | ||||
templateOptions | array of strings | No | ||
cssClasses | array of strings | No | maxLen=255 Enter classes to add to this component. You may add multiple classes by separating them with spaces. | |
icon | string | No | maxLen=255 | |
appearance { buttonTemplate:@componenthot: false showAsDisabled: false templateOptions: [ value1 value2 ] cssClasses: [ value1 value2 ] icon: fa-check }
behavior
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | string | Yes | STANDARD | |
action | enum | Yes | submitPage | enum=[submitPage, triggerAction, redirectThisApp, redirectOtherApp, redirectUrl, definedByDynamicAction, resetPage, nextPage, previousPage] |
Applies when button.type = STANDARD | ||||
target | complex | Yes | maxLen=32767 Click the Target to invoke a modal dialog. You can enter the target to be called when this button is clicked. Only enter a target for buttons that should not invoke page processing when clicked (for example, a Cancel button). | |
Applies when button.action = REDIRECT_PAGE | ||||
target | complex | Yes | maxLen=32767 Click the Target to invoke a modal dialog. You can enter the target to be called when this button is clicked. Only enter a target for buttons that should not invoke page processing when clicked (for example, a Cancel button). | |
Applies when button.action = REDIRECT_APP | ||||
targetUrl | string | Yes | maxLen=4000 Enter the URL to call when this button is clicked. Only enter a target for buttons that should not invoke page processing when clicked, for example a Cancel button. | |
Applies when button.action = REDIRECT_URL | ||||
executeValidations | boolean | Yes | true | |
Applies when button.action in (SUBMIT, REDIRECT_URL, DEFINED_BY_DA, DEFINED_BY_DA_ACTION) | ||||
showProcessing | boolean | Yes | false | |
Applies when button.action = SUBMIT | ||||
warnOnUnsavedChanges | enum | No | enum=[doNotCheck] | |
Applies when button.action NOT_IN_LIST DEFINED_BY_DA, DEFINED_BY_DA_ACTION | ||||
databaseAction | enum | No | enum=[insert, update, delete] | |
Applies when button.type = STANDARD | ||||
requiresConfirmation | boolean | Yes | false | |
Applies when button.type = STANDARD | ||||
behavior {
type: value
action: submitPage
target: value
targetUrl: value
executeValidations: false
showProcessing: false
warnOnUnsavedChanges: doNotCheck
databaseAction: insert
requiresConfirmation: false
}
confirmation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
message | multiline string | Yes | language=html; maxLen=4000 | |
Applies when button.requiresConfirmation = Y | ||||
style | enum | No | enum=[information, warning, danger, success] | |
Applies when button.requiresConfirmation = Y | ||||
confirmation {
message: ```
Lorem ipsum dolor sit amet.
```
style: information
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
htmlDomId | string | No | maxLen=255; regex=/^[^:/,+?^'"
]+$/Enter the DOM ID for the button. If defined, the DOM ID is used as the ID for the button. The DOM ID can be useful when developing custom JavaScript behavior for the button. If the DOM ID is not defined, the button generates an internal ID.
Note: The template must include the | |
staticId | string | Yes | maxLen=255 | |
customAttributes | string | No | maxLen=2000 Enter HTML text to include for this button:
You can use this attribute to control tab stops | |
preText | multiline string | No | language=html; maxLen=4000 | |
postText | multiline string | No | language=html; maxLen=4000 | |
requestSourceType | enum | No | enum=[staticValue, databaseColumn, item, sqlQuerySingleValue, sqlQueryMultipleValues, plsqlExpression, plsqlFunctionBody, preference, null] | |
requestSource | multiline string | No | maxLen=4000 | |
Applies when button.requestSourceType is set | ||||
advanced {
htmlDomId: value
staticId: value
customAttributes: value
preText: ```
Lorem ipsum dolor sit amet.
```
postText: ```
Lorem ipsum dolor sit amet.
```
requestSourceType: staticValue
requestSource: ```
Lorem ipsum dolor sit amet.
```
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when button.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when button.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when button.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when button.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when button.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when button.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when button.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when button.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when button.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when button.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when button.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when button.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when button.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when button.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when button.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when button.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when button.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when button.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No |
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
button "example" ( buttonName: value label: label layout { sequence: 42 region:@componentslot: value startNewLayout: false startNewRow: false rowCssClasses: [ value1 value2 ] column: value newColumn: false columnSpan: value rowSpan: 42 columnCssClasses: [ value1 value2 ] columnAttributes: [ value1 value2 ] horizontalAlignment: left alignment: center } appearance { buttonTemplate:@componenthot: false showAsDisabled: false templateOptions: [ value1 value2 ] cssClasses: [ value1 value2 ] icon: fa-check } behavior { type: value action: submitPage target: value targetUrl: value executeValidations: false showProcessing: false warnOnUnsavedChanges: doNotCheck databaseAction: insert requiresConfirmation: false } confirmation { message: ``` Lorem ipsum dolor sit amet. ``` style: information } advanced { htmlDomId: value staticId: value customAttributes: value preText: ``` Lorem ipsum dolor sit amet. ``` postText: ``` Lorem ipsum dolor sit amet. ``` requestSourceType: staticValue requestSource: ``` Lorem ipsum dolor sit amet. ``` } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@component} config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
menu
button.type = MENU| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | menuEntry | enum=[menuEntry, subMenu, separator] |
label | string | Yes | maxLen=255 Enter the text to be displayed in the menu. | |
Applies when menu.type in (ENTRY, SUB_MENU) | ||||
parentMenu | string | No | ||
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 Enter the display sequence for this menu entry. This is used to evaluate the display condition and render in the order defined. |
layout {
sequence: 42
}
behavior
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | redirectThisApp | enum=[redirectThisApp, redirectOtherApp, redirectUrl, triggerAction] |
Applies when menu.type = ENTRY | ||||
target | complex | Yes | maxLen=32767 | |
Applies when menu.type = REDIRECT_PAGE | ||||
target | complex | Yes | maxLen=32767 | |
Applies when menu.type = REDIRECT_APP | ||||
targetUrl | string | Yes | maxLen=4000 | |
Applies when menu.type = REDIRECT_URL | ||||
linkAttributes | string | No | maxLen=4000 | |
Applies when menu.type in (REDIRECT_PAGE, REDIRECT_APP, REDIRECT_URL) | ||||
behavior {
type: redirectThisApp
target: value
targetUrl: value
linkAttributes: value
}
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
icon | string | No | maxLen=255 | |
Applies when menu.type in (ENTRY, SUB_MENU) | ||||
appearance {
icon: fa-check
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
Applies when menu.type in (ENTRY, SUB_MENU) | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when menu.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when menu.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when menu.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when menu.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when menu.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when menu.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when menu.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when menu.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when menu.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when menu.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when menu.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when menu.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when menu.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when menu.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when menu.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when menu.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when menu.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when menu.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No | ||
Applies when menu.type in (ENTRY, SUB_MENU) | ||||
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
menu "example" ( type: menuEntry label: label parentMenu:@componentlayout { sequence: 42 } behavior { type: redirectThisApp target: value targetUrl: value linkAttributes: value } appearance { icon: fa-check } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } advanced { staticId: value } security { authorizationScheme:@component} config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
triggerAction
menu.type = DEFINED_BY_DA_ACTION| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | No | maxLen=255 Enter the name of the action. This helps to identify what the action does in Page Designer. | |
action | string | Yes |
genAI
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
enabled | boolean | Yes | false | |
Applies when triggerAction.action supports AI_ENABLED | ||||
agent | string | No | ||
Applies when triggerAction.action supports AI_ENABLED_ALWAYS, AI_ENABLED and triggerAction.enabled = Y or not set | ||||
service | string | No | ||
Applies when triggerAction.agent NULL | ||||
systemPrompt | multiline string | No | maxLen=32767 | |
Applies when triggerAction.action supports AI_SYSTEM_PROMPT and triggerAction.agent NULL | ||||
welcomeMessage | multiline string | No | language=html; maxLen=32767 | |
Applies when triggerAction.action supports AI_UI and triggerAction.agent NULL | ||||
itemsToSubmit | array of strings | No | maxLen=4000 | |
Applies when triggerAction.action supports AI_ENABLED_ALWAYS, AI_ENABLED and triggerAction.enabled = Y or not set | ||||
genAI { enabled: false agent:@componentservice:@componentsystemPrompt: ``` Lorem ipsum dolor sit amet. ``` welcomeMessage: ``` Lorem ipsum dolor sit amet. ``` itemsToSubmit: [ value1 value2 ] }
affectedElements
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
selectionType | string | Yes | ||
Applies when triggerAction.action supports ITEM, BUTTON, REGION, JQUERY_SELECTOR, JAVASCRIPT_EXPRESSION, TRIGGERING_ELEMENT, EVENT_SOURCE | ||||
region | string | Yes | ||
Applies when triggerAction.selectionType = REGION | ||||
button | string | Yes | ||
Applies when triggerAction.selectionType = BUTTON | ||||
items | array of strings | Yes | maxLen=4000 | |
Applies when triggerAction.selectionType = ITEM | ||||
jquerySelector | string | Yes | maxLen=4000 | |
Applies when triggerAction.selectionType = JQUERY_SELECTOR | ||||
javaScriptExpression | multiline string | Yes | language=javascript-browser; maxLen=4000 | |
Applies when triggerAction.selectionType = JAVASCRIPT_EXPRESSION | ||||
affectedElements { selectionType: value region:@componentbutton:@componentitems: [ value1 value2 ] jquerySelector: "select * from table_name" javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` }
execution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 | |
stopExecutionOnError | boolean | Yes | true | |
Applies when triggerAction.action supports STOP_EXECUTION_ON_ERROR | ||||
waitForResult | boolean | Yes | true | |
Applies when triggerAction.action supports WAIT_FOR_RESULT | ||||
execution {
sequence: 42
stopExecutionOnError: false
waitForResult: false
}
clientSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[item=value, item!=value, item>value, item>=value, item<value, item<=value, itemIsNull, itemIsNotNull, itemIsInList, itemIsNotInList, jsExpression]Specify a client-side condition, to control whether the action fires. | |
item | string | Yes | maxLen=4000 Enter the page item used in this condition. You can type in the name or pick from the list of available items. | |
Applies when triggerAction.type in (EQUALS, NOT_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL, NULL, NOT_NULL, IN_LIST, NOT_IN_LIST) | ||||
value | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (EQUALS, NOT_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when triggerAction.type in (IN_LIST, NOT_IN_LIST) | ||||
javaScriptExpression | multiline string | Yes | language=javascript-browser; maxLen=4000 | |
Applies when triggerAction.type = JAVASCRIPT_EXPRESSION | ||||
clientSideCondition {
type: "item=value"
item: value
value: value
list: [
value1
value2
]
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never]Select a condition type to be met in order for this action to be active. | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when triggerAction.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when triggerAction.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when triggerAction.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when triggerAction.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when triggerAction.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when triggerAction.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when triggerAction.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when triggerAction.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when triggerAction.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when triggerAction.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when triggerAction.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when triggerAction.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No |
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
initJavaScriptFunction | multiline string | No | language=javascript-browser; maxLen=4000 | |
Applies when triggerAction.action supports INIT_JAVASCRIPT_CODE | ||||
advanced {
staticId: value
initJavaScriptFunction: ```
apex.message.alert( "Load complete." );
```
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
triggerAction "example" ( name: exampleName action: staticContent genAI { enabled: false agent:@componentservice:@componentsystemPrompt: ``` Lorem ipsum dolor sit amet. ``` welcomeMessage: ``` Lorem ipsum dolor sit amet. ``` itemsToSubmit: [ value1 value2 ] } affectedElements { selectionType: value region:@componentbutton:@componentitems: [ value1 value2 ] jquerySelector: "select * from table_name" javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` } execution { sequence: 42 stopExecutionOnError: false waitForResult: false } clientSideCondition { type: "item=value" item: value value: value list: [ value1 value2 ] javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@component} config { buildOption:@component} advanced { staticId: value initJavaScriptFunction: ``` apex.message.alert( "Load complete." ); ``` } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
triggerAction
button.action = DEFINED_BY_DA_ACTION| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | No | maxLen=255 Enter the name of the action. This helps to identify what the action does in Page Designer. | |
action | string | Yes |
genAI
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
enabled | boolean | Yes | false | |
Applies when triggerAction.action supports AI_ENABLED | ||||
agent | string | No | ||
Applies when triggerAction.action supports AI_ENABLED_ALWAYS, AI_ENABLED and triggerAction.enabled = Y or not set | ||||
service | string | No | ||
Applies when triggerAction.agent NULL | ||||
systemPrompt | multiline string | No | maxLen=32767 | |
Applies when triggerAction.action supports AI_SYSTEM_PROMPT and triggerAction.agent NULL | ||||
welcomeMessage | multiline string | No | language=html; maxLen=32767 | |
Applies when triggerAction.action supports AI_UI and triggerAction.agent NULL | ||||
itemsToSubmit | array of strings | No | maxLen=4000 | |
Applies when triggerAction.action supports AI_ENABLED_ALWAYS, AI_ENABLED and triggerAction.enabled = Y or not set | ||||
genAI { enabled: false agent:@componentservice:@componentsystemPrompt: ``` Lorem ipsum dolor sit amet. ``` welcomeMessage: ``` Lorem ipsum dolor sit amet. ``` itemsToSubmit: [ value1 value2 ] }
affectedElements
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
selectionType | string | Yes | ||
Applies when triggerAction.action supports ITEM, BUTTON, REGION, JQUERY_SELECTOR, JAVASCRIPT_EXPRESSION, TRIGGERING_ELEMENT, EVENT_SOURCE | ||||
region | string | Yes | ||
Applies when triggerAction.selectionType = REGION | ||||
button | string | Yes | ||
Applies when triggerAction.selectionType = BUTTON | ||||
items | array of strings | Yes | maxLen=4000 | |
Applies when triggerAction.selectionType = ITEM | ||||
jquerySelector | string | Yes | maxLen=4000 | |
Applies when triggerAction.selectionType = JQUERY_SELECTOR | ||||
javaScriptExpression | multiline string | Yes | language=javascript-browser; maxLen=4000 | |
Applies when triggerAction.selectionType = JAVASCRIPT_EXPRESSION | ||||
affectedElements { selectionType: value region:@componentbutton:@componentitems: [ value1 value2 ] jquerySelector: "select * from table_name" javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` }
execution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 | |
stopExecutionOnError | boolean | Yes | true | |
Applies when triggerAction.action supports STOP_EXECUTION_ON_ERROR | ||||
waitForResult | boolean | Yes | true | |
Applies when triggerAction.action supports WAIT_FOR_RESULT | ||||
execution {
sequence: 42
stopExecutionOnError: false
waitForResult: false
}
clientSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[item=value, item!=value, item>value, item>=value, item<value, item<=value, itemIsNull, itemIsNotNull, itemIsInList, itemIsNotInList, jsExpression]Specify a client-side condition, to control whether the action fires. | |
item | string | Yes | maxLen=4000 Enter the page item used in this condition. You can type in the name or pick from the list of available items. | |
Applies when triggerAction.type in (EQUALS, NOT_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL, NULL, NOT_NULL, IN_LIST, NOT_IN_LIST) | ||||
value | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (EQUALS, NOT_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when triggerAction.type in (IN_LIST, NOT_IN_LIST) | ||||
javaScriptExpression | multiline string | Yes | language=javascript-browser; maxLen=4000 | |
Applies when triggerAction.type = JAVASCRIPT_EXPRESSION | ||||
clientSideCondition {
type: "item=value"
item: value
value: value
list: [
value1
value2
]
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never]Select a condition type to be met in order for this action to be active. | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when triggerAction.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when triggerAction.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when triggerAction.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when triggerAction.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when triggerAction.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when triggerAction.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when triggerAction.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when triggerAction.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when triggerAction.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when triggerAction.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when triggerAction.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when triggerAction.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No |
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
initJavaScriptFunction | multiline string | No | language=javascript-browser; maxLen=4000 | |
Applies when triggerAction.action supports INIT_JAVASCRIPT_CODE | ||||
advanced {
staticId: value
initJavaScriptFunction: ```
apex.message.alert( "Load complete." );
```
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
triggerAction "example" ( name: exampleName action: staticContent genAI { enabled: false agent:@componentservice:@componentsystemPrompt: ``` Lorem ipsum dolor sit amet. ``` welcomeMessage: ``` Lorem ipsum dolor sit amet. ``` itemsToSubmit: [ value1 value2 ] } affectedElements { selectionType: value region:@componentbutton:@componentitems: [ value1 value2 ] jquerySelector: "select * from table_name" javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` } execution { sequence: 42 stopExecutionOnError: false waitForResult: false } clientSideCondition { type: "item=value" item: value value: value list: [ value1 value2 ] javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@component} config { buildOption:@component} advanced { staticId: value initJavaScriptFunction: ``` apex.message.alert( "Load complete." ); ``` } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
computation
app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID#| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
itemName | string | Yes | maxLen=255 |
execution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 | |
point | enum | Yes | beforeRegions | enum=[newSession, beforeHeader, afterHeader, beforeRegions, afterRegions, beforeFooter, afterFooter, afterSubmit] |
execution {
sequence: 42
point: newSession
}
computation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | sqlQuerySingleValue | enum=[staticValue, item, sqlQuerySingleValue, sqlQueryMultipleValues, expression, functionBody, preference] |
staticValue | string | No | maxLen=4000 | |
Applies when computation.type = STATIC_ASSIGNMENT | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when computation.type = QUERY | ||||
computationProcessed | enum | No | enum=[newSession, replaceExisting, addToExisting, raiseErrorOnReplace, replaceNullValues] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when computation.type = QUERY_COLON | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when computation.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when computation.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when computation.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when computation.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when computation.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when computation.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when computation.language = JAVASCRIPT | ||||
itemName | string | Yes | maxLen=4000 | |
Applies when computation.type = ITEM_VALUE | ||||
preference | string | Yes | maxLen=4000 | |
Applies when computation.type = SET_ITEM_EQUAL_THIS_PREFERENCE | ||||
computation {
type: staticValue
staticValue: value
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
computationProcessed: newSession
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
itemName: value
preference: value
}
error
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
errorMessage | multiline string | No | maxLen=4000 Enter an error message that displays if this computation fails.
Use Computations are designed to always succeed, and only fail due to unanticipated errors. It is not advisable to implement a computation that regularly fails and acts as a pseudo-validation utilizing this error message. |
error {
errorMessage: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when computation.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when computation.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when computation.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when computation.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when computation.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when computation.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when computation.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when computation.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when computation.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when computation.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when computation.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when computation.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when computation.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when computation.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when computation.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when computation.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when computation.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when computation.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No |
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
computation "example" ( itemName: value execution { sequence: 42 point: newSession } computation { type: staticValue staticValue: value sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` computationProcessed: newSession language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` itemName: value preference: value } error { errorMessage: ``` Lorem ipsum dolor sit amet. ``` } advanced { staticId: value } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@component} config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
dynamicAction
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 Enter the name of the dynamic action. |
execution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 | |
eventScope | enum | Yes | static | enum=[static, dynamic, once] |
staticContainer | string | No | maxLen=255 | |
Applies when dynamicAction.eventScope = live | ||||
type | enum | Yes | immediate | enum=[immediate, debounce, throttle] |
Applies when dynamicAction.event NOT_IN_LIST ready, unload, resize, apexbeforepagesubmit and dynamicAction.eventScope in (bind, live) | ||||
time | integer | Yes | maxLen=32767; min=1 | |
Applies when dynamicAction.type in (DEBOUNCE, THROTTLE) | ||||
immediate | boolean | Yes | false | |
Applies when dynamicAction.type in (DEBOUNCE, THROTTLE) | ||||
execution {
sequence: 42
eventScope: static
staticContainer: value
type: immediate
time: 42
immediate: false
}
when
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
event | string | Yes | change | |
customEvent | string | Yes | maxLen=130 | |
Applies when dynamicAction.event = custom | ||||
selectionType | enum | Yes | enum=[items, button, region, columns, domObject, jQuerySelector, jsExpression] | |
Applies when dynamicAction.event NOT_IN_LIST apexbeforepagesubmit, unload, resize, ready, orientationchange | ||||
region | string | Yes | ||
Applies when dynamicAction.selectionType = REGION | ||||
interactiveGrid | string | Yes | ||
Applies when dynamicAction.selectionType = COLUMN | ||||
columns | array of strings | Yes | maxLen=4000 | |
Applies when dynamicAction.selectionType = COLUMN | ||||
button | string | Yes | ||
Applies when dynamicAction.selectionType = BUTTON | ||||
items | array of strings | Yes | maxLen=4000 | |
Applies when dynamicAction.selectionType = ITEM | ||||
domObject | string | Yes | maxLen=4000 | |
Applies when dynamicAction.selectionType = DOM_OBJECT | ||||
jquerySelector | string | Yes | maxLen=4000 | |
Applies when dynamicAction.selectionType = JQUERY_SELECTOR | ||||
javaScriptExpression | multiline string | Yes | language=javascript-browser; maxLen=4000 | |
Applies when dynamicAction.selectionType = JAVASCRIPT_EXPRESSION | ||||
when { event: staticContent customEvent: value selectionType: items region:@componentinteractiveGrid:@componentcolumns: [ value1 value2 ] button:@componentitems: [ value1 value2 ] domObject: value jquerySelector: "select * from table_name" javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` }
clientSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[item=value, item!=value, item>value, item>=value, item<value, item<=value, itemIsNull, itemIsNotNull, itemIsInList, itemIsNotInList, jsExpression] | |
Applies when dynamicAction.interactiveGrid NULL or not set and dynamicAction.region NOT_FEATURES IG_REGION or not set | ||||
item | string | Yes | maxLen=4000 Enter the page item used in this condition. You can type in the name or pick from the list of available items. | |
Applies when dynamicAction.type in (EQUALS, NOT_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL, NULL, NOT_NULL, IN_LIST, NOT_IN_LIST) | ||||
value | string | Yes | maxLen=4000 | |
Applies when dynamicAction.type in (EQUALS, NOT_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when dynamicAction.type in (IN_LIST, NOT_IN_LIST) | ||||
javaScriptExpression | multiline string | Yes | language=javascript-browser; maxLen=4000 | |
Applies when dynamicAction.type = JAVASCRIPT_EXPRESSION | ||||
type | enum | No | enum=[itemColumn=value, itemColumn!=value, itemColumn>value, itemColumn>=value, itemColumn<value, itemColumn<=value, itemColumnIsNull, itemColumnIsNotNull, itemColumnIsInList, itemColumnIsNotInList, jsExpression] | |
Applies when dynamicAction.interactiveGrid is set or dynamicAction.region supports IG_REGION | ||||
componentType | enum | Yes | column | enum=[item, column] |
Applies when dynamicAction.type in (EQUALS, NOT_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL, NULL, NOT_NULL, IN_LIST, NOT_IN_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when dynamicAction.componentType = ITEM | ||||
column | string | Yes | maxLen=4000 | |
Applies when dynamicAction.componentType = COLUMN | ||||
value | string | Yes | maxLen=4000 | |
Applies when dynamicAction.type in (EQUALS, NOT_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when dynamicAction.type in (IN_LIST, NOT_IN_LIST) | ||||
javaScriptExpression | multiline string | Yes | language=javascript-browser; maxLen=4000 | |
Applies when dynamicAction.type = JAVASCRIPT_EXPRESSION | ||||
clientSideCondition {
type: "item=value"
item: value
value: value
list: [
value1
value2
]
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
componentType: item
column: value
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never]Select a condition type to be met in order for this dynamic action to be active. | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when dynamicAction.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when dynamicAction.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when dynamicAction.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when dynamicAction.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when dynamicAction.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when dynamicAction.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when dynamicAction.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when dynamicAction.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when dynamicAction.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when dynamicAction.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when dynamicAction.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when dynamicAction.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when dynamicAction.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when dynamicAction.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when dynamicAction.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when dynamicAction.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when dynamicAction.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when dynamicAction.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No |
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
dynamicAction "example" ( name: exampleName execution { sequence: 42 eventScope: static staticContainer: value type: immediate time: 42 immediate: false } when { event: staticContent customEvent: value selectionType: items region:@componentinteractiveGrid:@componentcolumns: [ value1 value2 ] button:@componentitems: [ value1 value2 ] domObject: value jquerySelector: "select * from table_name" javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` } clientSideCondition { type: "item=value" item: value value: value list: [ value1 value2 ] javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` componentType: item column: value } advanced { staticId: value } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@component} config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
action
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | No | maxLen=255 Enter the name of the action. This helps to identify what the action does in Page Designer. | |
action | string | Yes |
genAI
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
enabled | boolean | Yes | false | |
Applies when action.action supports AI_ENABLED | ||||
agent | string | No | ||
Applies when action.action supports AI_ENABLED_ALWAYS, AI_ENABLED and action.enabled = Y or not set | ||||
service | string | No | ||
Applies when action.agent NULL | ||||
systemPrompt | multiline string | No | maxLen=32767 | |
Applies when action.action supports AI_SYSTEM_PROMPT and action.agent NULL | ||||
welcomeMessage | multiline string | No | language=html; maxLen=32767 | |
Applies when action.action supports AI_UI and action.agent NULL | ||||
itemsToSubmit | array of strings | No | maxLen=4000 | |
Applies when action.action supports AI_ENABLED_ALWAYS, AI_ENABLED and action.enabled = Y or not set | ||||
genAI { enabled: false agent:@componentservice:@componentsystemPrompt: ``` Lorem ipsum dolor sit amet. ``` welcomeMessage: ``` Lorem ipsum dolor sit amet. ``` itemsToSubmit: [ value1 value2 ] }
affectedElements
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
selectionType | string | Yes | ||
Applies when action.action supports ITEM, BUTTON, REGION, JQUERY_SELECTOR, JAVASCRIPT_EXPRESSION, TRIGGERING_ELEMENT, EVENT_SOURCE | ||||
region | string | Yes | ||
Applies when action.selectionType = REGION | ||||
columns | array of strings | Yes | maxLen=4000 | |
Applies when action.selectionType = COLUMN and condition matches and action.action NOT_IN_LIST show, hide | ||||
button | string | Yes | ||
Applies when action.selectionType = BUTTON | ||||
items | array of strings | Yes | maxLen=4000 | |
Applies when action.selectionType = ITEM | ||||
domObject | string | Yes | maxLen=4000 | |
Applies when action.selectionType = DOM_OBJECT | ||||
jquerySelector | string | Yes | maxLen=4000 | |
Applies when action.selectionType = JQUERY_SELECTOR | ||||
javaScriptExpression | multiline string | Yes | language=javascript-browser; maxLen=4000 | |
Applies when action.selectionType = JAVASCRIPT_EXPRESSION | ||||
affectedElements { selectionType: value region:@componentcolumns: [ value1 value2 ] button:@componentitems: [ value1 value2 ] domObject: value jquerySelector: "select * from table_name" javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` }
execution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 | |
event | string | Yes | ||
fireWhenEventResultIs | string | Yes | TRUE | |
fireOnInit | boolean | Yes | true | |
Applies when action.action is set and dynamicAction.event NOT_EQUALS ready | ||||
stopExecutionOnError | boolean | Yes | true | |
Applies when action.action supports STOP_EXECUTION_ON_ERROR | ||||
waitForResult | boolean | Yes | true | |
Applies when action.action supports WAIT_FOR_RESULT | ||||
execution { sequence: 42 event:@componentfireWhenEventResultIs: value fireOnInit: false stopExecutionOnError: false waitForResult: false }
clientSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[item=value, item!=value, item>value, item>=value, item<value, item<=value, itemIsNull, itemIsNotNull, itemIsInList, itemIsNotInList, jsExpression]Specify a client-side condition, to control whether the action fires. | |
Applies when dynamicAction.interactiveGrid NULL or not set and dynamicAction.region NOT_FEATURES IG_REGION or not set | ||||
item | string | Yes | maxLen=4000 Enter the page item used in this condition. You can type in the name or pick from the list of available items. | |
Applies when action.type in (EQUALS, NOT_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL, NULL, NOT_NULL, IN_LIST, NOT_IN_LIST) | ||||
value | string | Yes | maxLen=4000 | |
Applies when action.type in (EQUALS, NOT_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when action.type in (IN_LIST, NOT_IN_LIST) | ||||
javaScriptExpression | multiline string | Yes | language=javascript-browser; maxLen=4000 | |
Applies when action.type = JAVASCRIPT_EXPRESSION | ||||
type | enum | No | enum=[itemColumn=value, itemColumn!=value, itemColumn>value, itemColumn>=value, itemColumn<value, itemColumn<=value, itemColumnIsNull, itemColumnIsNotNull, itemColumnIsInList, itemColumnIsNotInList, jsExpression]Specify a client-side condition, to control whether the action fires. | |
Applies when dynamicAction.interactiveGrid is set or dynamicAction.region supports IG_REGION | ||||
componentType | enum | Yes | column | enum=[item, column] |
Applies when action.type in (EQUALS, NOT_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL, NULL, NOT_NULL, IN_LIST, NOT_IN_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when action.componentType = ITEM | ||||
column | string | Yes | maxLen=4000 | |
Applies when action.componentType = COLUMN | ||||
value | string | Yes | maxLen=4000 | |
Applies when action.type in (EQUALS, NOT_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when action.type in (IN_LIST, NOT_IN_LIST) | ||||
javaScriptExpression | multiline string | Yes | language=javascript-browser; maxLen=4000 | |
Applies when action.type = JAVASCRIPT_EXPRESSION | ||||
clientSideCondition {
type: "item=value"
item: value
value: value
list: [
value1
value2
]
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
componentType: item
column: value
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never]Select a condition type to be met in order for this action to be active. | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when action.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when action.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when action.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when action.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when action.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when action.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when action.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when action.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when action.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when action.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when action.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when action.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when action.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when action.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when action.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when action.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when action.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when action.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No |
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
initJavaScriptFunction | multiline string | No | language=javascript-browser; maxLen=4000 | |
Applies when action.action supports INIT_JAVASCRIPT_CODE | ||||
advanced {
staticId: value
initJavaScriptFunction: ```
apex.message.alert( "Load complete." );
```
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
action "example" ( name: exampleName action: staticContent genAI { enabled: false agent:@componentservice:@componentsystemPrompt: ``` Lorem ipsum dolor sit amet. ``` welcomeMessage: ``` Lorem ipsum dolor sit amet. ``` itemsToSubmit: [ value1 value2 ] } affectedElements { selectionType: value region:@componentcolumns: [ value1 value2 ] button:@componentitems: [ value1 value2 ] domObject: value jquerySelector: "select * from table_name" javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` } execution { sequence: 42 event:@componentfireWhenEventResultIs: value fireOnInit: false stopExecutionOnError: false waitForResult: false } clientSideCondition { type: "item=value" item: value value: value list: [ value1 value2 ] javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` componentType: item column: value } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@component} config { buildOption:@component} advanced { staticId: value initJavaScriptFunction: ``` apex.message.alert( "Load complete." ); ``` } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
metaTag
page.enableMetaTags = Y| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | description | maxLen=255 |
value | multiline string | Yes | maxLen=4000 |
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when metaTag.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when metaTag.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when metaTag.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when metaTag.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when metaTag.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when metaTag.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when metaTag.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when metaTag.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when metaTag.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when metaTag.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when metaTag.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when metaTag.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when metaTag.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when metaTag.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when metaTag.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when metaTag.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when metaTag.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when metaTag.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
metaTag "example" ( name: exampleName value: ``` Lorem ipsum dolor sit amet. ``` advanced { staticId: value } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
pageItem
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | P#PAGE_ID#_NEW | maxLen=255 |
type | enum | Yes | enum=[checkbox, checkboxGroup, combobox, displayImage, displayMap, fileUpload, geocodedAddress, imageUpload, listManager, plugin/<pluginName>, qrCode, radioGroup, selectList, selectMany, selectOne, stopAndStartGridLayout] |
label
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
label | string | No | maxLen=4000 | |
Applies when pageItem.type supports VISIBLE | ||||
alignment | enum | Yes | rightCenter | enum=[above, below, center, centerBottom, centerCenter, centerTop, left, leftBottom, leftCenter, leftTop, right, rightBottom, rightCenter, rightTop] |
Applies when pageItem.type supports VISIBLE | ||||
tableCellAttributes | array of strings | No | maxLen=255 | |
Applies when pageItem.type supports VISIBLE and pageItem.alignment NOT_EQUALS ABOVE | ||||
label {
label: label
alignment: above
tableCellAttributes: [
value1
value2
]
}
lov
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | enum=[sharedComponent, sqlQuery, staticValues, functionBody] | |
Applies when pageItem.type supports LOV | ||||
lov | string | Yes | ||
Applies when pageItem.type = SHARED | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000Enter the SQL query definition to populate this list of values. Generally list of value queries are of the form:
select [displayValue],
[returnValue]
from ...
where ...
order by ...
Each column selected must have a unique name or alias. Oracle recommends using an alias on any column that includes an SQL expression. Note: When defining a Popup LOV item type, if you would like to display multiple columns in the popup, you must instead define your List of Values in Shared Components, with the required additional metadata. Inline list of values can only be used to display single columns for Popup LOVs. | |
Applies when pageItem.type = SQL_QUERY | ||||
staticValues | multiline string | Yes | STATIC:Display1;Return1,Display2;Return2 | maxLen=4000 |
Applies when pageItem.type = STATIC | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when pageItem.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when pageItem.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when pageItem.language = JAVASCRIPT | ||||
displayExtraValues | boolean | Yes | true | |
Applies when pageItem.type is set and pageItem.type NOT_IN_LIST combobox, selectOne, selectMany | ||||
displayNullValue | boolean | Yes | true | |
Applies when pageItem.type supports LOV_DISPLAY_NULL and pageItem.type is set | ||||
nullDisplayValue | string | No | maxLen=255 | |
Applies when pageItem.displayNullValue = Y | ||||
nullReturnValue | string | No | maxLen=255 | |
Applies when pageItem.displayNullValue = Y | ||||
lov { type: sharedComponent lov:@componentsqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` staticValues: ``` value ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` displayExtraValues: false displayNullValue: false nullDisplayValue: value nullReturnValue: value }
cascadingLov
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
parentItems | array of strings | No | maxLen=255 | |
Applies when pageItem.type supports CASCADING_LOV and pageItem.type is set and pageItem.type NOT_EQUALS STATIC | ||||
itemsToSubmit | array of strings | No | maxLen=4000 | |
Applies when pageItem.parentItems is set | ||||
parentRequired | boolean | Yes | true | |
Applies when pageItem.parentItems is set | ||||
cascadingLov {
parentItems: [
value1
value2
]
itemsToSubmit: [
value1
value2
]
parentRequired: false
}
genAI
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
enabled | boolean | Yes | false | |
Applies when pageItem.type supports AI_ENABLED | ||||
agent | string | No | ||
Applies when pageItem.type supports AI_ENABLED_ALWAYS, AI_ENABLED and pageItem.enabled = Y or not set | ||||
service | string | No | ||
Applies when pageItem.agent NULL | ||||
systemPrompt | multiline string | No | maxLen=32767 | |
Applies when pageItem.type supports AI_SYSTEM_PROMPT and pageItem.agent NULL | ||||
welcomeMessage | multiline string | No | language=html; maxLen=32767 | |
Applies when pageItem.type supports AI_UI and pageItem.agent NULL | ||||
genAI { enabled: false agent:@componentservice:@componentsystemPrompt: ``` Lorem ipsum dolor sit amet. ``` welcomeMessage: ``` Lorem ipsum dolor sit amet. ``` }
multipleValues
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | delimitedList | enum=[delimitedList, jsonArray] |
Applies when pageItem.type supports MULTI_VALUE_ALWAYS | ||||
type | enum | Yes | enum=[delimitedList, jsonArray] | |
Applies when pageItem.type supports MULTI_VALUE_OPTIONAL and condition matches | ||||
separator | string | Yes | : | maxLen=5; regex=/^(?!\\$)(?!\"$)(?:(?!\\005[Cc]|\\0022|").)*$/ |
Applies when pageItem.type = SEPARATED or pageItem.type = SEPARATED | ||||
multipleValues {
type: delimitedList
separator: value
}
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 | |
region | string | No | Select the region in which the item will be displayed. | |
slot | string | Yes | ||
alignment | enum | Yes | leftCenter | enum=[center, centerBottom, centerCenter, centerTop, left, leftBottom, leftCenter, leftTop, right, rightBottom, rightCenter, rightTop] |
Applies when pageItem.type supports ELEMENT | ||||
startNewLayout | boolean | Yes | false | |
Applies when pageItem.type supports VISIBLE | ||||
startNewRow | boolean | Yes | true | |
Applies when pageItem.type supports VISIBLE and pageItem.startNewLayout = N or not set | ||||
rowCssClasses | array of strings | No | maxLen=255 | |
Applies when pageItem.type supports VISIBLE | ||||
column | string | No | ||
Applies when pageItem.type supports VISIBLE | ||||
newColumn | boolean | Yes | true | |
Applies when pageItem.type supports VISIBLE and pageItem.startNewRow = N or not set | ||||
columnSpan | string | No | ||
Applies when pageItem.type supports VISIBLE | ||||
rowSpan | number | No | maxLen=22 | |
Applies when pageItem.type supports VISIBLE | ||||
labelColumnSpan | string | No | ||
Applies when pageItem.type supports VISIBLE | ||||
columnCssClasses | array of strings | No | maxLen=255 | |
Applies when pageItem.type supports VISIBLE | ||||
columnAttributes | array of strings | No | maxLen=255 | |
Applies when pageItem.type supports VISIBLE | ||||
layout { sequence: 42 region:@componentslot: value alignment: center startNewLayout: false startNewRow: false rowCssClasses: [ value1 value2 ] column: value newColumn: false columnSpan: value rowSpan: 42 labelColumnSpan: label columnCssClasses: [ value1 value2 ] columnAttributes: [ value1 value2 ] }
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
template | string | No | ||
Applies when pageItem.type supports VISIBLE | ||||
templateOptions | array of strings | No | ||
Applies when pageItem.type supports VISIBLE and pageItem.template is set | ||||
cssClasses | array of strings | No | maxLen=255 Enter classes to add to this item. You may add multiple classes by separating them with spaces. This property can be used to make style modifications to the item, beyond template options, or to provide a simpler way of selecting this item via JavaScript. Note: To apply CSS classes to the HTML form element tag, please see the CSS Classes property under the Advanced group. | |
Applies when pageItem.type supports VISIBLE and pageItem.template is set | ||||
icon | string | No | maxLen=255 Enter the classes for the icon you want to add to the component. You may add multiple classes by separating them with spaces. If your theme uses Font APEX then review the Universal Theme Sample Application to view available icons and modifiers. Note: This icon will be displayed inside of the item, not as part of the label. | |
Applies when pageItem.type supports ICON | ||||
formatMask | string | No | maxLen=255 | |
Applies when pageItem.type supports FORMAT_MASK_ALL | ||||
formatMask | string | No | maxLen=255 | |
Applies when pageItem.type supports FORMAT_MASK_DATE | ||||
formatMask | string | No | maxLen=255 | |
Applies when pageItem.type supports FORMAT_MASK_NUMBER | ||||
width | number | No | maxLen=22 | |
Applies when pageItem.type supports WIDTH | ||||
height | number | No | maxLen=22 | |
Applies when pageItem.type supports HEIGHT | ||||
valuePlaceholder | string | No | maxLen=255 | |
Applies when pageItem.type supports PLACEHOLDER | ||||
appearance { template:@componenttemplateOptions: [ value1 value2 ] cssClasses: [ value1 value2 ] icon: fa-check formatMask: value width: 400 height: 300 valuePlaceholder: value }
validation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
valueRequired | boolean | Yes | false | |
Applies when pageItem.type supports SESSION_STATE | ||||
maxLength | number | No | maxLen=22 | |
Applies when pageItem.type supports WIDTH | ||||
validation {
valueRequired: false
maxLength: 5
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
cssClasses | array of strings | No | maxLen=255 Enter classes to add to this component. You may add multiple classes by separating them with spaces. Note: These CSS classes will be applied to the HTML form element tag. | |
Applies when pageItem.type supports ELEMENT | ||||
customAttributes | string | No | maxLen=2000 Enter additional attributes to be included in the form element HTML tag. The size and id HTML attributes are generated and therefore should not be supplied. For the class HTML attribute it is better to use the dedicated CSS Classes attribute instead. | |
Applies when pageItem.type supports ELEMENT | ||||
optionHtmlAttributes | array of strings | No | maxLen=255 | |
Applies when pageItem.type supports ELEMENT_OPTION | ||||
preText | multiline string | No | language=html; maxLen=4000 | |
Applies when pageItem.type supports ELEMENT | ||||
postText | multiline string | No | language=html; maxLen=4000 | |
Applies when pageItem.type supports ELEMENT | ||||
warnOnUnsavedChanges | enum | No | enum=[ignore] | |
initJavaScriptFunction | multiline string | No | language=javascript-browser; maxLen=4000 | |
Applies when pageItem.type supports INIT_JAVASCRIPT_CODE | ||||
advanced {
cssClasses: [
value1
value2
]
customAttributes: value
optionHtmlAttributes: [
value1
value2
]
preText: ```
Lorem ipsum dolor sit amet.
```
postText: ```
Lorem ipsum dolor sit amet.
```
warnOnUnsavedChanges: ignore
initJavaScriptFunction: ```
apex.message.alert( "Load complete." );
```
}
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
formRegion | string | No | ||
Applies when pageItem.type supports SOURCE | ||||
column | string | Yes | maxLen=128 | |
Applies when pageItem.formRegion is set | ||||
dataType | enum | Yes | enum=[varchar2, number, date, timestamp, timestampWithTimeZone, timestampWithLocalTimeZone, intervalYearToMonth, intervalDayToSecond, clob, blob, boolean, rowid, bfile, sdoGeometry]; maxLen=128 | |
Applies when pageItem.formRegion is set | ||||
queryOnly | boolean | Yes | false | |
Applies when pageItem.formRegion is set and pageItem.dataType NOT_EQUALS ROWID | ||||
primaryKey | boolean | Yes | false | |
Applies when pageItem.formRegion is set | ||||
type | enum | Yes | null | enum=[staticValue, databaseColumn, item, sqlQuerySingleValue, sqlQueryMultipleValues, expression, functionBody, preference, null] |
Applies when pageItem.formRegion NULL | ||||
staticValue | multiline string | Yes | maxLen=4000 | |
Applies when pageItem.type = STATIC | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when pageItem.type = QUERY | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when pageItem.type = QUERY_COLON | ||||
item | string | Yes | maxLen=255 | |
Applies when pageItem.type = ITEM | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when pageItem.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when pageItem.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when pageItem.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when pageItem.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when pageItem.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when pageItem.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when pageItem.language = JAVASCRIPT | ||||
databaseColumn | string | Yes | maxLen=128 | |
Applies when pageItem.type = DB_COLUMN | ||||
preference | string | Yes | maxLen=255 | |
Applies when pageItem.type = PREFERENCE | ||||
used | enum | Yes | onlyWhenSessionStateIsNull | enum=[always, onlyWhenSessionStateIsNull] |
Applies when pageItem.type supports SOURCE and pageItem.formRegion NULL | ||||
postCalculationComputation | multiline string | No | language=plsql; maxLen=4000 | |
Applies when pageItem.type supports SOURCE and pageItem.formRegion NULL | ||||
source { formRegion:@componentcolumn: value dataType: varchar2 queryOnly: false primaryKey: false type: staticValue staticValue: ``` Lorem ipsum dolor sit amet. ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` item: value language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` databaseColumn: value preference: value used: always postCalculationComputation: ``` :CARD_LINK is not null ``` }
default
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[static, item, sqlQuerySingleValue, sqlQueryMultipleValues, expression, functionBody, sequence] | |
Applies when pageItem.type supports SOURCE | ||||
staticValue | multiline string | Yes | maxLen=4000 | |
Applies when pageItem.type = STATIC_TEXT_WITH_SUBSTITUTIONS | ||||
item | string | Yes | maxLen=32767 | |
Applies when pageItem.type = ITEM | ||||
sqlQuerySingleValue | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when pageItem.type = SQL_QUERY | ||||
sqlQueryMultipleValues | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when pageItem.type = SQL_QUERY_COLON | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when pageItem.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when pageItem.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when pageItem.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when pageItem.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when pageItem.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when pageItem.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when pageItem.language = JAVASCRIPT | ||||
sequence | string | Yes | maxLen=128 | |
Applies when pageItem.type = SEQUENCE | ||||
default {
type: static
staticValue: ```
Lorem ipsum dolor sit amet.
```
item: value
sqlQuerySingleValue: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
sqlQueryMultipleValues: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
sequence: value
}
sessionState
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
dataType | enum | Yes | varchar2 | enum=[varchar2, clob, boolean, number]; maxLen=128 |
storage | enum | Yes | session | enum=[request, session, user] |
Applies when pageItem.type supports SOURCE and pageItem.formRegion NULL | ||||
storage | enum | Yes | request | enum=[request, session] |
Applies when pageItem.type supports SOURCE and pageItem.formRegion is set | ||||
sessionState {
dataType: varchar2
storage: request
}
quickPicks
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | string | No | ||
Applies when pageItem.type supports QUICKPICK | ||||
label1 | string | No | maxLen=255 | |
Applies when pageItem.type = STATIC | ||||
value1 | string | No | maxLen=255 | |
Applies when pageItem.type = STATIC | ||||
label2 | string | No | maxLen=255 | |
Applies when pageItem.type = STATIC | ||||
value2 | string | No | maxLen=255 | |
Applies when pageItem.type = STATIC | ||||
label3 | string | No | maxLen=255 | |
Applies when pageItem.type = STATIC | ||||
value3 | string | No | maxLen=255 | |
Applies when pageItem.type = STATIC | ||||
label4 | string | No | maxLen=255 | |
Applies when pageItem.type = STATIC | ||||
value4 | string | No | maxLen=255 | |
Applies when pageItem.type = STATIC | ||||
label5 | string | No | maxLen=255 | |
Applies when pageItem.type = STATIC | ||||
value5 | string | No | maxLen=255 | |
Applies when pageItem.type = STATIC | ||||
label6 | string | No | maxLen=255 | |
Applies when pageItem.type = STATIC | ||||
value6 | string | No | maxLen=255 | |
Applies when pageItem.type = STATIC | ||||
label7 | string | No | maxLen=255 | |
Applies when pageItem.type = STATIC | ||||
value7 | string | No | maxLen=255 | |
Applies when pageItem.type = STATIC | ||||
label8 | string | No | maxLen=255 | |
Applies when pageItem.type = STATIC | ||||
value8 | string | No | maxLen=255 | |
Applies when pageItem.type = STATIC | ||||
label9 | string | No | maxLen=255 | |
Applies when pageItem.type = STATIC | ||||
value9 | string | No | maxLen=255 | |
Applies when pageItem.type = STATIC | ||||
label10 | string | No | maxLen=255 | |
Applies when pageItem.type = STATIC | ||||
value10 | string | No | maxLen=255 | |
Applies when pageItem.type = STATIC | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when pageItem.type = SQL_QUERY | ||||
maxDisplayedEntries | integer | No | maxLen=32767; min=1; max=10 | |
Applies when pageItem.type in (SHARED_LOV, SQL_QUERY) | ||||
linkAttributes | string | No | maxLen=255 | |
Applies when pageItem.type is set | ||||
quickPicks {
type: value
label1: label
value1: value
label2: label
value2: value
label3: label
value3: value
label4: label
value4: value
label5: label
value5: value
label6: label
value6: value
label7: label
value7: value
label8: label
value8: value
label9: label
value9: value
label10: label
value10: value
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
maxDisplayedEntries: 5
linkAttributes: value
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when pageItem.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when pageItem.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when pageItem.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when pageItem.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when pageItem.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when pageItem.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when pageItem.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when pageItem.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when pageItem.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when pageItem.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when pageItem.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when pageItem.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when pageItem.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when pageItem.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when pageItem.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when pageItem.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when pageItem.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when pageItem.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
readOnly
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never]Select a condition type that must be met in order for this component to render as read-only. Not selecting a condition causes the item to render normally. A read-only item is rendered with the same settings as a Display Only item. Note: Set the condition type to Never to always render the item as an enterable field. This setting overwrites any read-only condition setting on the region or page level. | |
Applies when pageItem.type supports READONLY | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when pageItem.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when pageItem.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when pageItem.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when pageItem.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when pageItem.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when pageItem.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when pageItem.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when pageItem.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when pageItem.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when pageItem.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when pageItem.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when pageItem.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when pageItem.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when pageItem.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when pageItem.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when pageItem.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when pageItem.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when pageItem.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
readOnlyHtmlAttributes | string | No | maxLen=4000 | |
Applies when pageItem.type is set | ||||
readOnly {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
readOnlyHtmlAttributes: value
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No | ||
sessionStateProtection | enum | Yes | unrestricted | enum=[unrestricted, checksumRequiredAppLevel, checksumRequiredUserLevel, checksumRequiredSessionLevel, restricted] |
encryptSessionState | boolean | Yes | true | |
Applies when pageItem.type supports ENCRYPT | ||||
escapeSpecialChars | boolean | Yes | true | |
Applies when pageItem.type supports ESCAPE_OUTPUT | ||||
restrictedChars | enum | No | enum=[alphanumWithSpace, webSafe, noSpecialChar, noSpecialCharNoNewline, workspaceSchema, workspaceUserSchema, workspaceUserSchemaId] | |
security { authorizationScheme:@componentsessionStateProtection: unrestricted encryptSessionState: false escapeSpecialChars: false restrictedChars: alphanumWithSpace }
help
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
inlineHelpText | multiline string | No | language=html; maxLen=4000 | |
helpText | multiline string | No | language=html; maxLen=4000Enter help text for this item. The help text may be used to provide field level context sensitive help. |
help {
inlineHelpText: ```
Lorem ipsum dolor sit amet.
```
helpText: ```
Lorem ipsum dolor sit amet.
```
}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
pageItem "example" ( name: exampleName type: staticContent label { label: label alignment: above tableCellAttributes: [ value1 value2 ] } lov { type: sharedComponent lov:@componentsqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` staticValues: ``` value ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` displayExtraValues: false displayNullValue: false nullDisplayValue: value nullReturnValue: value } cascadingLov { parentItems: [ value1 value2 ] itemsToSubmit: [ value1 value2 ] parentRequired: false } genAI { enabled: false agent:@componentservice:@componentsystemPrompt: ``` Lorem ipsum dolor sit amet. ``` welcomeMessage: ``` Lorem ipsum dolor sit amet. ``` } multipleValues { type: delimitedList separator: value } layout { sequence: 42 region:@componentslot: value alignment: center startNewLayout: false startNewRow: false rowCssClasses: [ value1 value2 ] column: value newColumn: false columnSpan: value rowSpan: 42 labelColumnSpan: label columnCssClasses: [ value1 value2 ] columnAttributes: [ value1 value2 ] } appearance { template:@componenttemplateOptions: [ value1 value2 ] cssClasses: [ value1 value2 ] icon: fa-check formatMask: value width: 400 height: 300 valuePlaceholder: value } validation { valueRequired: false maxLength: 5 } advanced { cssClasses: [ value1 value2 ] customAttributes: value optionHtmlAttributes: [ value1 value2 ] preText: ``` Lorem ipsum dolor sit amet. ``` postText: ``` Lorem ipsum dolor sit amet. ``` warnOnUnsavedChanges: ignore initJavaScriptFunction: ``` apex.message.alert( "Load complete." ); ``` } source { formRegion:@componentcolumn: value dataType: varchar2 queryOnly: false primaryKey: false type: staticValue staticValue: ``` Lorem ipsum dolor sit amet. ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` item: value language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` databaseColumn: value preference: value used: always postCalculationComputation: ``` :CARD_LINK is not null ``` } default { type: static staticValue: ``` Lorem ipsum dolor sit amet. ``` item: value sqlQuerySingleValue: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` sqlQueryMultipleValues: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` sequence: value } sessionState { dataType: varchar2 storage: request } quickPicks { type: value label1: label value1: value label2: label value2: value label3: label value3: value label4: label value4: value label5: label value5: value label6: label value6: value label7: label value7: value label8: label value8: value label9: label value9: value label10: label value10: value sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` maxDisplayedEntries: 5 linkAttributes: value } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } readOnly { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] readOnlyHtmlAttributes: value } security { authorizationScheme:@componentsessionStateProtection: unrestricted encryptSessionState: false escapeSpecialChars: false restrictedChars: alphanumWithSpace } help { inlineHelpText: ``` Lorem ipsum dolor sit amet. ``` helpText: ``` Lorem ipsum dolor sit amet. ``` } config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
process
app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID#| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 Enter the name of the process for easy identification by developers. | |
type | enum | Yes | enum=[autoRowFetch, autoRowProcessing, clearSessionState, closeDialog, dataLoading, download, executeCode, executionChain, formAutoRowProcessing, formInitialization, formPagination, generateTextWithAi, humanTaskCreate, humanTaskManage, interactiveGridAutoRowProcessing, invokeApi, invokeWorkflow, legacyAutoRowProcessing, legacyWebService, loadUploadedData, parallelFlow, parseUploadedData, plugin/<pluginName>, prepareUploadedData, printReport, resetPagination, sendEMail, sendPushNotification, serverSideGeocoding, switch, tabformAddRows, tabformDelete, tabformUpdate, userPreferences, wait, webService, workflow, workflowEnd, workflowStart] | |
executionChain | string | No | ||
formRegion | string | Yes | ||
Applies when process.type supports FORM | ||||
editableRegion | string | Yes | ||
Applies when process.type supports REGION and condition matches | ||||
genAI
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
enabled | boolean | Yes | false | |
Applies when process.type supports AI_ENABLED | ||||
agent | string | No | ||
Applies when process.type supports AI_ENABLED_ALWAYS, AI_ENABLED and process.enabled = Y or not set | ||||
service | string | No | ||
Applies when process.agent NULL | ||||
systemPrompt | multiline string | No | maxLen=32767 | |
Applies when process.type supports AI_SYSTEM_PROMPT and process.agent NULL | ||||
genAI { enabled: false agent:@componentservice:@componentsystemPrompt: ``` Lorem ipsum dolor sit amet. ``` }
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
location | enum | Yes | localDatabase | enum=[localDatabase, restEnabledSql] |
Applies when process.type = plsql | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when process.location = LOCAL | ||||
plsqlCode | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when process.language = PLSQL | ||||
javaScriptCode | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when process.language = JAVASCRIPT | ||||
remoteServer | string | Yes | ||
Applies when process.location = REMOTE | ||||
plsqlCode | multiline string | Yes | language=plsql; maxLen=32767Enter the PL/SQL code to be executed on the remote database. | |
Applies when process.location = REMOTE | ||||
source { location: localDatabase language: plsql plsqlCode: ``` apex_debug.message('Processing APEXlang component'); apex_collection.create_or_truncate_collection( p_collection_name => 'EXAMPLE_ROWS' ); ``` javaScriptCode: ``` apex.message.alert( "Load complete." ); ``` remoteServer:@component}
execution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 | |
point | string | Yes | AFTER_SUBMIT | |
Applies when process.executionChain NULL | ||||
runProcess | enum | Yes | oncePerPageVisitDefault | enum=[oncePerSessionOrWhenReset, oncePerPageVisitDefault] |
Applies when process.executionChain NULL | ||||
execution {
sequence: 42
point: value
runProcess: oncePerSessionOrWhenReset
}
successMessage
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
successMessage | multiline string | No | maxLen=4000 Enter the success message for this process. If the process runs and does not generate an error, then this process success message displays in the notification section of the resulting page displayed. If you are branching to another page via a URL redirect, you may need to check the preserve success message attribute. For multi row processes, the following substitution string can be used to get the number of records processed:
For the Send E-Mail process type the substitution string Plug-ins can have other substitution strings as well. See Plug-in documentation for details. |
successMessage {
successMessage: ```
Lorem ipsum dolor sit amet.
```
}
error
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
errorMessage | multiline string | No | maxLen=4000 Enter the error message for this process. This message displays if an unhandled exception is raised. After any error processing stops, a rollback is issued and an error message displays. Note: the SQL error message sqlerrm displays by default if On Error Page is defined as the error display location, there is no need to add Error messages can include the following substitution strings:
| |
displayLocation | enum | Yes | inlineInNotification | enum=[inlineInNotification, onErrorPage] |
Applies when process.point in (ON_SUBMIT_BEFORE_COMPUTATION, AFTER_SUBMIT) | ||||
error {
errorMessage: ```
Lorem ipsum dolor sit amet.
```
displayLocation: inlineInNotification
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
executionMappingIdentifier | string | No | maxLen=32767 |
advanced {
staticId: value
executionMappingIdentifier: value
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
whenButtonPressed | string | No | ||
executionScope | enum | Yes | forCreatedAndModifiedRows | enum=[forCreatedAndModifiedRows, allSubmittedRows] |
Applies when process.editableRegion is set | ||||
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when process.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when process.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when process.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when process.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when process.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when process.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when process.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when process.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when process.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when process.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when process.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when process.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when process.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when process.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when process.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when process.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when process.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when process.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
executeCondition | enum | Yes | forEachRow | enum=[forEachRow, once] |
Applies when process.editableRegion is set and process.type is set and process.type NOT_EQUALS NEVER | ||||
serverSideCondition { whenButtonPressed:@componentexecutionScope: forCreatedAndModifiedRows type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] executeCondition: forEachRow }
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No |
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
process "example" ( name: exampleName type: staticContent executionChain: value formRegion:@componenteditableRegion:@componentgenAI { enabled: false agent:@componentservice:@componentsystemPrompt: ``` Lorem ipsum dolor sit amet. ``` } source { location: localDatabase language: plsql plsqlCode: ``` apex_debug.message('Processing APEXlang component'); apex_collection.create_or_truncate_collection( p_collection_name => 'EXAMPLE_ROWS' ); ``` javaScriptCode: ``` apex.message.alert( "Load complete." ); ``` remoteServer:@component} execution { sequence: 42 point: value runProcess: oncePerSessionOrWhenReset } successMessage { successMessage: ``` Lorem ipsum dolor sit amet. ``` } error { errorMessage: ``` Lorem ipsum dolor sit amet. ``` displayLocation: inlineInNotification } advanced { staticId: value executionMappingIdentifier: value } serverSideCondition { whenButtonPressed:@componentexecutionScope: forCreatedAndModifiedRows type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] executeCondition: forEachRow } security { authorizationScheme:@component} config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
basicAuthenticationParameter
process.type in (webService, legacyWebService)| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
parameterId | string | Yes | maxLen=32767 | |
name | string | No | maxLen=255 |
parameter
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
source | enum | Yes | enum=[item, staticValue, plsqlFunctionBody] | |
staticValue | string | No | maxLen=32767 | |
Applies when basicAuthenticationParameter.source = STATIC | ||||
item | string | Yes | maxLen=32767 | |
Applies when basicAuthenticationParameter.source = ITEM | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when basicAuthenticationParameter.source = FUNCTION | ||||
parameter {
source: item
staticValue: value
item: value
plsqlFunctionBody: ```
return 'Generated text';
```
}
APEXlang Example
basicAuthenticationParameter "example" (
parameterId: value
name: exampleName
parameter {
source: item
staticValue: value
item: value
plsqlFunctionBody: ```
return 'Generated text';
```
}
)
inParameter
process.type in (webService, legacyWebService)| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
parameterId | string | Yes | maxLen=32767 | |
name | string | Yes | maxLen=255 |
parameter
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
source | enum | Yes | enum=[item, staticValue, plsqlFunctionBody] | |
staticValue | string | No | maxLen=32767 | |
Applies when inParameter.source = STATIC | ||||
item | string | Yes | maxLen=32767 | |
Applies when inParameter.source = ITEM | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when inParameter.source = FUNCTION | ||||
parameter {
source: item
staticValue: value
item: value
plsqlFunctionBody: ```
return 'Generated text';
```
}
APEXlang Example
inParameter "example" (
parameterId: value
name: exampleName
parameter {
source: item
staticValue: value
item: value
plsqlFunctionBody: ```
return 'Generated text';
```
}
)
outParameter
process.type in (webService, legacyWebService)| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
parameterId | string | Yes | maxLen=32767 | |
name | string | Yes | maxLen=255 |
parameter
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
items | array of strings | No | maxLen=32767 |
parameter {
items: [
value1
value2
]
}
APEXlang Example
outParameter "example" (
parameterId: value
name: exampleName
parameter {
items: [
value1
value2
]
}
)
parameter
NATIVE_INVOKE_API.type = WEB_SOURCE| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes |
parameter
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
ignoreOutput | boolean | Yes | true | |
Applies when parameter.name supports IN_OUT_PARAMETER, OUT_PARAMETER | ||||
parameter {
ignoreOutput: false
}
value
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | string | Yes | ||
Applies when parameter.name supports IN_PARAMETER, IN_OUT_PARAMETER or parameter.ignoreOutput = N | ||||
staticValue | multiline string | Yes | maxLen=4000 | |
Applies when parameter.type = STATIC and parameter.name NOT_FEATURES BOOLEAN_PARAMETER | ||||
staticValue | enum | Yes | enum=[true, false] | |
Applies when parameter.type = STATIC and parameter.name supports BOOLEAN_PARAMETER | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.type = SQL_QUERY | ||||
item | string | Yes | maxLen=255 | |
Applies when parameter.type = ITEM | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when parameter.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when parameter.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
preference | string | Yes | maxLen=255 | |
Applies when parameter.type = PREFERENCE | ||||
name | string | Yes | maxLen=255 | |
Applies when parameter.type = COLLECTION | ||||
formatMask | string | No | maxLen=255 Format mask to convert the Static, Item or Preference value to the data type of the REST Source Parameter. | |
Applies when parameter.name supports NUMBER_PARAMETER, DATE_PARAMETER, TIMESTAMP_PARAMETER, TIMESTAMP_TZ_PARAMETER and parameter.type in (STATIC, ITEM, PREFERENCE) | ||||
trueValue | string | No | maxLen=10 | |
Applies when parameter.name supports BOOLEAN_PARAMETER and parameter.type in (ITEM, PREFERENCE) | ||||
falseValue | string | No | maxLen=10 | |
Applies when parameter.name supports BOOLEAN_PARAMETER and parameter.type in (ITEM, PREFERENCE) | ||||
value {
type: value
staticValue: ```
Lorem ipsum dolor sit amet.
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
item: value
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
preference: value
name: exampleName
formatMask: value
trueValue: value
falseValue: value
}
APEXlang Example
parameter "example" ( name:@componentparameter { ignoreOutput: false } value { type: value staticValue: ``` Lorem ipsum dolor sit amet. ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` item: value language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` preference: value name: exampleName formatMask: value trueValue: value falseValue: value } )
parameter
NATIVE_INVOKE_API.type in (PLSQL_PACKAGE, PLSQL_PROCEDURE_FUNCTION)| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | parameter | enum=[parameter, functionResult] |
name | string | Yes | p_ | maxLen=255 Enter the name of a parameter declared in the selected procedure or function. |
Applies when parameter.type = PARAMETER | ||||
parameter
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
direction | enum | Yes | in | enum=[in, out, inOut] |
Applies when parameter.type = PARAMETER | ||||
dataType | enum | Yes | varchar2 | enum=[varchar2, clob, number, plsqlInteger, boolean, date, timestamp, timestampWithLocalTimeZone, timestampWithTimeZone, intervalYearToMonth, intervalDayToSecond, blob, char, rowid, custom] |
dataTypeName | string | Yes | maxLen=32767 | |
Applies when parameter.dataType = CUSTOM | ||||
hasDefault | boolean | Yes | false | |
Applies when parameter.direction = IN | ||||
ignoreOutput | boolean | Yes | false | |
Applies when parameter.direction in (IN_OUT, OUT) or not set and parameter.dataType NOT_IN_LIST CUSTOM, BLOB | ||||
parameter {
direction: in
dataType: varchar2
dataTypeName: value
hasDefault: false
ignoreOutput: false
}
value
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | string | Yes | ||
Applies when parameter.direction in (IN, IN_OUT) and parameter.ignoreOutput = Y or not set | ||||
staticValue | multiline string | Yes | maxLen=4000 | |
Applies when parameter.type = STATIC and parameter.dataType NOT_EQUALS BOOLEAN | ||||
staticValue | enum | Yes | enum=[true, false] | |
Applies when parameter.type = STATIC and parameter.dataType = BOOLEAN | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.type = SQL_QUERY | ||||
item | string | Yes | maxLen=255 | |
Applies when parameter.type = ITEM or parameter.ignoreOutput = N | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when parameter.type = EXPRESSION and parameter.dataType NOT_EQUALS CUSTOM | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when parameter.type = FUNCTION_BODY and parameter.dataType NOT_EQUALS CUSTOM | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.type = EXPRESSION and parameter.dataType = CUSTOM | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.type = FUNCTION_BODY and parameter.dataType = CUSTOM | ||||
preference | string | Yes | maxLen=255 | |
Applies when parameter.type = PREFERENCE | ||||
formatMask | string | No | maxLen=255 | |
Applies when parameter.dataType in (NUMBER, DATE, TIMESTAMP, TIMESTAMP WITH TIME ZONE, TIMESTAMP WITH LOCAL TIME ZONE) and condition matches | ||||
trueValue | string | No | maxLen=10 | |
Applies when parameter.dataType = BOOLEAN and condition matches | ||||
falseValue | string | No | maxLen=10 | |
Applies when parameter.dataType = BOOLEAN and condition matches | ||||
value {
type: value
staticValue: ```
Lorem ipsum dolor sit amet.
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
item: value
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
preference: value
formatMask: value
trueValue: value
falseValue: value
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
displaySequence | integer | Yes | maxLen=32767; min=0 |
advanced {
displaySequence: 42
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
parameter "example" (
type: parameter
name: exampleName
parameter {
direction: in
dataType: varchar2
dataTypeName: value
hasDefault: false
ignoreOutput: false
}
value {
type: value
staticValue: ```
Lorem ipsum dolor sit amet.
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
item: value
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
preference: value
formatMask: value
trueValue: value
falseValue: value
}
advanced {
displaySequence: 42
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
parameter
process.type = createTask| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes |
value
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | staticValue | enum=[staticValue, item, sqlQuery, expression, functionBody, preference, null] |
staticValue | multiline string | Yes | maxLen=4000 | |
Applies when parameter.type = STATIC | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.type = SQL_QUERY | ||||
item | string | Yes | maxLen=255 | |
Applies when parameter.type = ITEM | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when parameter.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when parameter.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
preference | string | Yes | maxLen=255 | |
Applies when parameter.type = PREFERENCE | ||||
value {
type: staticValue
staticValue: ```
Lorem ipsum dolor sit amet.
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
item: value
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
preference: value
}
APEXlang Example
parameter "example" ( name:@componentvalue { type: staticValue staticValue: ``` Lorem ipsum dolor sit amet. ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` item: value language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` preference: value } )
parameter
process.type = workflow and NATIVE_WORKFLOW.type = START| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes |
value
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | item | enum=[staticValue, item, sqlQuery, expression, functionBody, preference, default, null] |
Applies when parameter.name supports IN_PARAMETER, IN_OUT_PARAMETER | ||||
staticValue | multiline string | Yes | maxLen=4000 | |
Applies when parameter.type = STATIC and parameter.name NOT_FEATURES BOOLEAN_PARAMETER | ||||
staticValue | enum | Yes | enum=[true, false] | |
Applies when parameter.type = STATIC and parameter.name supports BOOLEAN_PARAMETER | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.type = SQL_QUERY | ||||
item | string | Yes | maxLen=255 | |
Applies when parameter.type = ITEM | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when parameter.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when parameter.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
formatMask | string | No | maxLen=255 Format mask to convert the Static or Item value to the data type of the workflow parameter. | |
Applies when parameter.name supports NUMBER_PARAMETER, TIMESTAMP_PARAMETER, TIMESTAMP_TZ__PARAMETER, TIMESTAMP_LTZ__PARAMETER and parameter.type in (STATIC, ITEM) | ||||
trueValue | string | No | maxLen=10 | |
Applies when parameter.type in (ITEM, PREFERENCE) and parameter.name supports BOOLEAN_PARAMETER | ||||
falseValue | string | No | maxLen=10 | |
Applies when parameter.type in (ITEM, PREFERENCE) and parameter.name supports BOOLEAN_PARAMETER | ||||
value {
type: staticValue
staticValue: ```
Lorem ipsum dolor sit amet.
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
item: value
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
formatMask: value
trueValue: value
falseValue: value
}
APEXlang Example
parameter "example" ( name:@componentvalue { type: staticValue staticValue: ``` Lorem ipsum dolor sit amet. ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` item: value language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` formatMask: value trueValue: value falseValue: value } )
region
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 Enter a region name. The region name is required, it is used by Page Designer to identify the region on the tree view and the grid layout view. The region name is used as the runtime region title, if the title attribute is empty. | |
title | string | No | maxLen=255 Enter a region title. The region title is optional, it only displays when it is defined in the region template. | |
type | enum | Yes | enum=[appTemplateComponent/<templateComponentName>, breadcrumb, calendar, cards, chart, classicReport, classicTree, columnToggleReport, dataUploadColMapping, dynamicContent, facetedSearch, form, helpText, interactiveGrid, interactiveReport, legacyCalendar, list, listView, map, plSqlDynamicContent, plugin/<pluginName>, reflowReport, regionDisplaySelector, search, simpleChart, smartFilters, staticContent, svgChart, tabform, themeTemplateComponent/actions, themeTemplateComponent/avatar, themeTemplateComponent/avatarTemplateComponent, themeTemplateComponent/badge, themeTemplateComponent/badgeTemplateComponent, themeTemplateComponent/comments, themeTemplateComponent/contentRow, themeTemplateComponent/contextualInfoTemplateComponent, themeTemplateComponent/emptyStateTemplateComponent, themeTemplateComponent/listItemTemplateComponent, themeTemplateComponent/mediaList, themeTemplateComponent/metricCard, themeTemplateComponent/timeline, tree, url, workflowDiagram] |
chart
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | bar | enum=[area, bar, boxPlot, bubble, combination, statusMeterGauge, donut, funnel, gantt, line, lineWithArea, pie, polar, pyramid, radar, range, scatter, stock] |
Applies when region.type = chart | ||||
chart {
type: area
}
componentAppearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
display | string | Yes | ||
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapregion.type starts with TMPL_ | ||||
layout | enum | Yes | grid | enum=[grid, float, horizontal] |
Applies when region.type = cards | ||||
gridColumns | enum | No | enum=[2, 3, 4, 5] | |
Applies when region.type = cardscomponentAppearance.layout = GRID | ||||
listTemplate | string | Yes | ||
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapregion.type = list | ||||
breadcrumbTemplate | string | Yes | ||
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapregion.type = breadcrumb | ||||
templateOptions | array of strings | No | ||
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapcomponentAppearance.breadcrumbTemplate is set or componentAppearance.listTemplate is setApplies when region.type = classicReportcomponentAppearance.template is setApplies when region.type = tabularFormcomponentAppearance.template is set | ||||
templateType | enum | Yes | theme | enum=[theme, predefined] |
Applies when region.type = classicReportApplies when region.type = tabularForm | ||||
cssClasses | array of strings | No | maxLen=255 Enter classes to add to this component. You may add multiple classes by separating them with spaces. | |
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapregion.type STARTS_WITH_ANY breadcrumb, list, TMPL_Applies when region.type = classicReportcomponentAppearance.templateType = THEMEApplies when region.type = tabularFormcomponentAppearance.templateType = THEMEApplies when region.type = cards | ||||
template | string | Yes | ||
Applies when region.type = classicReportcomponentAppearance.templateType = THEMEApplies when region.type = tabularFormcomponentAppearance.templateType = THEME | ||||
template | enum | Yes | html | enum=[html, verticalReport, csv, xml] |
Applies when region.type = classicReportcomponentAppearance.templateType = PREDEFINEDApplies when region.type = tabularFormcomponentAppearance.templateType = PREDEFINED | ||||
customAttributes | string | No | maxLen=2000 The report template substitution string #REPORT_ATTRIBUTES# is replaced with this value. The #REPORT_ATTRIBUTES# substitution string is only replaced in the before rows attribute of the report template. | |
Applies when region.type = classicReportApplies when region.type = tabularForm | ||||
selectFirstRow | boolean | Yes | true | |
Applies when region.type = interactiveGrid | ||||
fixedRowHeight | boolean | Yes | true | |
Applies when region.type = interactiveGrid | ||||
showNullValuesAs | string | No | maxLen=255 | |
Applies when region.type = interactiveReportApplies when region.type = classicReportApplies when region.type = tabularFormApplies when region.type = interactiveGrid | ||||
componentAppearance { display: value layout: grid gridColumns: "2" listTemplate:@componentbreadcrumbTemplate:@componenttemplateOptions: [ value1 value2 ] templateType: theme cssClasses: [ value1 value2 ] template:@componentcustomAttributes: value selectFirstRow: false fixedRowHeight: false showNullValuesAs: value }
link
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
linkColumn | enum | Yes | exclude | enum=[singleRowView, customTarget, exclude] |
Applies when region.type = interactiveReport | ||||
uniquelyIdentifyRowsBy | enum | Yes | rowid | enum=[rowid, uniqueColumn] |
Applies when region.type = interactiveReportlink.linkColumn = Y | ||||
uniqueColumn | string | Yes | maxLen=32767 | |
Applies when region.type = interactiveReportlink.uniquelyIdentifyRowsBy = COLUMN | ||||
target | complex | Yes | maxLen=32767 | |
Applies when region.type = interactiveReportlink.linkColumn = C | ||||
linkIcon | multiline string | No | maxLen=4000 | |
Applies when region.type = interactiveReportlink.linkColumn in (Y, C) | ||||
linkAttributes | string | No | maxLen=4000 | |
Applies when region.type = interactiveReportlink.linkColumn in (Y, C) | ||||
authorizationScheme | string | No | ||
Applies when region.type = interactiveReportlink.linkColumn in (Y, C) | ||||
conditionType | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
Applies when region.type = interactiveReportlink.linkColumn in (Y, C) | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when region.type = interactiveReportlink.conditionType in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when region.type = interactiveReportlink.conditionType = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when region.type = interactiveReportlink.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when region.type = interactiveReportlink.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when region.type = interactiveReportlink.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when region.type = interactiveReportlink.conditionType = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when region.type = interactiveReportlink.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when region.type = interactiveReportlink.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when region.type = interactiveReportlink.conditionType in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when region.type = interactiveReportlink.conditionType in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when region.type = interactiveReportlink.conditionType in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when region.type = interactiveReportlink.conditionType in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when region.type = interactiveReportlink.conditionType in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when region.type = interactiveReportlink.conditionType in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when region.type = interactiveReportlink.conditionType in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when region.type = interactiveReportlink.conditionType in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when region.type = interactiveReportlink.conditionType = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when region.type = interactiveReportlink.conditionType in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
link { linkColumn: singleRowView uniquelyIdentifyRowsBy: rowid uniqueColumn: value target: value linkIcon: ``` Lorem ipsum dolor sit amet. ``` linkAttributes: value authorizationScheme:@componentconditionType: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] }
map
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
background | enum | Yes | default | enum=[default, builtIn, sharedComponent] |
Applies when region.type = map | ||||
standard | enum | Yes | openstreetmapPositron | enum=[openstreetmapPositron, openstreetmapDark, openstreetmapBright, oracleWorldMap, oracleBiWorldMap] |
Applies when region.type = mapmap.background = CUSTOM | ||||
darkMode | enum | No | enum=[openstreetmapDark, openstreetmapPositron, openstreetmapBright, oracleWorldMap, oracleBiWorldMap] | |
Applies when region.type = mapmap.background = CUSTOM | ||||
standard | string | Yes | ||
Applies when region.type = mapmap.background = SHARED | ||||
darkMode | string | No | ||
Applies when region.type = mapmap.background = SHARED | ||||
height | number | Yes | 640 | maxLen=22 |
Applies when region.type = map | ||||
map {
background: default
standard: openstreetmapPositron
darkMode: openstreetmapDark
height: 300
}
output
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
layout | string | No | ||
Applies when download.formats in (XLSX, PDF)region.type = interactiveReportApplies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularForm | ||||
linkText | string | No | maxLen=255 | |
Applies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularForm | ||||
format | enum | No | enum=[pdf, word, excel, html, xml] | |
Applies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularForm | ||||
viewFileAs | enum | Yes | attachment | enum=[attachment, inline] |
Applies when download.formats in (XLSX, PDF)region.type = interactiveReportApplies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularForm | ||||
formatItem | string | Yes | maxLen=255 | |
Applies when printing.enabled = Yregion.type = classicReportoutput.format NULLApplies when printing.enabled = Yregion.type = tabularFormoutput.format NULL | ||||
fileName | string | No | maxLen=255 | |
Applies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularForm | ||||
output { layout:@componentlinkText: value format: pdf viewFileAs: attachment formatItem: value fileName: value }
title
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
title | string | No | maxLen=255 | |
Applies when region.type = chart | ||||
advancedFormatting | boolean | Yes | false | |
Applies when region.type = cards | ||||
column | string | No | maxLen=32767 | |
Applies when region.type = cardstitle.advancedFormatting = N | ||||
htmlExpression | multiline string | Yes | language=html; maxLen=4000 | |
Applies when region.type = cardstitle.advancedFormatting = Y | ||||
cssClasses | array of strings | No | maxLen=255 | |
Applies when region.type = cardstitle.advancedFormatting = N | ||||
title {
title: "Page title"
advancedFormatting: false
column: value
htmlExpression: ```
Lorem ipsum dolor sit amet.
```
cssClasses: [
value1
value2
]
}
chartAppearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
orientation | enum | Yes | vertical | enum=[vertical, horizontal] |
Applies when region.type = chartchart.type in (area, bar, combo, funnel, line, lineWithArea, boxPlot, range) | ||||
stack | boolean | Yes | off | |
Applies when region.type = chartchart.type in (area, bar, line, lineWithArea, combo, polar, radar) | ||||
stackLabel | boolean | Yes | off | |
Applies when region.type = chartchart.type = bar and chartAppearance.stack = on | ||||
fontFamily | enum | No | enum=[arial, arialBlack, bookman, comicSansMs, courier, courierNew, garamond, georgia, helvetica, impact, palatino, times, timesNewRoman, trebuchetMs, verdana] | |
Applies when region.type = chartchartAppearance.stackLabel = on | ||||
fontStyle | enum | No | enum=[normal, italic, oblique] | |
Applies when region.type = chartchartAppearance.stackLabel = on | ||||
fontSize | enum | No | enum=[8, 10, 12, 14, 16, 18, 20, 22] | |
Applies when region.type = chartchartAppearance.stackLabel = on | ||||
fontColor | string | No | maxLen=255 | |
Applies when region.type = chartchartAppearance.stackLabel = on | ||||
chartAppearance {
orientation: vertical
stack: false
stackLabel: false
fontFamily: arial
fontStyle: normal
fontSize: "8"
fontColor: value
}
page
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
size | enum | Yes | letter | enum=[letter, legal, tabloid, a4, a3, custom] |
Applies when download.formats in (XLSX, PDF)region.type = interactiveReportApplies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularFormApplies when region.type = interactiveGrid and download.formats in (XLSX, PDF) | ||||
orientation | enum | Yes | landscape | enum=[portrait, landscape] |
Applies when download.formats in (XLSX, PDF)region.type = interactiveReportApplies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularFormApplies when region.type = interactiveGrid and download.formats in (XLSX, PDF) | ||||
units | enum | Yes | inches | enum=[inches, millimeters, centimeters, points] |
Applies when download.formats in (XLSX, PDF)region.type = interactiveReportApplies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularFormApplies when region.type = interactiveGrid and download.formats in (XLSX, PDF) | ||||
width | number | Yes | 11 | maxLen=22 |
Applies when download.formats in (XLSX, PDF)region.type = interactiveReportApplies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularFormApplies when region.type = interactiveGrid and download.formats in (XLSX, PDF) | ||||
height | number | Yes | 8.5 | maxLen=22 |
Applies when download.formats in (XLSX, PDF)region.type = interactiveReportApplies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularFormApplies when region.type = interactiveGrid and download.formats in (XLSX, PDF) | ||||
borderWidth | number | No | maxLen=255 | |
Applies when download.formats in (XLSX, PDF)region.type = interactiveReportApplies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularFormApplies when region.type = interactiveGrid and download.formats in (XLSX, PDF) | ||||
borderColor | string | No | maxLen=255 | |
Applies when download.formats in (XLSX, PDF)region.type = interactiveReportApplies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularFormApplies when region.type = interactiveGrid and download.formats in (XLSX, PDF) | ||||
page {
size: letter
orientation: portrait
units: inches
width: 400
height: 300
borderWidth: 1
borderColor: value
}
card
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
cssClasses | array of strings | No | maxLen=255 | |
Applies when region.type = cards | ||||
primaryKeyColumn1 | string | No | maxLen=32767 | |
Applies when region.type = cardsiconAndBadge.iconSource NOT_EQUALS BLOB and media.source NOT_EQUALS BLOB or not set | ||||
primaryKeyColumn2 | string | No | maxLen=32767 | |
Applies when region.type = cardscard.primaryKeyColumn1 is set | ||||
primaryKeyColumn1 | string | Yes | maxLen=32767 | |
Applies when region.type = cardsiconAndBadge.iconSource = BLOB or media.source = BLOB | ||||
primaryKeyColumn2 | string | No | maxLen=32767 | |
Applies when region.type = cardscard.primaryKeyColumn1 is set | ||||
card {
cssClasses: [
value1
value2
]
primaryKeyColumn2: value
primaryKeyColumn1: value
}
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sqlQuery | multiline string | Yes | language=sql; maxLen=32767 | |
Applies when region.type supports SOURCE_SQL | ||||
plsqlCode | multiline string | Yes | language=plsql; maxLen=32767Enter the PL/SQL code to generate the HTML output. | |
Applies when region.type supports SOURCE_PLSQL | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when region.type supports SOURCE_PLSQL_FUNCTION | ||||
htmlCode | multiline string | Yes | language=html; maxLen=32767 | |
Applies when region.type supports SOURCE_HTML | ||||
text | multiline string | Yes | maxLen=32767 | |
Applies when region.type supports SOURCE_PLAIN | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when region.type = dynamicContent | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when region.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when region.language = JAVASCRIPT | ||||
location | enum | Yes | localDatabase | enum=[localDatabase, restEnabledSql, restSource, jsonDualityView, jsonSource, sampleData] |
Applies when region.type supports SOURCE_LOCATION | ||||
remoteServer | string | Yes | ||
Applies when region.location = REMOTE | ||||
sampleData | enum | Yes | enum=[employees, tasks, products, projects] | |
Applies when region.location = SAMPLE_DATA | ||||
type | string | Yes | TABLE | |
Applies when region.location in (LOCAL, REMOTE) | ||||
tableOwner | string | No | maxLen=32767 | |
Applies when region.type = TABLE | ||||
tableName | string | Yes | maxLen=128 | |
Applies when region.type = TABLE | ||||
includeRowidColumn | boolean | Yes | false | |
Applies when region.type = TABLE and region.remoteServer supports IS_ORACLE or not set | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when region.type = TABLE | ||||
graphOwner | string | No | maxLen=32767 | |
Applies when region.type = GRAPH | ||||
graphName | string | Yes | maxLen=32767 | |
Applies when region.type = GRAPH | ||||
matchClause | multiline string | Yes | maxLen=4000 | |
Applies when region.type = GRAPH | ||||
columnsClause | multiline string | Yes | maxLen=4000 | |
Applies when region.type = GRAPH | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when region.type = GRAPH | ||||
orderByClause | multiline string | No | language=sql; maxLen=255 | |
Applies when region.type = TABLE and region.type in (interactiveGrid, interactiveReport, map, form) | ||||
orderByClause | multiline string | No | language=sql; maxLen=255 | |
Applies when region.type = GRAPH and region.type in (interactiveGrid, interactiveReport, map, form) | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=32767 | |
Applies when region.type = SQL | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when region.type = FUNC_BODY_RETURNING_SQL | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when region.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when region.language = JAVASCRIPT | ||||
restSource | string | Yes | ||
Applies when region.location = WEB_SOURCE | ||||
jsonDualityView | string | Yes | ||
Applies when region.location = DUALITY_VIEW | ||||
jsonSource | string | Yes | ||
Applies when region.location = JSON_COLLECTION | ||||
list | string | Yes | ||
Applies when region.type in (list) | ||||
breadcrumb | string | Yes | ||
Applies when region.type in (breadcrumb) | ||||
filteredRegion | string | Yes | ||
Applies when region.type in (facetedSearch, smartFilters) | ||||
pageItemsToSubmit | array of strings | No | maxLen=4000 | |
Applies when region.type supports AJAX_ITEMS_TO_SUBMIT | ||||
optimizerHint | string | No | maxLen=255 | |
Applies when region.location in (LOCAL, REMOTE, WEB_SOURCE, DUALITY_VIEW, JSON_COLLECTION) | ||||
useGenericColumnNames | boolean | Yes | DERIVED_REPORT_COLUMNS | |
Applies when region.type = classicReport and region.type = FUNC_BODY_RETURNING_SQL | ||||
genericColumnCount | integer | Yes | maxLen=3; min=1; max=999 | |
Applies when region.useGenericColumnNames = GENERIC_REPORT_COLUMNS | ||||
source { sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` plsqlCode: ``` apex_debug.message('Processing APEXlang component'); apex_collection.create_or_truncate_collection( p_collection_name => 'EXAMPLE_ROWS' ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` htmlCode: ``` Lorem ipsum dolor sit amet. ``` text: ``` Lorem ipsum dolor sit amet. ``` language: plsql javaScriptFunctionBody: ``` return 'Generated text'; ``` location: localDatabase remoteServer:@componentsampleData: employees type: value tableOwner: value tableName: value includeRowidColumn: false whereClause: ``` status = 'ACTIVE' ``` graphOwner: value graphName: value matchClause: ``` Lorem ipsum dolor sit amet. ``` columnsClause: ``` Lorem ipsum dolor sit amet. ``` orderByClause: ``` created_on desc ``` restSource:@componentjsonDualityView:@componentjsonSource:@componentlist:@componentbreadcrumb:@componentfilteredRegion:@componentpageItemsToSubmit: [ value1 value2 ] optimizerHint: value useGenericColumnNames: false genericColumnCount: 42 }
edit
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
addRowIfEmpty | boolean | Yes | true | |
Applies when region.type = interactiveGridedit.allowedOperations = i | ||||
enabled | boolean | Yes | false | Specify whether end users can edit this Form region. Note - When the Form region is made editable a process is automatically created to process the row. |
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapregion.type supports EDITABLEApplies when region.type = interactiveGrid | ||||
allowedOperations | array of enums | No | enum=[add, update, delete]Check which data manipulation language (DML) operations are supported. This process will perform DML operations based on the Database Action attribute of the button to submit the page. If that attribute is not set, the operation will be determined by the button Request value, which is set based on the Button Name, as follows:
| |
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapedit.enabled = YApplies when region.type = interactiveGridedit.enabled = Y | ||||
allowedRowOperationsColumn | string | No | maxLen=32767 | |
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapedit.allowedOperations in (u, d)Applies when region.type = interactiveGridedit.allowedOperations in (u, d) | ||||
lostUpdateType | enum | Yes | rowValues | enum=[rowValues, rowVersionColumn] |
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapedit.enabled = YApplies when region.type = interactiveGridedit.enabled = Y | ||||
rowVersionColumn | string | Yes | maxLen=32767 | |
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapedit.lostUpdateType = COLUMNApplies when region.type = interactiveGridedit.lostUpdateType = COLUMN | ||||
edit {
addRowIfEmpty: false
enabled: false
allowedOperations: [
add
update
]
allowedRowOperationsColumn: value
lostUpdateType: rowValues
rowVersionColumn: value
}
controls
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
navigationBar | enum | Yes | zoomAndCompass | enum=[none, zoomOnly, zoomAndCompass] |
Applies when region.type = map | ||||
navigationBarPosition | enum | Yes | end | enum=[start, end] |
Applies when region.type = mapcontrols.navigationBar NOT_EQUALS NONE | ||||
options | array of enums | No | enum=[mousewheelZoom, rectangleZoom, scaleBar, overviewMap, infiniteMap, getBrowserLocation, circleTool, distanceTool] | |
Applies when region.type = map | ||||
controls {
navigationBar: none
navigationBarPosition: start
options: [
mousewheelZoom
rectangleZoom
]
}
chartLayout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
maxWidth | integer | No | maxLen=32767; min=1 | |
Applies when region.type = chart | ||||
height | integer | No | maxLen=32767; min=1 | |
Applies when region.type = chart | ||||
chartLayout {
maxWidth: 5
height: 300
}
initialPositionAndZoom
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
getPositionFromBrowser | boolean | Yes | false | |
Applies when region.type = mapcontrols.options = BROWSER_LOCATION | ||||
type | enum | Yes | basedOnSpatialResults | enum=[staticValues, sqlQuery, basedOnSpatialResults] |
Applies when region.type = map | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=32767 | |
Applies when region.type = mapinitialPositionAndZoom.type = SQL | ||||
geometryColumnDataType | enum | Yes | enum=[sdoGeometry, geojson, longitudeLatitude] | |
Applies when region.type = mapinitialPositionAndZoom.type = SQL | ||||
initialLongitudeColumn | string | Yes | maxLen=32767 | |
Applies when region.type = mapinitialPositionAndZoom.geometryColumnDataType = LONLAT_COLUMNS | ||||
initialLatitudeColumn | string | Yes | maxLen=32767 | |
Applies when region.type = mapinitialPositionAndZoom.geometryColumnDataType = LONLAT_COLUMNS | ||||
geometryColumn | string | Yes | maxLen=32767 | |
Applies when region.type = mapinitialPositionAndZoom.geometryColumnDataType = SDO_GEOMETRY | ||||
geojsonColumn | string | Yes | maxLen=32767 | |
Applies when region.type = mapinitialPositionAndZoom.geometryColumnDataType = GEOJSON | ||||
initialZoomlevelColumn | string | No | maxLen=32767 | |
Applies when region.type = mapinitialPositionAndZoom.type = SQL | ||||
longitude | string | Yes | maxLen=32767 | |
Applies when region.type = mapinitialPositionAndZoom.type = STATIC | ||||
latitude | string | Yes | maxLen=32767 | |
Applies when region.type = mapinitialPositionAndZoom.type = STATIC | ||||
zoomLevel | string | No | maxLen=32767 | |
Applies when region.type = mapinitialPositionAndZoom.type in (STATIC, QUERY_RESULTS) | ||||
initialPositionAndZoom {
getPositionFromBrowser: false
type: staticValues
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
geometryColumnDataType: sdoGeometry
initialLongitudeColumn: value
initialLatitudeColumn: value
geometryColumn: value
geojsonColumn: value
initialZoomlevelColumn: value
longitude: value
latitude: value
zoomLevel: value
}
pageHeader
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
font | enum | Yes | helvetica | enum=[helvetica, times, courier] |
Applies when download.formats in (XLSX, PDF)region.type = interactiveReportApplies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularFormApplies when region.type = interactiveGrid and download.formats in (XLSX, PDF) | ||||
fontWeight | enum | Yes | normal | enum=[normal, bold] |
Applies when download.formats in (XLSX, PDF)region.type = interactiveReportApplies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularFormApplies when region.type = interactiveGrid and download.formats in (XLSX, PDF) | ||||
fontSize | integer | Yes | 12 | maxLen=32767 |
Applies when download.formats in (XLSX, PDF)region.type = interactiveReportApplies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularFormApplies when region.type = interactiveGrid and download.formats in (XLSX, PDF) | ||||
fontColor | string | Yes | #000000 | maxLen=255 |
Applies when download.formats in (XLSX, PDF)region.type = interactiveReportApplies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularFormApplies when region.type = interactiveGrid and download.formats in (XLSX, PDF) | ||||
alignment | enum | Yes | center | enum=[start, center, end] |
Applies when download.formats in (XLSX, PDF)region.type = interactiveReportApplies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularFormApplies when region.type = interactiveGrid and download.formats in (XLSX, PDF) | ||||
pageHeaderText | multiline string | No | maxLen=4000 | |
Applies when download.formats in (XLSX, PDF)region.type = interactiveReportApplies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularFormApplies when region.type = interactiveGrid and download.formats in (XLSX, PDF) | ||||
pageHeader {
font: helvetica
fontWeight: normal
fontSize: 42
fontColor: value
alignment: start
pageHeaderText: ```
Lorem ipsum dolor sit amet.
```
}
editAuthorization
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
add | string | No | ||
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapedit.allowedOperations = iApplies when region.type = interactiveGridedit.allowedOperations = i | ||||
update | string | No | ||
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapedit.allowedOperations = uApplies when region.type = interactiveGridedit.allowedOperations = u | ||||
delete | string | No | ||
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapedit.allowedOperations = dApplies when region.type = interactiveGridedit.allowedOperations = d | ||||
editAuthorization { add:@componentupdate:@componentdelete:@component}
pagination
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[rowRangesXToYNoPagination, rowRangesXToYOfZNoPagination, rowRangesXToYOfZWithPagination, setPaginationLinks, setPaginationSelectList, setPaginationSearchEngine, externalPaginationButtons, nextAndPreviousLinks] | |
Applies when region.type = classicReportApplies when region.type = tabularForm | ||||
partialPageRefresh | boolean | Yes | true | |
Applies when region.type = classicReportApplies when region.type = tabularForm | ||||
type | enum | No | enum=[rowRangesXToYOfZ, rowRangesXToY] | |
Applies when region.type = interactiveReport | ||||
displayPosition | enum | Yes | bottomRight | enum=[bottomLeft, bottomRight, topLeft, topRight, topAndBottomLeft, topAndBottomRight] |
Applies when region.type = interactiveReportpagination.type is setApplies when region.type = classicReportpagination.type is setApplies when region.type = tabularFormpagination.type is set | ||||
maxRowsToDisplay | string | No | maxLen=32767 | |
Applies when region.type = interactiveReport | ||||
cardsPerPage | integer | Yes | 15 | maxLen=32767; min=1 |
Applies when region.type = cardspagination.type = SET | ||||
type | string | Yes | SET | |
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapcomponentAppearance.display = REPORTApplies when region.type = interactiveGridApplies when region.type = cards | ||||
entitiesPerPage | integer | Yes | 15 | maxLen=32767; min=1 |
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mappagination.type = SET | ||||
initialEntitiesCount | integer | No | maxLen=32767; min=1 | |
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mappagination.type = SCROLL | ||||
showTotalCount | boolean | Yes | false | |
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapcomponentAppearance.display = REPORTApplies when region.type = interactiveGridApplies when region.type = cards | ||||
pagination {
partialPageRefresh: false
displayPosition: bottomLeft
maxRowsToDisplay: value
cardsPerPage: 42
type: value
entitiesPerPage: 42
initialEntitiesCount: 42
showTotalCount: false
}
gauge
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
orientation | enum | Yes | circular | enum=[circular, horizontal, vertical] |
Applies when region.type = chartchart.type = dial | ||||
showPlotArea | boolean | Yes | on | |
Applies when region.type = chartchart.type = dial | ||||
indicatorSize | number | Yes | 1 | maxLen=22; min=0 |
Applies when region.type = chartchart.type = dial | ||||
innerRadius | number | Yes | 0.7 | maxLen=22; min=0 |
Applies when region.type = chartchart.type = dial and gauge.orientation = circular | ||||
startAngle | number | Yes | 90 | maxLen=22 |
Applies when region.type = chartchart.type = dial and gauge.orientation = circular | ||||
angleExtent | number | Yes | 360 | maxLen=22; min=0 |
Applies when region.type = chartchart.type = dial and gauge.orientation = circular | ||||
gauge {
orientation: circular
showPlotArea: false
indicatorSize: 42
innerRadius: 42
startAngle: 42
angleExtent: 42
}
columnHeadings
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
font | enum | Yes | helvetica | enum=[helvetica, times, courier] |
Applies when download.formats in (XLSX, PDF)region.type = interactiveReportApplies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularFormApplies when region.type = interactiveGrid and download.formats in (XLSX, PDF) | ||||
fontWeight | enum | Yes | bold | enum=[normal, bold] |
Applies when download.formats in (XLSX, PDF)region.type = interactiveReportApplies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularFormApplies when region.type = interactiveGrid and download.formats in (XLSX, PDF) | ||||
fontSize | integer | Yes | 10 | maxLen=32767 |
Applies when download.formats in (XLSX, PDF)region.type = interactiveReportApplies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularFormApplies when region.type = interactiveGrid and download.formats in (XLSX, PDF) | ||||
fontColor | string | Yes | #000000 | maxLen=255 |
Applies when download.formats in (XLSX, PDF)region.type = interactiveReportApplies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularFormApplies when region.type = interactiveGrid and download.formats in (XLSX, PDF) | ||||
backgroundColor | string | Yes | #EEEEEE | maxLen=255 |
Applies when download.formats in (XLSX, PDF)region.type = interactiveReportApplies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularFormApplies when region.type = interactiveGrid and download.formats in (XLSX, PDF) | ||||
columnHeadings {
font: helvetica
fontWeight: normal
fontSize: 42
fontColor: value
backgroundColor: value
}
subtitle
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
advancedFormatting | boolean | Yes | false | |
Applies when region.type = cards | ||||
column | string | No | maxLen=32767 | |
Applies when region.type = cardssubtitle.advancedFormatting = N | ||||
htmlExpression | multiline string | Yes | language=html; maxLen=4000 | |
Applies when region.type = cardssubtitle.advancedFormatting = Y | ||||
cssClasses | array of strings | No | maxLen=255 | |
Applies when region.type = cardssubtitle.advancedFormatting = N | ||||
subtitle {
advancedFormatting: false
column: value
htmlExpression: ```
Lorem ipsum dolor sit amet.
```
cssClasses: [
value1
value2
]
}
toolbar
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
show | boolean | Yes | true | |
Applies when region.type = interactiveGrid | ||||
controls | array of enums | No | enum=[searchCol, searchField, actionsMenu, resetButton, saveButton] | |
Applies when region.type = interactiveGridtoolbar.show = Y | ||||
addButtonLabel | string | No | maxLen=255 | |
Applies when region.type = interactiveGridtoolbar.show = Y and edit.allowedOperations = i | ||||
toolbar {
show: false
controls: [
searchCol
searchField
]
addButtonLabel: value
}
breakFormatting
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
reportSumLabel | string | No | maxLen=255 | |
Applies when region.type = classicReportApplies when region.type = tabularForm | ||||
breakColumns | enum | No | enum=[col1, cols1-2, cols1-3] | |
Applies when region.type = classicReportApplies when region.type = tabularForm | ||||
style | enum | Yes | default | enum=[repeatHeadings, default] |
Applies when region.type = classicReportbreakFormatting.breakColumns is setApplies when region.type = tabularFormbreakFormatting.breakColumns is set | ||||
repeatHeadingFormat | multiline string | No | maxLen=4000 | |
Applies when region.type = classicReportbreakFormatting.style = REPEAT_HEADINGS_ON_BREAK_1Applies when region.type = tabularFormbreakFormatting.style = REPEAT_HEADINGS_ON_BREAK_1 | ||||
reportBreakFormat | string | No | maxLen=2000 | |
Applies when region.type = classicReportbreakFormatting.breakColumns is setApplies when region.type = tabularFormbreakFormatting.breakColumns is set | ||||
beforeRow | string | No | maxLen=2000 | |
Applies when region.type = classicReportbreakFormatting.breakColumns is setApplies when region.type = tabularFormbreakFormatting.breakColumns is set | ||||
columnBreakFormat | string | No | maxLen=2000 | |
Applies when region.type = classicReportbreakFormatting.breakColumns is setApplies when region.type = tabularFormbreakFormatting.breakColumns is set | ||||
afterRow | string | No | maxLen=2000 | |
Applies when region.type = classicReportbreakFormatting.breakColumns is setApplies when region.type = tabularFormbreakFormatting.breakColumns is set | ||||
breakFormatting {
reportSumLabel: value
breakColumns: col1
style: repeatHeadings
repeatHeadingFormat: ```
Lorem ipsum dolor sit amet.
```
reportBreakFormat: value
beforeRow: value
columnBreakFormat: value
afterRow: value
}
dataCursor
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
cursor | enum | Yes | auto | enum=[auto, true, false] |
Applies when region.type = chartchart.type NOT_IN_LIST polar, dial, gantt | ||||
behavior | enum | Yes | auto | enum=[auto, smooth, snap] |
Applies when region.type = chartdataCursor.cursor in (auto, on) and chart.type NOT_IN_LIST polar, dial, gantt | ||||
dimOnHover | boolean | Yes | dim | |
Applies when region.type = chartchart.type NOT_IN_LIST gantt, dial | ||||
dataCursor {
cursor: auto
behavior: auto
dimOnHover: false
}
body
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
advancedFormatting | boolean | Yes | false | |
Applies when region.type = cards | ||||
column | string | No | maxLen=32767 | |
Applies when region.type = cardsbody.advancedFormatting = N | ||||
htmlExpression | multiline string | Yes | language=html; maxLen=4000 | |
Applies when region.type = cardsbody.advancedFormatting = Y | ||||
cssClasses | array of strings | No | maxLen=255 | |
Applies when region.type = cardsbody.advancedFormatting = N | ||||
body {
advancedFormatting: false
column: value
htmlExpression: ```
Lorem ipsum dolor sit amet.
```
cssClasses: [
value1
value2
]
}
enableUsersTo
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
savePublicReport | boolean | Yes | false | |
Applies when region.type = interactiveGrid | ||||
savePublicReportAuthorization | string | No | ||
Applies when region.type = interactiveGridenableUsersTo.savePublicReport = Y | ||||
flashback | boolean | Yes | true | |
Applies when region.type = interactiveGrid | ||||
defineChartView | boolean | Yes | true | |
Applies when region.type = interactiveGrid | ||||
download | boolean | Yes | true | |
Applies when region.type = interactiveGrid | ||||
enableUsersTo { savePublicReport: false savePublicReportAuthorization:@componentflashback: false defineChartView: false download: false }
columns
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
font | enum | Yes | helvetica | enum=[helvetica, times, courier] |
Applies when download.formats in (XLSX, PDF)region.type = interactiveReportApplies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularFormApplies when region.type = interactiveGrid and download.formats in (XLSX, PDF) | ||||
fontWeight | enum | Yes | normal | enum=[normal, bold] |
Applies when download.formats in (XLSX, PDF)region.type = interactiveReportApplies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularFormApplies when region.type = interactiveGrid and download.formats in (XLSX, PDF) | ||||
fontSize | integer | Yes | 10 | maxLen=32767 |
Applies when download.formats in (XLSX, PDF)region.type = interactiveReportApplies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularFormApplies when region.type = interactiveGrid and download.formats in (XLSX, PDF) | ||||
fontColor | string | Yes | #000000 | maxLen=255 |
Applies when download.formats in (XLSX, PDF)region.type = interactiveReportApplies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularFormApplies when region.type = interactiveGrid and download.formats in (XLSX, PDF) | ||||
backgroundColor | string | Yes | #FFFFFF | maxLen=255 |
Applies when download.formats in (XLSX, PDF)region.type = interactiveReportApplies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularFormApplies when region.type = interactiveGrid and download.formats in (XLSX, PDF) | ||||
widthUnits | enum | Yes | percent | enum=[percent, point] |
Applies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularForm | ||||
columns {
font: helvetica
fontWeight: normal
fontSize: 42
fontColor: value
backgroundColor: value
widthUnits: percent
}
multiSeriesChartData
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
fillGapsInChartData | boolean | Yes | true | |
Applies when region.type = chartchart.type NOT_IN_LIST stock, gantt, dial, funnel, pyramid, scatter, pie, donut | ||||
sortOrder | enum | Yes | labelAsc | enum=[valueAsc, valueDesc, labelAsc, labelDesc] |
Applies when region.type = chartmultiSeriesChartData.fillGapsInChartData = Y | ||||
renderGapAsZero | boolean | Yes | true | |
Applies when region.type = chartchart.type in (line, lineWithArea, area, scatter, area, bar, line, lineWithArea, combo) and multiSeriesChartData.fillGapsInChartData = Y | ||||
multiSeriesChartData {
fillGapsInChartData: false
sortOrder: valueAsc
renderGapAsZero: false
}
boundingBox
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[staticValues, sqlQuery] | |
Applies when region.type = mapcontrols.options NOT_EQUALS INFINITE_MAP | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when region.type = mapboundingBox.type = SQL | ||||
geometryColumnDataType | enum | Yes | sdoGeometry | enum=[sdoGeometry, longitudeLatitude] |
Applies when region.type = mapboundingBox.type = SQL | ||||
minLongitude | string | Yes | maxLen=32767 | |
Applies when region.type = mapboundingBox.geometryColumnDataType = LONLAT_COLUMNS | ||||
minLatitude | string | Yes | maxLen=32767 | |
Applies when region.type = mapboundingBox.geometryColumnDataType = LONLAT_COLUMNS | ||||
maxLongitude | string | Yes | maxLen=32767 | |
Applies when region.type = mapboundingBox.geometryColumnDataType = LONLAT_COLUMNS | ||||
maxLatitude | string | Yes | maxLen=32767 | |
Applies when region.type = mapboundingBox.geometryColumnDataType = LONLAT_COLUMNS | ||||
geometryColumn | string | Yes | maxLen=32767 | |
Applies when region.type = mapboundingBox.geometryColumnDataType = SDO_GEOMETRY | ||||
minLongitude | string | Yes | maxLen=128 | |
Applies when region.type = mapboundingBox.type = STATIC | ||||
minLatitude | string | Yes | maxLen=128 | |
Applies when region.type = mapboundingBox.type = STATIC | ||||
maxLongitude | string | Yes | maxLen=128 | |
Applies when region.type = mapboundingBox.type = STATIC | ||||
maxLatitude | string | Yes | maxLen=128 | |
Applies when region.type = mapboundingBox.type = STATIC | ||||
currentBoundsItem | string | No | maxLen=32767 | |
Applies when region.type = map | ||||
boundingBox {
type: staticValues
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
geometryColumnDataType: sdoGeometry
minLongitude: value
minLatitude: value
maxLongitude: value
maxLatitude: value
geometryColumn: value
currentBoundsItem: value
}
secondaryBody
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
advancedFormatting | boolean | Yes | false | |
Applies when region.type = cards | ||||
column | string | No | maxLen=32767 | |
Applies when region.type = cardssecondaryBody.advancedFormatting = N | ||||
htmlExpression | multiline string | Yes | language=html; maxLen=4000 | |
Applies when region.type = cardssecondaryBody.advancedFormatting = Y | ||||
cssClasses | array of strings | No | maxLen=255 | |
Applies when region.type = cardssecondaryBody.advancedFormatting = N | ||||
secondaryBody {
advancedFormatting: false
column: value
htmlExpression: ```
Lorem ipsum dolor sit amet.
```
cssClasses: [
value1
value2
]
}
settings
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
timeAxisType | enum | No | enum=[auto, disabled, enabled, mixedFrequency, skipGaps] | |
Applies when region.type = chartchart.type in (area, bar, line, lineWithArea, stock, boxPlot, combo) | ||||
zoomAndScroll | enum | Yes | false | enum=[false, delayed, delayedScrollOnly, live, liveScrollOnly]Specify the zoom and scroll behavior of the chart. Live behavior means that the chart will be updated continuously as it is being manipulated, while Delayed means that the update will wait until the zoom/scroll action is done. While Live zoom and scroll provides the best end user experience, no guarantees are made about the rendering performance or usability for large data sets or slow client environments. If performance is an issue, Delayed zoom and scroll should be used instead. |
Applies when region.type = chartchart.type NOT_IN_LIST dial, pie, donut, gantt | ||||
zoomDirection | enum | Yes | bothAxes | enum=[bothAxes, xAxis, yAxis] |
Applies when region.type = chartchart.type in (bubble, scatter) and settings.zoomAndScroll NOT_EQUALS off | ||||
initialZooming | enum | Yes | none | enum=[first, last, none] |
Applies when region.type = chartchart.type in (bar, line, area, lineWithArea, combo, stock) and settings.zoomAndScroll NOT_EQUALS off | ||||
showHorizontalGrid | enum | Yes | auto | enum=[auto, true, false] |
Applies when region.type = chartchart.type = gantt | ||||
showVerticalGrid | enum | Yes | auto | enum=[auto, true, false] |
Applies when region.type = chartchart.type = gantt | ||||
showRowAxis | boolean | Yes | on | |
Applies when region.type = chartchart.type = gantt | ||||
axisPosition | enum | Yes | top | enum=[top, bottom] |
Applies when region.type = chartchart.type = gantt | ||||
pieSelectionEffect | enum | Yes | highlight | enum=[explode, highlightAndExplode, highlight] |
Applies when region.type = chartchart.type in (pie, donut) | ||||
renderAs | enum | Yes | candlestick | enum=[area, bar, candlestick, line, lineWithArea] |
Applies when region.type = chartchart.type = stock | ||||
settings {
timeAxisType: auto
zoomAndScroll: false
zoomDirection: bothAxes
initialZooming: first
showHorizontalGrid: auto
showVerticalGrid: auto
showRowAxis: false
axisPosition: top
pieSelectionEffect: explode
renderAs: area
}
componentAdvanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
stripHtml | boolean | Yes | false | |
Applies when region.type = classicReportApplies when region.type = tabularForm | ||||
sortNulls | enum | Yes | last | enum=[first, last] |
Applies when region.type = classicReportApplies when region.type = tabularForm | ||||
customSvgStyles | multiline string | No | maxLen=32767 | |
Applies when region.type = map | ||||
regionAlias | string | No | maxLen=255 | |
Applies when region.type = interactiveReport | ||||
reportIdItem | string | No | maxLen=255 | |
Applies when region.type = interactiveReport | ||||
oracleTextIndexColumn | string | No | maxLen=32767 | |
Applies when region.type = interactiveReportApplies when region.type = interactiveGrid | ||||
emailFromAddress | string | No | maxLen=255 | |
Applies when region.type = interactiveReportApplies when region.type = interactiveGrid | ||||
maxRowsPerPageInSelector | string | No | maxLen=4000 | |
Applies when region.type = interactiveReportactionsMenu.rowsPerPage = Y or searchBar.rowsPerPageSelector = Y | ||||
initJavaScriptFunction | multiline string | No | language=javascript-browser; maxLen=4000 | |
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapregion.type supports INIT_JAVASCRIPT_CODEApplies when region.type = chartApplies when region.type = interactiveGridApplies when region.type = cards | ||||
componentAdvanced {
stripHtml: false
sortNulls: first
customSvgStyles: ```
Lorem ipsum dolor sit amet.
```
regionAlias: value
reportIdItem: value
oracleTextIndexColumn: value
emailFromAddress: value
maxRowsPerPageInSelector: value
initJavaScriptFunction: ```
apex.message.alert( "Load complete." );
```
}
download
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
formats | array of enums | No | enum=[csv, html, pdf, excel] | |
Applies when region.type = interactiveGridenableUsersTo.download = Y | ||||
csvExportEnabled | boolean | Yes | false | |
Applies when region.type = classicReportApplies when region.type = tabularForm | ||||
linkText | string | Yes | Download | maxLen=255 |
Applies when region.type = classicReportdownload.csvExportEnabled = YApplies when region.type = tabularFormdownload.csvExportEnabled = Y | ||||
authorization | string | No | ||
Applies when region.type = interactiveReportactionsMenu.download = YApplies when region.type = interactiveGridenableUsersTo.download = Y | ||||
formats | array of enums | Yes | csv html excel pdf | enum=[csv, html, excel, pdf] |
Applies when region.type = interactiveReportactionsMenu.download = Y | ||||
sendAsEmail | boolean | Yes | true | |
Applies when region.type = interactiveReportactionsMenu.download = YApplies when region.type = interactiveGridenableUsersTo.download = Y | ||||
csvSeparator | string | No | maxLen=2 | |
Applies when region.type = interactiveReportdownload.formats = CSVApplies when region.type = classicReportdownload.csvExportEnabled = YApplies when region.type = tabularFormdownload.csvExportEnabled = YApplies when region.type = interactiveGriddownload.formats = CSV | ||||
csvEnclosedBy | string | No | maxLen=1 | |
Applies when region.type = interactiveReportdownload.formats = CSVApplies when region.type = classicReportdownload.csvExportEnabled = YApplies when region.type = tabularFormdownload.csvExportEnabled = YApplies when region.type = interactiveGriddownload.formats = CSV | ||||
filename | string | No | maxLen=255 | |
Applies when region.type = interactiveReportactionsMenu.download = YApplies when region.type = classicReportdownload.csvExportEnabled = YApplies when region.type = tabularFormdownload.csvExportEnabled = YApplies when region.type = interactiveGridenableUsersTo.download = Y | ||||
supplementalText | multiline string | No | maxLen=4000 | |
Applies when region.type = interactiveReportdownload.formats is setApplies when region.type = classicReportApplies when region.type = tabularFormApplies when region.type = interactiveGriddownload.formats is set | ||||
download { csvExportEnabled: false linkText: value authorization:@componentformats: [ csv html ] sendAsEmail: false csvSeparator: value csvEnclosedBy: value filename: exampleName supplementalText: ``` Lorem ipsum dolor sit amet. ``` }
pageFooter
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
font | enum | Yes | helvetica | enum=[helvetica, times, courier] |
Applies when download.formats in (XLSX, PDF)region.type = interactiveReportApplies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularFormApplies when region.type = interactiveGrid and download.formats in (XLSX, PDF) | ||||
fontWeight | enum | Yes | normal | enum=[normal, bold] |
Applies when download.formats in (XLSX, PDF)region.type = interactiveReportApplies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularFormApplies when region.type = interactiveGrid and download.formats in (XLSX, PDF) | ||||
fontSize | integer | Yes | 12 | maxLen=32767 |
Applies when download.formats in (XLSX, PDF)region.type = interactiveReportApplies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularFormApplies when region.type = interactiveGrid and download.formats in (XLSX, PDF) | ||||
fontColor | string | Yes | #000000 | maxLen=255 |
Applies when download.formats in (XLSX, PDF)region.type = interactiveReportApplies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularFormApplies when region.type = interactiveGrid and download.formats in (XLSX, PDF) | ||||
alignment | enum | Yes | center | enum=[start, center, end] |
Applies when download.formats in (XLSX, PDF)region.type = interactiveReportApplies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularFormApplies when region.type = interactiveGrid and download.formats in (XLSX, PDF) | ||||
pageFooterText | multiline string | No | maxLen=4000 | |
Applies when download.formats in (XLSX, PDF)region.type = interactiveReportApplies when printing.enabled = Yregion.type = classicReportApplies when printing.enabled = Yregion.type = tabularFormApplies when region.type = interactiveGrid and download.formats in (XLSX, PDF) | ||||
pageFooter {
font: helvetica
fontWeight: normal
fontSize: 42
fontColor: value
alignment: start
pageFooterText: ```
Lorem ipsum dolor sit amet.
```
}
singleRowView
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
excludeNullValues | boolean | Yes | false | |
Applies when region.type = interactiveReportlink.linkColumn = Y | ||||
onlyDisplayedColumns | boolean | Yes | false | |
Applies when region.type = interactiveReportlink.linkColumn = Y | ||||
singleRowView {
excludeNullValues: false
onlyDisplayedColumns: false
}
iconAndBadge
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
iconSource | enum | No | enum=[initials, iconClass, iconClassColumn, imageUrl, imageBlobColumn] | |
Applies when region.type = cards | ||||
iconColumn | string | Yes | maxLen=32767 | |
Applies when region.type = cardsiconAndBadge.iconSource in (INITIALS, DYNAMIC_CLASS) | ||||
imageColumn | string | Yes | maxLen=32767 | |
Applies when region.type = cardsiconAndBadge.iconSource = BLOB | ||||
imageUrl | string | Yes | maxLen=4000 | |
Applies when region.type = cardsiconAndBadge.iconSource = URL | ||||
iconCssClasses | string | No | maxLen=255 | |
Applies when region.type = cardsiconAndBadge.iconSource in (INITIALS, DYNAMIC_CLASS, BLOB, URL) | ||||
iconCssClasses | string | Yes | maxLen=255 | |
Applies when region.type = cardsiconAndBadge.iconSource = STATIC_CLASS | ||||
iconPosition | enum | Yes | start | enum=[top, start, end] |
Applies when region.type = cardsiconAndBadge.iconSource is set | ||||
iconDescription | string | No | maxLen=255 | |
Applies when region.type = cardsiconAndBadge.iconSource is set | ||||
badgeColumn | string | No | maxLen=32767 | |
Applies when region.type = cards | ||||
badgeLabel | string | No | maxLen=255 | |
Applies when region.type = cardsiconAndBadge.badgeColumn is set | ||||
badgeCssClasses | array of strings | No | maxLen=255 | |
Applies when region.type = cardsiconAndBadge.badgeColumn is set | ||||
iconAndBadge {
iconSource: initials
iconColumn: fa-check
imageColumn: value
imageUrl: value
iconCssClasses: fa-check
iconPosition: top
iconDescription: fa-check
badgeColumn: value
badgeLabel: value
badgeCssClasses: [
value1
value2
]
}
heading
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
fixedReportHeight | integer | Yes | maxLen=32767; min=1 | |
Applies when region.type = interactiveGridheading.fixedTo = REGION | ||||
fixedTo | enum | Yes | page | enum=[none, region, page] |
Applies when region.type = interactiveReportApplies when region.type = interactiveGrid | ||||
maxReportHeight | integer | Yes | maxLen=32767; min=1 | |
Applies when region.type = interactiveReportheading.fixedTo = REGION | ||||
type | enum | Yes | customHeadings | enum=[columnNames, columnNamesInitcap, customHeadings, plsqlFunctionBody, none] |
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapregion.type supports COLUMN_HEADINGApplies when region.type = classicReportApplies when region.type = tabularForm | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapheading.type = FUNCTION_BODY_RETURNING_COLON_DELIMITED_LISTApplies when region.type = classicReportheading.type = FUNCTION_BODY_RETURNING_COLON_DELIMITED_LISTApplies when region.type = tabularFormheading.type = FUNCTION_BODY_RETURNING_COLON_DELIMITED_LIST | ||||
heading {
fixedReportHeight: 42
fixedTo: none
maxReportHeight: 5
type: columnNames
plsqlFunctionBody: ```
return 'Generated text';
```
}
overview
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
show | boolean | Yes | on | |
Applies when region.type = chartchart.type in (area, bar, line, stock, boxPlot, lineWithArea, combo) and settings.zoomAndScroll NOT_EQUALS off | ||||
height | string | No | maxLen=5 | |
Applies when region.type = chartoverview.show = on | ||||
overview {
show: false
height: value
}
performance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
maxRowsToProcess | integer | No | maxLen=32767; min=1 | |
Applies when region.type = interactiveReportpagination.maxRowsToDisplay NULLApplies when region.type = classicReportApplies when region.type = tabularForm | ||||
lazyLoading | boolean | Yes | false | |
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapregion.type supports LAZY_LOADING and region.location is setApplies when region.type = interactiveReportApplies when region.type = classicReportpagination.partialPageRefresh = YApplies when region.type = tabularFormpagination.partialPageRefresh = YApplies when region.type = interactiveGridApplies when region.type = cardsApplies when region.type = map | ||||
lazyLoading | boolean | Yes | false | |
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapregion.type supports LAZY_LOADING_ALWAYS | ||||
performance {
maxRowsToProcess: 5
lazyLoading: false
}
legend
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
show | boolean | Yes | true | |
Applies when region.type = map | ||||
position | enum | Yes | end | enum=[start, end, selector] |
Applies when region.type = maplegend.show = Y | ||||
selector | string | Yes | maxLen=32767 | |
Applies when region.type = maplegend.position = SELECTOR | ||||
cssClasses | array of strings | No | maxLen=255 | |
Applies when region.type = maplegend.show = Y | ||||
show | boolean | Yes | on | |
Applies when region.type = chartchart.type NOT_IN_LIST dial, stock, gantt | ||||
title | string | No | maxLen=255 | |
Applies when region.type = chartlegend.show = on and chart.type NOT_IN_LIST funnel, pyramid, ganttApplies when region.type = maplegend.show = Y | ||||
position | enum | Yes | auto | enum=[auto, start, end, top, bottom] |
Applies when region.type = chartlegend.show = on and chart.type NOT_IN_LIST funnel, pyramid, gantt | ||||
hideAndShowBehavior | enum | Yes | rescale | enum=[none, rescale, noRescaling] |
Applies when region.type = chartlegend.show = on | ||||
fontFamily | enum | No | enum=[arial, arialBlack, bookman, comicSansMs, courier, courierNew, garamond, georgia, helvetica, impact, palatino, times, timesNewRoman, trebuchetMs, verdana] | |
Applies when region.type = chartlegend.show = on | ||||
fontStyle | enum | No | enum=[normal, italic, oblique] | |
Applies when region.type = chartlegend.show = on | ||||
fontSize | enum | No | enum=[8, 10, 12, 14, 16, 18, 20, 22] | |
Applies when region.type = chartlegend.show = on | ||||
fontColor | string | No | maxLen=255 | |
Applies when region.type = chartlegend.show = on | ||||
legend {
show: false
position: start
selector: value
cssClasses: [
value1
value2
]
title: "Page title"
hideAndShowBehavior: none
fontFamily: arial
fontStyle: normal
fontSize: "8"
fontColor: value
}
iconView
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
customIcon | multiline string | Yes | language=html; maxLen=4000 | |
Applies when region.type = interactiveGridiconView.custom = Y | ||||
iconType | enum | Yes | iconCssClasses | enum=[imageInUrl, iconCssClasses] |
Applies when region.type = interactiveGridiconView.custom = N | ||||
iconUrl | string | Yes | maxLen=32767 | |
Applies when region.type = interactiveGridiconView.custom = N and iconView.iconType = URL | ||||
icon | string | Yes | maxLen=32767 | |
Applies when region.type = interactiveGridiconView.custom = N and iconView.iconType = CSS_CLASSES | ||||
iconAttributes | string | No | maxLen=255 | |
Applies when region.type = interactiveGridiconView.iconType = URL | ||||
linkTarget | complex | No | maxLen=32767 | |
Applies when region.type = interactiveGridiconView.show = Y | ||||
linkAttributes | string | No | maxLen=255 | |
Applies when region.type = interactiveGridiconView.linkTarget is set and iconView.custom = N | ||||
labelColumn | string | Yes | maxLen=32767 | |
Applies when region.type = interactiveGridiconView.custom = N | ||||
show | boolean | Yes | false | |
Applies when region.type = interactiveReportApplies when region.type = interactiveGrid | ||||
custom | boolean | Yes | false | |
Applies when region.type = interactiveReporticonView.show = YApplies when region.type = interactiveGridiconView.show = Y | ||||
columnsPerRow | enum | Yes | 6 | enum=[1, 2, 3, 4, 5, 6, 7, 8, 9] |
Applies when region.type = interactiveReporticonView.show = Y | ||||
linkColumn | string | Yes | maxLen=32767 | |
Applies when region.type = interactiveReporticonView.custom = N | ||||
imageSourceColumn | string | Yes | maxLen=32767 | |
Applies when region.type = interactiveReporticonView.custom = N | ||||
labelColumn | string | Yes | maxLen=32767 | |
Applies when region.type = interactiveReporticonView.custom = N | ||||
imageAttributes | string | No | maxLen=512 | |
Applies when region.type = interactiveReporticonView.custom = N | ||||
htmlAltText | string | No | maxLen=512 | |
Applies when region.type = interactiveReporticonView.custom = N | ||||
htmlTitleText | string | No | maxLen=512 | |
Applies when region.type = interactiveReporticonView.custom = N | ||||
customLink | multiline string | Yes | maxLen=4000 | |
Applies when region.type = interactiveReporticonView.custom = Y | ||||
iconView {
customIcon: ```
Lorem ipsum dolor sit amet.
```
iconType: imageInUrl
iconUrl: fa-check
icon: fa-check
iconAttributes: fa-check
linkTarget: value
linkAttributes: value
labelColumn: label
show: false
custom: false
columnsPerRow: "1"
linkColumn: value
imageSourceColumn: value
imageAttributes: value
htmlAltText: value
htmlTitleText: value
customLink: ```
Lorem ipsum dolor sit amet.
```
}
messages
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
whenMoreDataFound | multiline string | No | maxLen=4000 Enter the message to display when the number of rows returned by the query exceeds the Maximum Rows to Process value, or when the number of rows
remaining after report settings are applied exceeds the Maximum Rows to Display value. Please note this message can only be shown in case of the Maximum Rows to Display if the pagination size is set to All. | |
Applies when region.type = interactiveReportApplies when region.type = classicReportApplies when region.type = tabularForm | ||||
whenNoDataFound | multiline string | No | maxLen=4000 | |
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapregion.type supports NO_DATA_FOUND_MESSAGE and componentAppearance.display = REPORT or not setApplies when region.type = interactiveReportApplies when region.type = classicReportApplies when region.type = tabularFormApplies when region.type = chartApplies when region.type = interactiveGridApplies when region.type = cards | ||||
noDataFoundIcon | string | No | maxLen=4000 | |
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapregion.type supports NO_DATA_FOUND_ICON and messages.whenNoDataFound is setApplies when region.type = cardsmessages.whenNoDataFound is set | ||||
messages {
whenMoreDataFound: ```
Lorem ipsum dolor sit amet.
```
whenNoDataFound: ```
Lorem ipsum dolor sit amet.
```
noDataFoundIcon: value
}
printing
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
enabled | boolean | Yes | false | |
Applies when region.type = classicReportApplies when region.type = tabularForm | ||||
printing {
enabled: false
}
value
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
pieChartOtherThreshold | number | Yes | 0 | maxLen=22; min=0; max=1 |
Applies when region.type = chartchart.type in (pie, donut) | ||||
min | integer | No | maxLen=32767 | |
Applies when region.type = chartchart.type in (pie, donut) | ||||
show | boolean | Yes | true | |
Applies when region.type = chartchart.type = dial | ||||
valueType | enum | Yes | number | enum=[number, percent] |
Applies when region.type = chartchart.type = dial | ||||
position | enum | Yes | auto | enum=[auto, center, insideIndicatorEdge, outsideIndicatorEdge, outsidePlotArea, withLabel] |
Applies when region.type = chartchart.type = dial and gauge.orientation NOT_EQUALS circular | ||||
format | enum | No | enum=[dateShort, dateMedium, dateLong, dateFull, timeShort, timeMedium, timeLong, timeFull, datetimeShort, datetimeMedium, datetimeLong, datetimeFull, decimal, currency, percent]Specify the type of formatting to be applied to the value on the chart. The formats Decimal,Percent or Currency only apply to numeric values. The Date,Time and DateTime formats will only apply to values of that data type on the chart. | |
Applies when region.type = chartchart.type in (dial, funnel, pyramid, pie, donut) | ||||
decimalPlaces | integer | No | maxLen=32767; min=0 Specify the number of decimal places to be applied to the numeric value on the chart. | |
Applies when region.type = chartchart.type in (dial, funnel, pyramid, pie, donut) and value.format in (decimal, currency, percent) | ||||
currency | string | No | maxLen=128 | |
Applies when region.type = chartchart.type in (dial, funnel, pyramid, pie, donut) and value.format = currency | ||||
pattern | string | No | maxLen=30 Specify the numeric pattern to be applied to the numeric value on the chart. | |
Applies when region.type = chartchart.type in (dial, funnel, pyramid, pie, donut) and value.format in (decimal, currency, percent) | ||||
formatScaling | enum | Yes | auto | enum=[none, auto, thousand, million, billion, trillion, quadrillion] |
Applies when region.type = chartchart.type in (dial, funnel, pyramid, pie, donut) | ||||
value {
pieChartOtherThreshold: 42
min: 1
show: false
valueType: number
position: auto
format: dateShort
decimalPlaces: 42
currency: value
pattern: value
formatScaling: none
}
externalProcessing
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
enabled | boolean | Yes | false | |
Applies when region.type = classicReportApplies when region.type = tabularForm | ||||
url | string | Yes | maxLen=2000 | |
Applies when region.type = classicReportexternalProcessing.enabled = YApplies when region.type = tabularFormexternalProcessing.enabled = Y | ||||
linkText | string | Yes | maxLen=2000 | |
Applies when region.type = classicReportexternalProcessing.enabled = YApplies when region.type = tabularFormexternalProcessing.enabled = Y | ||||
externalProcessing {
enabled: false
url: value
linkText: value
}
genAI
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
naturalLanguageSupport | boolean | Yes | false | |
Applies when region.type = interactiveReport | ||||
defaultSearchMode | enum | Yes | searchModeAI | enum=[searchModeRow, searchModeAI] |
Applies when region.type = interactiveReportgenAI.naturalLanguageSupport = Y | ||||
reportContext | multiline string | No | maxLen=32767 | |
Applies when region.type = interactiveReportgenAI.naturalLanguageSupport = Y | ||||
enabled | boolean | Yes | false | |
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapregion.type supports AI_ENABLED | ||||
agent | string | No | ||
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapregion.type supports AI_ENABLED_ALWAYS, AI_ENABLED and genAI.enabled = Y or not set | ||||
service | string | No | ||
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapgenAI.agent NULL | ||||
systemPrompt | multiline string | No | maxLen=32767 | |
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapregion.type supports AI_SYSTEM_PROMPT and genAI.agent NULL | ||||
welcomeMessage | multiline string | No | language=html; maxLen=32767 | |
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapregion.type supports AI_UI and genAI.agent NULL | ||||
genAI { naturalLanguageSupport: false defaultSearchMode: searchModeRow reportContext: ``` Lorem ipsum dolor sit amet. ``` enabled: false agent:@componentservice:@componentsystemPrompt: ``` Lorem ipsum dolor sit amet. ``` welcomeMessage: ``` Lorem ipsum dolor sit amet. ``` }
media
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
advancedFormatting | boolean | Yes | false | |
Applies when region.type = cards | ||||
htmlExpression | multiline string | Yes | language=html; maxLen=4000 | |
Applies when region.type = cardsmedia.advancedFormatting = Y | ||||
source | enum | No | enum=[imageUrl, urlColumn, blobColumn] | |
Applies when region.type = cardsmedia.advancedFormatting = N | ||||
url | string | Yes | maxLen=4000 | |
Applies when region.type = cardsmedia.source = STATIC_URL | ||||
urlColumn | string | Yes | maxLen=32767 | |
Applies when region.type = cardsmedia.source = DYNAMIC_URL | ||||
blobColumn | string | Yes | maxLen=32767 | |
Applies when region.type = cardsmedia.source = BLOB | ||||
position | enum | Yes | body | enum=[first, body, background] |
Applies when region.type = cardsmedia.source is set or not set and media.htmlExpression is set or not set | ||||
appearance | enum | No | enum=[square, widescreen] | |
Applies when region.type = cardsmedia.source is set | ||||
sizing | enum | Yes | fit | enum=[fit, cover] |
Applies when region.type = cardsmedia.source is set | ||||
cssClasses | array of strings | No | maxLen=255 | |
Applies when region.type = cards | ||||
imageDescription | string | No | maxLen=255 | |
Applies when region.type = cardsmedia.source is set | ||||
media {
advancedFormatting: false
htmlExpression: ```
Lorem ipsum dolor sit amet.
```
source: imageUrl
url: value
urlColumn: value
blobColumn: value
position: first
appearance: square
sizing: fit
cssClasses: [
value1
value2
]
imageDescription: value
}
attributes
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
messagesPosition | enum | No | enum=[above, below, selector] | |
Applies when region.type = map | ||||
messageSelector | string | Yes | maxLen=32767 | |
Applies when region.type = mapregion.messagesPosition = SELECTOR | ||||
unitSystem | enum | Yes | metric | enum=[metric, imperial, deriveFromItem] |
Applies when region.type = map | ||||
unitSystemItem | string | Yes | maxLen=32767 | |
Applies when region.type = mapregion.unitSystem = ITEM | ||||
copyrightNotice | multiline string | No | language=html; maxLen=32767 | |
Applies when region.type = map | ||||
attributes {
messagesPosition: above
messageSelector: value
unitSystem: metric
unitSystemItem: value
copyrightNotice: ```
Lorem ipsum dolor sit amet.
```
}
searchBar
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
includeSearchBar | boolean | Yes | true | |
Applies when region.type = interactiveReport | ||||
searchField | boolean | Yes | true | |
Applies when region.type = interactiveReportsearchBar.includeSearchBar = Y | ||||
finderDropDown | boolean | Yes | true | |
Applies when region.type = interactiveReportsearchBar.searchField = Y | ||||
reportsSelectList | boolean | Yes | TABS | |
Applies when region.type = interactiveReportsearchBar.includeSearchBar = Y | ||||
rowsPerPageSelector | boolean | Yes | false | |
Applies when region.type = interactiveReportsearchBar.includeSearchBar = Y | ||||
searchButtonLabel | string | No | maxLen=4000 | |
Applies when region.type = interactiveReportsearchBar.includeSearchBar = Y | ||||
searchBar {
includeSearchBar: false
searchField: false
finderDropDown: false
reportsSelectList: false
rowsPerPageSelector: false
searchButtonLabel: value
}
orderBy
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[staticValue, item] | |
Applies when region.type supports ORDER_BY and region.location in (LOCAL, REMOTE, SAMPLE_DATA) and region.type in (TABLE, GRAPH, SQL, FUNC_BODY_RETURNING_SQL, $NULL$) or not set | ||||
orderByClause | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when region.type = STATIC and region.type in (TABLE, SQL, FUNC_BODY_RETURNING_SQL, $NULL$) or not set | ||||
item | complex | Yes | maxLen=32767 | |
Applies when region.type = ITEM and region.type in (TABLE, SQL, FUNC_BODY_RETURNING_SQL, $NULL$) or not set | ||||
orderByClause | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when region.type = STATIC and region.type = GRAPH | ||||
item | complex | Yes | maxLen=32767 | |
Applies when region.type = ITEM and region.type = GRAPH | ||||
orderBy {
type: staticValue
orderByClause: ```
created_on desc
```
item: value
}
actionsMenu
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
includeActionsMenu | boolean | Yes | true | |
Applies when region.type = interactiveReportsearchBar.includeSearchBar = Y | ||||
filter | boolean | Yes | true | |
Applies when region.type = interactiveReportactionsMenu.includeActionsMenu = Y | ||||
selectColumns | boolean | Yes | true | |
Applies when region.type = interactiveReportactionsMenu.includeActionsMenu = Y | ||||
rowsPerPage | boolean | Yes | true | |
Applies when region.type = interactiveReportactionsMenu.includeActionsMenu = Y | ||||
sort | boolean | Yes | true | |
Applies when region.type = interactiveReportactionsMenu.includeActionsMenu = Y | ||||
controlBreak | boolean | Yes | true | |
Applies when region.type = interactiveReportactionsMenu.includeActionsMenu = Y | ||||
highlight | boolean | Yes | true | |
Applies when region.type = interactiveReportactionsMenu.includeActionsMenu = Y | ||||
compute | boolean | Yes | true | |
Applies when region.type = interactiveReportactionsMenu.includeActionsMenu = Y | ||||
aggregate | boolean | Yes | true | |
Applies when region.type = interactiveReportactionsMenu.includeActionsMenu = Y | ||||
chart | boolean | Yes | true | |
Applies when region.type = interactiveReportactionsMenu.includeActionsMenu = Y | ||||
groupBy | boolean | Yes | true | |
Applies when region.type = interactiveReportactionsMenu.includeActionsMenu = Y | ||||
pivot | boolean | Yes | true | |
Applies when region.type = interactiveReportactionsMenu.includeActionsMenu = Y | ||||
flashback | boolean | Yes | true | |
Applies when region.type = interactiveReportactionsMenu.includeActionsMenu = Y | ||||
saveReport | boolean | Yes | true | |
Applies when region.type = interactiveReportactionsMenu.includeActionsMenu = Y | ||||
savePublicReport | boolean | Yes | false | |
Applies when region.type = interactiveReportactionsMenu.saveReport = Y | ||||
savePublicReportAuthorization | string | No | ||
Applies when region.type = interactiveReportactionsMenu.savePublicReport = Y | ||||
reset | boolean | Yes | true | |
Applies when region.type = interactiveReportactionsMenu.includeActionsMenu = Y | ||||
help | boolean | Yes | true | |
Applies when region.type = interactiveReportactionsMenu.includeActionsMenu = Y | ||||
download | boolean | Yes | true | |
Applies when region.type = interactiveReportactionsMenu.includeActionsMenu = Y | ||||
subscription | boolean | Yes | true | |
Applies when region.type = interactiveReportactionsMenu.download = Y | ||||
actionsMenu { includeActionsMenu: false filter: false selectColumns: false rowsPerPage: false sort: false controlBreak: false highlight: false compute: false aggregate: false chart: false groupBy: false pivot: false flashback: false saveReport: false savePublicReport: false savePublicReportAuthorization:@componentreset: false help: false download: false subscription: false }
animation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
onDisplay | enum | Yes | auto | enum=[auto, alphaFade, zoom, none] |
Applies when region.type = chart | ||||
onDataChange | enum | Yes | auto | enum=[auto, slideToLeft, slideToRight, none] |
Applies when region.type = chart | ||||
animation {
onDisplay: auto
onDataChange: auto
}
dataProfile
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
nestedRows | string | No | ||
Applies when region.restSource supports HAS_ARRAY_COLUMNS | ||||
nestedRows | string | No | ||
Applies when region.jsonDualityView supports HAS_ARRAY_COLUMNS | ||||
nestedRows | string | No | ||
Applies when region.jsonSource supports HAS_ARRAY_COLUMNS | ||||
dataProfile { nestedRows:@component}
blobAttributes
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
mimeTypeColumn | string | No | maxLen=32767 | |
Applies when region.type = cardsiconAndBadge.iconSource = BLOB or media.source = BLOB | ||||
lastUpdatedColumn | string | No | maxLen=32767 | |
Applies when region.type = cardsiconAndBadge.iconSource = BLOB or media.source = BLOB | ||||
blobAttributes {
mimeTypeColumn: value
lastUpdatedColumn: value
}
tooltip
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
show | boolean | Yes | true | |
Applies when region.type = chart | ||||
showSeriesName | boolean | Yes | true | |
Applies when region.type = charttooltip.show = Y and chart.type NOT_IN_LIST dial, stock, gantt | ||||
showGroupName | boolean | Yes | true | |
Applies when region.type = charttooltip.show = Y and chart.type NOT_IN_LIST dial, stock, funnel, pyramid, pie, donut, gantt | ||||
showValue | boolean | Yes | true | |
Applies when region.type = charttooltip.show = Y and chart.type NOT_IN_LIST dial, gantt | ||||
showRow | boolean | Yes | true | |
Applies when region.type = charttooltip.show = Y and chart.type = gantt | ||||
showLabel | boolean | Yes | true | |
Applies when region.type = charttooltip.show = Y and chart.type = gantt | ||||
showStartDate | boolean | Yes | true | |
Applies when region.type = charttooltip.show = Y and chart.type = gantt | ||||
showEndDate | boolean | Yes | true | |
Applies when region.type = charttooltip.show = Y and chart.type = gantt | ||||
showProgress | boolean | Yes | true | |
Applies when region.type = charttooltip.show = Y and chart.type = gantt | ||||
showBaseline | boolean | Yes | true | |
Applies when region.type = charttooltip.show = Y and chart.type = gantt | ||||
tooltip {
show: false
showSeriesName: false
showGroupName: false
showValue: false
showRow: false
showLabel: false
showStartDate: false
showEndDate: false
showProgress: false
showBaseline: false
}
restSynchronization
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
useLocalTable | boolean | Yes | false | |
Applies when region.restSource supports HAS_SYNC_HAS_NO_ARRAY_COLUMNS or condition matches or region.nestedRows supports IS_SYNCED | ||||
restSynchronization {
useLocalTable: false
}
externalFilterAndOrderBy
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
enabled | boolean | Yes | false | |
Applies when region.restSource is set and region.useLocalTable in (N, $NULL$) or not set | ||||
filter | multiline string | No | maxLen=4000 | |
Applies when region.enabled = Y | ||||
orderByType | enum | No | enum=[staticValue, item] | |
Applies when region.type supports ORDER_BY and region.enabled = Y | ||||
orderBy | multiline string | Yes | maxLen=255 | |
Applies when region.orderByType = STATIC | ||||
item | complex | Yes | maxLen=4000 | |
Applies when region.orderByType = ITEM | ||||
orderBy | multiline string | No | maxLen=255 | |
Applies when region.enabled = Y and region.type in (interactiveGrid, interactiveReport, map, form) | ||||
externalFilterAndOrderBy {
enabled: false
filter: ```
Lorem ipsum dolor sit amet.
```
orderByType: staticValue
orderBy: ```
Lorem ipsum dolor sit amet.
```
item: value
}
help
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
helpText | multiline string | No | language=html; maxLen=4000Use this attribute to enter help text for the interactive grid. The entered help text will display along with the default help content under Actions Menu help. | |
Applies when region.type = interactiveGrid | ||||
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
localPostProcessing
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[whereOrderByClause, sqlQuery, plsqlFunctionBody] | |
Applies when region.restSource is set | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when region.type = WHERE_ORDER_BY_CLAUSE | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=32767 | |
Applies when region.type = SQL | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when region.type = FUNC_BODY_RETURNING_SQL | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when region.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when region.language = JAVASCRIPT | ||||
orderByType | enum | No | enum=[staticValue, item] | |
Applies when region.type = WHERE_ORDER_BY_CLAUSE | ||||
orderByClause | multiline string | Yes | language=sql; maxLen=255 | |
Applies when region.orderByType = STATIC | ||||
item | complex | Yes | maxLen=32767 | |
Applies when region.orderByType = ITEM | ||||
orderByItem | complex | No | maxLen=32767 | |
Applies when region.type in (SQL, FUNC_BODY_RETURNING_SQL) | ||||
type | enum | No | enum=[whereOrderByClause, sqlQuery, plsqlFunctionBody] | |
Applies when region.jsonDualityView is set | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when region.type = WHERE_ORDER_BY_CLAUSE | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=32767 | |
Applies when region.type = SQL | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when region.type = FUNC_BODY_RETURNING_SQL | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when region.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when region.language = JAVASCRIPT | ||||
orderByType | enum | No | enum=[staticValue, item] | |
Applies when region.type = WHERE_ORDER_BY_CLAUSE | ||||
orderByClause | multiline string | Yes | language=sql; maxLen=255 | |
Applies when region.orderByType = STATIC | ||||
item | complex | Yes | maxLen=32767 | |
Applies when region.orderByType = ITEM | ||||
orderByItem | complex | No | maxLen=32767 | |
Applies when region.type in (SQL, FUNC_BODY_RETURNING_SQL) | ||||
type | enum | No | enum=[whereOrderByClause, sqlQuery, plsqlFunctionBody] | |
Applies when region.jsonSource is set | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when region.type = WHERE_ORDER_BY_CLAUSE | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=32767 | |
Applies when region.type = SQL | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when region.type = FUNC_BODY_RETURNING_SQL | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when region.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when region.language = JAVASCRIPT | ||||
orderByType | enum | No | enum=[staticValue, item] | |
Applies when region.type = WHERE_ORDER_BY_CLAUSE | ||||
orderByClause | multiline string | Yes | language=sql; maxLen=255 | |
Applies when region.orderByType = STATIC | ||||
item | complex | Yes | maxLen=32767 | |
Applies when region.orderByType = ITEM | ||||
orderByItem | complex | No | maxLen=32767 | |
Applies when region.type in (SQL, FUNC_BODY_RETURNING_SQL) | ||||
localPostProcessing {
type: whereOrderByClause
whereClause: ```
status = 'ACTIVE'
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: plsql
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
orderByType: staticValue
orderByClause: ```
created_on desc
```
item: value
orderByItem: value
}
autoRefresh
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
interval | integer | No | maxLen=32767; min=1 | |
Applies when region.type = chart | ||||
autoRefresh {
interval: 42
}
detailView
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
show | boolean | Yes | false | |
Applies when region.type = interactiveReportApplies when region.type = interactiveGrid | ||||
beforeRows | multiline string | No | language=html; maxLen=4000 | |
Applies when region.type = interactiveReportdetailView.show = YApplies when region.type = interactiveGriddetailView.show = Y | ||||
forEachRow | multiline string | Yes | language=html; maxLen=4000 | |
Applies when region.type = interactiveReportdetailView.show = YApplies when region.type = interactiveGriddetailView.show = Y | ||||
afterRows | multiline string | No | language=html; maxLen=4000 | |
Applies when region.type = interactiveReportdetailView.show = YApplies when region.type = interactiveGriddetailView.show = Y | ||||
detailView {
show: false
beforeRows: ```
Lorem ipsum dolor sit amet.
```
forEachRow: ```
Lorem ipsum dolor sit amet.
```
afterRows: ```
Lorem ipsum dolor sit amet.
```
}
remoteCache
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
caching | enum | No | enum=[allUsers, user, session] | |
Applies when region.location = REMOTE | ||||
timeout | multiline string | Yes | maxLen=255 | |
Applies when region.caching is set | ||||
remoteCache {
caching: allUsers
timeout: ```
Lorem ipsum dolor sit amet.
```
}
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 | |
parentRegion | string | No | ||
slot | string | Yes | ||
startNewLayout | boolean | Yes | false | |
startNewRow | boolean | Yes | true | |
Applies when region.startNewLayout = N or not set | ||||
rowCssClasses | array of strings | No | maxLen=255 | |
column | string | No | ||
newColumn | boolean | Yes | true | |
Applies when region.startNewRow = N or not set | ||||
columnSpan | string | No | ||
columnCssClasses | array of strings | No | maxLen=255 | |
columnAttributes | array of strings | No | maxLen=255 | |
layout { sequence: 42 parentRegion:@componentslot: value startNewLayout: false startNewRow: false rowCssClasses: [ value1 value2 ] column: value newColumn: false columnSpan: value columnCssClasses: [ value1 value2 ] columnAttributes: [ value1 value2 ] }
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
savedReportMappingIdentifier | string | No | maxLen=32767 | |
Applies when region.type = interactiveReportApplies when region.type = interactiveGrid | ||||
htmlDomId | string | No | maxLen=255; regex=/^[^:/,+?^'"
]+$/Enter the DOM ID for this region. If defined, this is used as the ID for the region, using the substitution string Note: The template must include the | |
customAttributes | string | No | maxLen=2000 Enter the value substituted into region attributes. Region templates that contain the substitution string #REGION_ATTRIBUTES# are substituted with this value. | |
Applies when region.type supports REGION_TEMPLATE | ||||
regionImage | string | No | maxLen=255 | |
Applies when region.template supports NOT_REGION_IMAGE_URL | ||||
imageTagAttributes | string | No | maxLen=255 | |
Applies when region.regionImage is set | ||||
staticId | string | Yes | maxLen=255 | |
regionDisplaySelector | boolean | Yes | false | |
Applies when region.template is set or not set | ||||
excludeTitleFromTranslation | boolean | Yes | false | |
schemaOverrideItem | string | No | maxLen=4000 | |
Applies when region.type in (classicReport, interactiveReport) | ||||
advanced {
savedReportMappingIdentifier: value
htmlDomId: value
customAttributes: value
regionImage: value
imageTagAttributes: value
staticId: value
regionDisplaySelector: false
excludeTitleFromTranslation: false
schemaOverrideItem: unique-id
}
description
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
description | multiline string | No | maxLen=4000 Enter a description for this Interactive Report. | |
Applies when region.type = interactiveReport | ||||
description {
description: ```
Lorem ipsum dolor sit amet.
```
}
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
template | string | No | ||
Applies when region.type supports REGION_TEMPLATE | ||||
templateOptions | array of strings | No | ||
Applies when region.template is set | ||||
cssClasses | array of strings | No | maxLen=255 Enter classes to add to this component. You may add multiple classes by separating them with spaces. | |
Applies when region.template is set | ||||
icon | string | No | maxLen=255 | |
Applies when region.template is set | ||||
renderComponents | enum | Yes | aboveContent | enum=[aboveContent, belowContent] |
Applies when region.type supports REGION_TEMPLATE | ||||
appearance { template:@componenttemplateOptions: [ value1 value2 ] cssClasses: [ value1 value2 ] icon: fa-check renderComponents: aboveContent }
accessibility
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
useLandmark | boolean | Yes | true | |
Applies when region.template supports REGION_LANDMARK_ATTRIBUTES | ||||
landmarkType | enum | No | enum=[banner, complementary, contentInfo, form, main, navigation, region, search] | |
Applies when region.useLandmark = Y | ||||
landmarkLabel | string | No | maxLen=255 | |
Applies when region.useLandmark = Y | ||||
accessibility {
useLandmark: false
landmarkType: banner
landmarkLabel: value
}
image
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
fileUrl | string | Yes | maxLen=255 | |
Applies when region.template supports REGION_IMAGE, REGION_IMAGE_URL | ||||
accessibleDescription | string | No | maxLen=255 | |
Applies when region.template supports REGION_IMAGE_ALT_TEXT and region.fileUrl is set | ||||
customAttributes | string | No | maxLen=255 | |
Applies when region.template supports REGION_IMAGE_ATTRIBUTES and region.fileUrl is set | ||||
image {
fileUrl: value
accessibleDescription: value
customAttributes: value
}
masterDetail
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
masterRegion | string | No | ||
Applies when region.type = interactiveGrid | ||||
masterDetail { masterRegion:@component}
headerAndFooter
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
headerText | multiline string | No | language=html; maxLen=4000Enter HTML text displayed at the top of the region, before the #BODY# content. | |
Applies when region.type supports REGION_TEMPLATE | ||||
footerText | multiline string | No | language=html; maxLen=4000Enter a region footer that displays directly after the body content, after For report regions you can use the following pagination substitution strings:
| |
Applies when region.type supports REGION_TEMPLATE | ||||
headerAndFooter {
headerText: ```
Lorem ipsum dolor sit amet.
```
footerText: ```
Lorem ipsum dolor sit amet.
```
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when region.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when region.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when region.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when region.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when region.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when region.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when region.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when region.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when region.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when region.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when region.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when region.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when region.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when region.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when region.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when region.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when region.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when region.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
readOnly
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never]Select a condition type that must be met in order for this region to render page items as read-only. Not selecting a condition causes the page items to render normally. Note: If you want a page item in this region (for example a search field) to always render as an enterable page item, independent of how this condition evaluates, then you should set the read only condition of that page item to "Never" to overwrite the region setting. | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when region.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when region.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when region.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when region.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when region.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when region.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when region.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when region.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when region.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when region.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when region.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when region.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when region.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when region.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when region.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when region.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when region.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when region.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
readOnly {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No | ||
escapeSpecialChars | boolean | Yes | true | |
Applies when region.type supports ESCAPE_OUTPUT | ||||
security { authorizationScheme:@componentescapeSpecialChars: false }
serverCache
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
caching | enum | Yes | false | enum=[false, true, cacheByUser, cacheBySession] |
Applies when region.type STARTS_WITH_ANY jqmListView, jqmReflow, jqmColumnToggle, list, url, interactiveReport, classicReport, tabularForm, plsql, tree, calendar, svgChart, simpleChart, tree, staticSearch, dynamicContent, PLUGIN_ | ||||
cacheTimeout | enum | Yes | 6Hours | enum=[10Seconds, 1Minute, 10Minutes, 30Minutes, 1Hour, 2Hours, 3Hours, 4Hours, 6Hours, 12Hours, 1Day, 2Days, 3Days, 4Days, 1Week, 2Weeks, 4Weeks, 10Weeks, 1Year] |
Applies when region.caching NOT_EQUALS NOCACHE | ||||
dependsOnItems | array of strings | No | maxLen=4000 | |
Applies when region.caching NOT_EQUALS NOCACHE | ||||
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never]Select a condition type that must be met for the region to be cached. | |
Applies when region.caching NOT_EQUALS NOCACHE | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when region.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when region.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when region.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when region.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when region.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when region.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when region.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when region.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when region.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when region.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when region.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when region.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when region.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when region.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when region.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when region.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when region.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when region.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverCache {
caching: false
cacheTimeout: "10Seconds"
dependsOnItems: [
value1
value2
]
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
customization
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
customizable | enum | Yes | false | enum=[false, shownByDefault, notShownByDefault] |
name | string | No | maxLen=255 | |
Applies when region.customizable in (1, 2) | ||||
customization {
customizable: false
name: exampleName
}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
rowSelection
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[focusOnly, singleSelection, multipleSelection] | |
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapregion.type supports ROW_SELECTION and componentAppearance.display = REPORT | ||||
currentSelectionPageItem | string | No | maxLen=255 | |
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, maprowSelection.type in (SINGLE, MULTIPLE) | ||||
selectAllPageItem | string | No | maxLen=255 | |
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, maprowSelection.type = MULTIPLE | ||||
rowSelection {
type: focusOnly
currentSelectionPageItem: value
selectAllPageItem: value
}
reportLayout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
numberOfRowsType | enum | Yes | staticValue | enum=[staticValue, itemValue] |
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapregion.type supports FETCHED_ROWSApplies when region.type = classicReportApplies when region.type = tabularForm | ||||
numberOfRows | integer | Yes | 15 | maxLen=32767; min=0 |
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapreportLayout.numberOfRowsType = STATICApplies when region.type = classicReportreportLayout.numberOfRowsType = STATICApplies when region.type = tabularFormreportLayout.numberOfRowsType = STATIC | ||||
item | string | Yes | maxLen=255 | |
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapreportLayout.numberOfRowsType = ITEMApplies when region.type = classicReportreportLayout.numberOfRowsType = ITEMApplies when region.type = tabularFormreportLayout.numberOfRowsType = ITEM | ||||
reportLayout {
numberOfRowsType: staticValue
numberOfRows: 42
item: value
}
entityTitle
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
singular | string | No | maxLen=255 | |
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapcomponentAppearance.display = REPORT | ||||
plural | string | No | maxLen=255 | |
Applies when region.type NOT_IN_LIST classicReport, tabularForm, interactiveReport, interactiveGrid, chart, cards, mapcomponentAppearance.display = REPORT | ||||
entityTitle {
singular: value
plural: value
}
APEXlang Example
region "example" ( name: exampleName title: "Page title" type: staticContent chart { type: area } componentAppearance { display: value layout: grid gridColumns: "2" listTemplate:@componentbreadcrumbTemplate:@componenttemplateOptions: [ value1 value2 ] templateType: theme cssClasses: [ value1 value2 ] template:@componentcustomAttributes: value selectFirstRow: false fixedRowHeight: false showNullValuesAs: value } link { linkColumn: singleRowView uniquelyIdentifyRowsBy: rowid uniqueColumn: value target: value linkIcon: ``` Lorem ipsum dolor sit amet. ``` linkAttributes: value authorizationScheme:@componentconditionType: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } map { background: default standard: openstreetmapPositron darkMode: openstreetmapDark height: 300 } output { layout:@componentlinkText: value format: pdf viewFileAs: attachment formatItem: value fileName: value } title { title: "Page title" advancedFormatting: false column: value htmlExpression: ``` Lorem ipsum dolor sit amet. ``` cssClasses: [ value1 value2 ] } chartAppearance { orientation: vertical stack: false stackLabel: false fontFamily: arial fontStyle: normal fontSize: "8" fontColor: value } page { size: letter orientation: portrait units: inches width: 400 height: 300 borderWidth: 1 borderColor: value } card { cssClasses: [ value1 value2 ] primaryKeyColumn2: value primaryKeyColumn1: value } source { sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` plsqlCode: ``` apex_debug.message('Processing APEXlang component'); apex_collection.create_or_truncate_collection( p_collection_name => 'EXAMPLE_ROWS' ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` htmlCode: ``` Lorem ipsum dolor sit amet. ``` text: ``` Lorem ipsum dolor sit amet. ``` language: plsql javaScriptFunctionBody: ``` return 'Generated text'; ``` location: localDatabase remoteServer:@componentsampleData: employees type: value tableOwner: value tableName: value includeRowidColumn: false whereClause: ``` status = 'ACTIVE' ``` graphOwner: value graphName: value matchClause: ``` Lorem ipsum dolor sit amet. ``` columnsClause: ``` Lorem ipsum dolor sit amet. ``` orderByClause: ``` created_on desc ``` restSource:@componentjsonDualityView:@componentjsonSource:@componentlist:@componentbreadcrumb:@componentfilteredRegion:@componentpageItemsToSubmit: [ value1 value2 ] optimizerHint: value useGenericColumnNames: false genericColumnCount: 42 } edit { addRowIfEmpty: false enabled: false allowedOperations: [ add update ] allowedRowOperationsColumn: value lostUpdateType: rowValues rowVersionColumn: value } controls { navigationBar: none navigationBarPosition: start options: [ mousewheelZoom rectangleZoom ] } chartLayout { maxWidth: 5 height: 300 } initialPositionAndZoom { getPositionFromBrowser: false type: staticValues sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` geometryColumnDataType: sdoGeometry initialLongitudeColumn: value initialLatitudeColumn: value geometryColumn: value geojsonColumn: value initialZoomlevelColumn: value longitude: value latitude: value zoomLevel: value } pageHeader { font: helvetica fontWeight: normal fontSize: 42 fontColor: value alignment: start pageHeaderText: ``` Lorem ipsum dolor sit amet. ``` } editAuthorization { add:@componentupdate:@componentdelete:@component} pagination { partialPageRefresh: false displayPosition: bottomLeft maxRowsToDisplay: value cardsPerPage: 42 type: value entitiesPerPage: 42 initialEntitiesCount: 42 showTotalCount: false } gauge { orientation: circular showPlotArea: false indicatorSize: 42 innerRadius: 42 startAngle: 42 angleExtent: 42 } columnHeadings { font: helvetica fontWeight: normal fontSize: 42 fontColor: value backgroundColor: value } subtitle { advancedFormatting: false column: value htmlExpression: ``` Lorem ipsum dolor sit amet. ``` cssClasses: [ value1 value2 ] } toolbar { show: false controls: [ searchCol searchField ] addButtonLabel: value } breakFormatting { reportSumLabel: value breakColumns: col1 style: repeatHeadings repeatHeadingFormat: ``` Lorem ipsum dolor sit amet. ``` reportBreakFormat: value beforeRow: value columnBreakFormat: value afterRow: value } dataCursor { cursor: auto behavior: auto dimOnHover: false } body { advancedFormatting: false column: value htmlExpression: ``` Lorem ipsum dolor sit amet. ``` cssClasses: [ value1 value2 ] } enableUsersTo { savePublicReport: false savePublicReportAuthorization:@componentflashback: false defineChartView: false download: false } columns { font: helvetica fontWeight: normal fontSize: 42 fontColor: value backgroundColor: value widthUnits: percent } multiSeriesChartData { fillGapsInChartData: false sortOrder: valueAsc renderGapAsZero: false } boundingBox { type: staticValues sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` geometryColumnDataType: sdoGeometry minLongitude: value minLatitude: value maxLongitude: value maxLatitude: value geometryColumn: value currentBoundsItem: value } secondaryBody { advancedFormatting: false column: value htmlExpression: ``` Lorem ipsum dolor sit amet. ``` cssClasses: [ value1 value2 ] } settings { timeAxisType: auto zoomAndScroll: false zoomDirection: bothAxes initialZooming: first showHorizontalGrid: auto showVerticalGrid: auto showRowAxis: false axisPosition: top pieSelectionEffect: explode renderAs: area } componentAdvanced { stripHtml: false sortNulls: first customSvgStyles: ``` Lorem ipsum dolor sit amet. ``` regionAlias: value reportIdItem: value oracleTextIndexColumn: value emailFromAddress: value maxRowsPerPageInSelector: value initJavaScriptFunction: ``` apex.message.alert( "Load complete." ); ``` } download { csvExportEnabled: false linkText: value authorization:@componentformats: [ csv html ] sendAsEmail: false csvSeparator: value csvEnclosedBy: value filename: exampleName supplementalText: ``` Lorem ipsum dolor sit amet. ``` } pageFooter { font: helvetica fontWeight: normal fontSize: 42 fontColor: value alignment: start pageFooterText: ``` Lorem ipsum dolor sit amet. ``` } singleRowView { excludeNullValues: false onlyDisplayedColumns: false } iconAndBadge { iconSource: initials iconColumn: fa-check imageColumn: value imageUrl: value iconCssClasses: fa-check iconPosition: top iconDescription: fa-check badgeColumn: value badgeLabel: value badgeCssClasses: [ value1 value2 ] } heading { fixedReportHeight: 42 fixedTo: none maxReportHeight: 5 type: columnNames plsqlFunctionBody: ``` return 'Generated text'; ``` } overview { show: false height: value } performance { maxRowsToProcess: 5 lazyLoading: false } legend { show: false position: start selector: value cssClasses: [ value1 value2 ] title: "Page title" hideAndShowBehavior: none fontFamily: arial fontStyle: normal fontSize: "8" fontColor: value } iconView { customIcon: ``` Lorem ipsum dolor sit amet. ``` iconType: imageInUrl iconUrl: fa-check icon: fa-check iconAttributes: fa-check linkTarget: value linkAttributes: value labelColumn: label show: false custom: false columnsPerRow: "1" linkColumn: value imageSourceColumn: value imageAttributes: value htmlAltText: value htmlTitleText: value customLink: ``` Lorem ipsum dolor sit amet. ``` } messages { whenMoreDataFound: ``` Lorem ipsum dolor sit amet. ``` whenNoDataFound: ``` Lorem ipsum dolor sit amet. ``` noDataFoundIcon: value } printing { enabled: false } value { pieChartOtherThreshold: 42 min: 1 show: false valueType: number position: auto format: dateShort decimalPlaces: 42 currency: value pattern: value formatScaling: none } externalProcessing { enabled: false url: value linkText: value } genAI { naturalLanguageSupport: false defaultSearchMode: searchModeRow reportContext: ``` Lorem ipsum dolor sit amet. ``` enabled: false agent:@componentservice:@componentsystemPrompt: ``` Lorem ipsum dolor sit amet. ``` welcomeMessage: ``` Lorem ipsum dolor sit amet. ``` } media { advancedFormatting: false htmlExpression: ``` Lorem ipsum dolor sit amet. ``` source: imageUrl url: value urlColumn: value blobColumn: value position: first appearance: square sizing: fit cssClasses: [ value1 value2 ] imageDescription: value } attributes { messagesPosition: above messageSelector: value unitSystem: metric unitSystemItem: value copyrightNotice: ``` Lorem ipsum dolor sit amet. ``` } searchBar { includeSearchBar: false searchField: false finderDropDown: false reportsSelectList: false rowsPerPageSelector: false searchButtonLabel: value } orderBy { type: staticValue orderByClause: ``` created_on desc ``` item: value } actionsMenu { includeActionsMenu: false filter: false selectColumns: false rowsPerPage: false sort: false controlBreak: false highlight: false compute: false aggregate: false chart: false groupBy: false pivot: false flashback: false saveReport: false savePublicReport: false savePublicReportAuthorization:@componentreset: false help: false download: false subscription: false } animation { onDisplay: auto onDataChange: auto } dataProfile { nestedRows:@component} blobAttributes { mimeTypeColumn: value lastUpdatedColumn: value } tooltip { show: false showSeriesName: false showGroupName: false showValue: false showRow: false showLabel: false showStartDate: false showEndDate: false showProgress: false showBaseline: false } restSynchronization { useLocalTable: false } externalFilterAndOrderBy { enabled: false filter: ``` Lorem ipsum dolor sit amet. ``` orderByType: staticValue orderBy: ``` Lorem ipsum dolor sit amet. ``` item: value } help { helpText: ``` Lorem ipsum dolor sit amet. ``` } localPostProcessing { type: whereOrderByClause whereClause: ``` status = 'ACTIVE' ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` orderByType: staticValue orderByClause: ``` created_on desc ``` item: value orderByItem: value } autoRefresh { interval: 42 } detailView { show: false beforeRows: ``` Lorem ipsum dolor sit amet. ``` forEachRow: ``` Lorem ipsum dolor sit amet. ``` afterRows: ``` Lorem ipsum dolor sit amet. ``` } remoteCache { caching: allUsers timeout: ``` Lorem ipsum dolor sit amet. ``` } layout { sequence: 42 parentRegion:@componentslot: value startNewLayout: false startNewRow: false rowCssClasses: [ value1 value2 ] column: value newColumn: false columnSpan: value columnCssClasses: [ value1 value2 ] columnAttributes: [ value1 value2 ] } advanced { savedReportMappingIdentifier: value htmlDomId: value customAttributes: value regionImage: value imageTagAttributes: value staticId: value regionDisplaySelector: false excludeTitleFromTranslation: false schemaOverrideItem: unique-id } description { description: ``` Lorem ipsum dolor sit amet. ``` } appearance { template:@componenttemplateOptions: [ value1 value2 ] cssClasses: [ value1 value2 ] icon: fa-check renderComponents: aboveContent } accessibility { useLandmark: false landmarkType: banner landmarkLabel: value } image { fileUrl: value accessibleDescription: value customAttributes: value } masterDetail { masterRegion:@component} headerAndFooter { headerText: ``` Lorem ipsum dolor sit amet. ``` footerText: ``` Lorem ipsum dolor sit amet. ``` } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } readOnly { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@componentescapeSpecialChars: false } serverCache { caching: false cacheTimeout: "10Seconds" dependsOnItems: [ value1 value2 ] type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } customization { customizable: false name: exampleName } config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } rowSelection { type: focusOnly currentSelectionPageItem: value selectAllPageItem: value } reportLayout { numberOfRowsType: staticValue numberOfRows: 42 item: value } entityTitle { singular: value plural: value } )
action
region.type = cards| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | button | enum=[button, fullCard, title, subtitle, media] |
label | string | Yes | maxLen=255 Enter the text to be displayed on the button. If button display type is icon, this text becomes the ALT text for the icon image. | |
Applies when action.type = BUTTON | ||||
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
position | enum | Yes | primary | enum=[primary, secondary] |
Applies when action.type = BUTTON | ||||
sequence | number | Yes | maxLen=22 Enter the display sequence for this action.
This is used to evaluate the display condition and render in the order defined. | |
layout {
position: primary
sequence: 42
}
behavior
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | redirectThisApp | enum=[redirectThisApp, redirectOtherApp, redirectUrl, triggerAction] |
target | complex | Yes | maxLen=32767 | |
Applies when action.type = REDIRECT_PAGE | ||||
target | complex | Yes | maxLen=32767 | |
Applies when action.type = REDIRECT_APP | ||||
targetUrl | string | Yes | maxLen=4000 | |
Applies when action.type = REDIRECT_URL | ||||
linkAttributes | string | No | maxLen=4000 | |
Applies when action.type in (REDIRECT_PAGE, REDIRECT_APP, REDIRECT_URL) | ||||
behavior {
type: redirectThisApp
target: value
targetUrl: value
linkAttributes: value
}
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
displayType | enum | Yes | text | enum=[text, icon, textWithIcon] |
Applies when action.type = BUTTON | ||||
icon | string | Yes | maxLen=255 | |
Applies when action.displayType in (ICON, TEXT_WITH_ICON) | ||||
hot | boolean | Yes | false | Specify whether to use the Normal or Hot button when rendering this button. |
Applies when action.type = BUTTON | ||||
cssClasses | array of strings | No | maxLen=255 Enter classes to add to this component. You may add multiple classes by separating them with spaces. | |
Applies when action.type = BUTTON | ||||
appearance {
displayType: text
icon: fa-check
hot: false
cssClasses: [
value1
value2
]
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | action | maxLen=255 |
advanced {
staticId: value
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when action.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when action.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when action.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when action.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when action.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when action.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when action.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when action.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when action.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when action.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when action.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when action.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when action.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when action.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when action.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when action.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when action.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when action.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
executeCondition | enum | Yes | forEachRow | enum=[forEachRow, once] |
Applies when action.type is set and action.type NOT_EQUALS NEVER | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
executeCondition: forEachRow
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No |
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
action "example" ( type: button label: label layout { position: primary sequence: 42 } behavior { type: redirectThisApp target: value targetUrl: value linkAttributes: value } appearance { displayType: text icon: fa-check hot: false cssClasses: [ value1 value2 ] } advanced { staticId: value } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] executeCondition: forEachRow } security { authorizationScheme:@component} config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
triggerAction
action.type = DEFINED_BY_DA_ACTION| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | No | maxLen=255 Enter the name of the action. This helps to identify what the action does in Page Designer. | |
action | string | Yes |
genAI
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
enabled | boolean | Yes | false | |
Applies when triggerAction.action supports AI_ENABLED | ||||
agent | string | No | ||
Applies when triggerAction.action supports AI_ENABLED_ALWAYS, AI_ENABLED and triggerAction.enabled = Y or not set | ||||
service | string | No | ||
Applies when triggerAction.agent NULL | ||||
systemPrompt | multiline string | No | maxLen=32767 | |
Applies when triggerAction.action supports AI_SYSTEM_PROMPT and triggerAction.agent NULL | ||||
welcomeMessage | multiline string | No | language=html; maxLen=32767 | |
Applies when triggerAction.action supports AI_UI and triggerAction.agent NULL | ||||
itemsToSubmit | array of strings | No | maxLen=4000 | |
Applies when triggerAction.action supports AI_ENABLED_ALWAYS, AI_ENABLED and triggerAction.enabled = Y or not set | ||||
genAI { enabled: false agent:@componentservice:@componentsystemPrompt: ``` Lorem ipsum dolor sit amet. ``` welcomeMessage: ``` Lorem ipsum dolor sit amet. ``` itemsToSubmit: [ value1 value2 ] }
affectedElements
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
selectionType | string | Yes | ||
Applies when triggerAction.action supports ITEM, BUTTON, REGION, JQUERY_SELECTOR, JAVASCRIPT_EXPRESSION, TRIGGERING_ELEMENT, EVENT_SOURCE | ||||
region | string | Yes | ||
Applies when triggerAction.selectionType = REGION | ||||
button | string | Yes | ||
Applies when triggerAction.selectionType = BUTTON | ||||
items | array of strings | Yes | maxLen=4000 | |
Applies when triggerAction.selectionType = ITEM | ||||
jquerySelector | string | Yes | maxLen=4000 | |
Applies when triggerAction.selectionType = JQUERY_SELECTOR | ||||
javaScriptExpression | multiline string | Yes | language=javascript-browser; maxLen=4000 | |
Applies when triggerAction.selectionType = JAVASCRIPT_EXPRESSION | ||||
affectedElements { selectionType: value region:@componentbutton:@componentitems: [ value1 value2 ] jquerySelector: "select * from table_name" javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` }
execution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 | |
stopExecutionOnError | boolean | Yes | true | |
Applies when triggerAction.action supports STOP_EXECUTION_ON_ERROR | ||||
waitForResult | boolean | Yes | true | |
Applies when triggerAction.action supports WAIT_FOR_RESULT | ||||
execution {
sequence: 42
stopExecutionOnError: false
waitForResult: false
}
clientSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[item=value, item!=value, item>value, item>=value, item<value, item<=value, itemIsNull, itemIsNotNull, itemIsInList, itemIsNotInList, jsExpression]Specify a client-side condition, to control whether the action fires. | |
item | string | Yes | maxLen=4000 Enter the page item used in this condition. You can type in the name or pick from the list of available items. | |
Applies when triggerAction.type in (EQUALS, NOT_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL, NULL, NOT_NULL, IN_LIST, NOT_IN_LIST) | ||||
value | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (EQUALS, NOT_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when triggerAction.type in (IN_LIST, NOT_IN_LIST) | ||||
javaScriptExpression | multiline string | Yes | language=javascript-browser; maxLen=4000 | |
Applies when triggerAction.type = JAVASCRIPT_EXPRESSION | ||||
clientSideCondition {
type: "item=value"
item: value
value: value
list: [
value1
value2
]
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never]Select a condition type to be met in order for this action to be active. | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when triggerAction.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when triggerAction.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when triggerAction.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when triggerAction.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when triggerAction.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when triggerAction.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when triggerAction.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when triggerAction.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when triggerAction.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when triggerAction.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when triggerAction.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when triggerAction.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No |
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
initJavaScriptFunction | multiline string | No | language=javascript-browser; maxLen=4000 | |
Applies when triggerAction.action supports INIT_JAVASCRIPT_CODE | ||||
advanced {
staticId: value
initJavaScriptFunction: ```
apex.message.alert( "Load complete." );
```
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
triggerAction "example" ( name: exampleName action: staticContent genAI { enabled: false agent:@componentservice:@componentsystemPrompt: ``` Lorem ipsum dolor sit amet. ``` welcomeMessage: ``` Lorem ipsum dolor sit amet. ``` itemsToSubmit: [ value1 value2 ] } affectedElements { selectionType: value region:@componentbutton:@componentitems: [ value1 value2 ] jquerySelector: "select * from table_name" javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` } execution { sequence: 42 stopExecutionOnError: false waitForResult: false } clientSideCondition { type: "item=value" item: value value: value list: [ value1 value2 ] javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@component} config { buildOption:@component} advanced { staticId: value initJavaScriptFunction: ``` apex.message.alert( "Load complete." ); ``` } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
action
region.type starts with TMPL_| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
position | string | Yes | ||
template | string | Yes | ||
Applies when action.position supports TEMPLATE | ||||
label | string | Yes | maxLen=255 | |
Applies when action.template supports LABEL or action.position supports TMPL_LABEL | ||||
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 Enter the display sequence for this action. This is used to evaluate the display condition and render in the order defined. |
layout {
sequence: 42
}
behavior
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | redirectThisApp | enum=[redirectThisApp, redirectOtherApp, redirectUrl, triggerAction] |
Applies when action.template supports LINK_URL or action.position supports LINK, TMPL_LINK_URL | ||||
target | complex | Yes | maxLen=32767 | |
Applies when action.type = REDIRECT_PAGE | ||||
target | complex | Yes | maxLen=32767 | |
Applies when action.type = REDIRECT_APP | ||||
targetUrl | string | Yes | maxLen=4000 | |
Applies when action.type = REDIRECT_URL | ||||
linkAttributes | string | No | maxLen=4000 | |
Applies when action.type in (REDIRECT_PAGE, REDIRECT_APP, REDIRECT_URL) and condition matches | ||||
behavior {
type: redirectThisApp
target: value
targetUrl: value
linkAttributes: value
}
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
displayType | enum | Yes | text | enum=[text, icon, textWithIcon] |
Applies when action.template supports ICON_CLASSES or action.position supports TMPL_ICON_CLASSES | ||||
icon | string | Yes | maxLen=255 | |
Applies when action.displayType in (ICON, TEXT_WITH_ICON) | ||||
hot | boolean | Yes | false | Specify whether to use the Normal or Hot button when rendering this button. |
Applies when action.template supports IS_HOT or action.position supports TMPL_IS_HOT | ||||
showAsDisabled | boolean | Yes | false | |
Applies when action.template supports IS_DISABLED or action.position supports TMPL_IS_DISABLED | ||||
cssClasses | array of strings | No | maxLen=255 Enter classes to add to this action. You may add multiple classes by separating them with spaces. | |
Applies when action.template supports CSS_CLASSES or action.position supports TMPL_CSS_CLASSES | ||||
appearance {
displayType: text
icon: fa-check
hot: false
showAsDisabled: false
cssClasses: [
value1
value2
]
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | action | maxLen=255 |
advanced {
staticId: value
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when action.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when action.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when action.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when action.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when action.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when action.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when action.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when action.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when action.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when action.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when action.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when action.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when action.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when action.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when action.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when action.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when action.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when action.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
executeCondition | enum | Yes | forEachRow | enum=[forEachRow, once] |
Applies when action.type is set and action.type NOT_EQUALS NEVER | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
executeCondition: forEachRow
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No |
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
action "example" ( position: value template: value label: label layout { sequence: 42 } behavior { type: redirectThisApp target: value targetUrl: value linkAttributes: value } appearance { displayType: text icon: fa-check hot: false showAsDisabled: false cssClasses: [ value1 value2 ] } advanced { staticId: value } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] executeCondition: forEachRow } security { authorizationScheme:@component} config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
menu
action.position supports MENU or action.template supports MENU| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | menuEntry | enum=[menuEntry, subMenu, separator] |
label | string | Yes | maxLen=255 Enter the text to be displayed in the menu. | |
Applies when menu.type in (ENTRY, SUB_MENU) | ||||
parentMenu | string | No | ||
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 Enter the display sequence for this menu entry. This is used to evaluate the display condition and render in the order defined. |
layout {
sequence: 42
}
behavior
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | redirectThisApp | enum=[redirectThisApp, redirectOtherApp, redirectUrl, triggerAction] |
Applies when menu.type = ENTRY | ||||
target | complex | Yes | maxLen=32767 | |
Applies when menu.type = REDIRECT_PAGE | ||||
target | complex | Yes | maxLen=32767 | |
Applies when menu.type = REDIRECT_APP | ||||
targetUrl | string | Yes | maxLen=4000 | |
Applies when menu.type = REDIRECT_URL | ||||
linkAttributes | string | No | maxLen=4000 | |
Applies when menu.type in (REDIRECT_PAGE, REDIRECT_APP, REDIRECT_URL) | ||||
behavior {
type: redirectThisApp
target: value
targetUrl: value
linkAttributes: value
}
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
icon | string | No | maxLen=255 | |
Applies when menu.type in (ENTRY, SUB_MENU) | ||||
appearance {
icon: fa-check
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
Applies when menu.type in (ENTRY, SUB_MENU) | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when menu.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when menu.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when menu.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when menu.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when menu.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when menu.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when menu.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when menu.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when menu.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when menu.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when menu.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when menu.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when menu.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when menu.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when menu.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when menu.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when menu.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when menu.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
executeCondition | enum | Yes | forEachRow | enum=[forEachRow, once] |
Applies when menu.type is set and menu.type NOT_EQUALS NEVER | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
executeCondition: forEachRow
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No | ||
Applies when menu.type in (ENTRY, SUB_MENU) | ||||
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
menu "example" ( type: menuEntry label: label parentMenu:@componentlayout { sequence: 42 } behavior { type: redirectThisApp target: value targetUrl: value linkAttributes: value } appearance { icon: fa-check } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] executeCondition: forEachRow } advanced { staticId: value } security { authorizationScheme:@component} config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
triggerAction
menu.type = DEFINED_BY_DA_ACTION| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | No | maxLen=255 Enter the name of the action. This helps to identify what the action does in Page Designer. | |
action | string | Yes |
genAI
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
enabled | boolean | Yes | false | |
Applies when triggerAction.action supports AI_ENABLED | ||||
agent | string | No | ||
Applies when triggerAction.action supports AI_ENABLED_ALWAYS, AI_ENABLED and triggerAction.enabled = Y or not set | ||||
service | string | No | ||
Applies when triggerAction.agent NULL | ||||
systemPrompt | multiline string | No | maxLen=32767 | |
Applies when triggerAction.action supports AI_SYSTEM_PROMPT and triggerAction.agent NULL | ||||
welcomeMessage | multiline string | No | language=html; maxLen=32767 | |
Applies when triggerAction.action supports AI_UI and triggerAction.agent NULL | ||||
itemsToSubmit | array of strings | No | maxLen=4000 | |
Applies when triggerAction.action supports AI_ENABLED_ALWAYS, AI_ENABLED and triggerAction.enabled = Y or not set | ||||
genAI { enabled: false agent:@componentservice:@componentsystemPrompt: ``` Lorem ipsum dolor sit amet. ``` welcomeMessage: ``` Lorem ipsum dolor sit amet. ``` itemsToSubmit: [ value1 value2 ] }
affectedElements
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
selectionType | string | Yes | ||
Applies when triggerAction.action supports ITEM, BUTTON, REGION, JQUERY_SELECTOR, JAVASCRIPT_EXPRESSION, TRIGGERING_ELEMENT, EVENT_SOURCE | ||||
region | string | Yes | ||
Applies when triggerAction.selectionType = REGION | ||||
button | string | Yes | ||
Applies when triggerAction.selectionType = BUTTON | ||||
items | array of strings | Yes | maxLen=4000 | |
Applies when triggerAction.selectionType = ITEM | ||||
jquerySelector | string | Yes | maxLen=4000 | |
Applies when triggerAction.selectionType = JQUERY_SELECTOR | ||||
javaScriptExpression | multiline string | Yes | language=javascript-browser; maxLen=4000 | |
Applies when triggerAction.selectionType = JAVASCRIPT_EXPRESSION | ||||
affectedElements { selectionType: value region:@componentbutton:@componentitems: [ value1 value2 ] jquerySelector: "select * from table_name" javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` }
execution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 | |
stopExecutionOnError | boolean | Yes | true | |
Applies when triggerAction.action supports STOP_EXECUTION_ON_ERROR | ||||
waitForResult | boolean | Yes | true | |
Applies when triggerAction.action supports WAIT_FOR_RESULT | ||||
execution {
sequence: 42
stopExecutionOnError: false
waitForResult: false
}
clientSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[item=value, item!=value, item>value, item>=value, item<value, item<=value, itemIsNull, itemIsNotNull, itemIsInList, itemIsNotInList, jsExpression]Specify a client-side condition, to control whether the action fires. | |
item | string | Yes | maxLen=4000 Enter the page item used in this condition. You can type in the name or pick from the list of available items. | |
Applies when triggerAction.type in (EQUALS, NOT_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL, NULL, NOT_NULL, IN_LIST, NOT_IN_LIST) | ||||
value | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (EQUALS, NOT_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when triggerAction.type in (IN_LIST, NOT_IN_LIST) | ||||
javaScriptExpression | multiline string | Yes | language=javascript-browser; maxLen=4000 | |
Applies when triggerAction.type = JAVASCRIPT_EXPRESSION | ||||
clientSideCondition {
type: "item=value"
item: value
value: value
list: [
value1
value2
]
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never]Select a condition type to be met in order for this action to be active. | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when triggerAction.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when triggerAction.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when triggerAction.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when triggerAction.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when triggerAction.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when triggerAction.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when triggerAction.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when triggerAction.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when triggerAction.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when triggerAction.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when triggerAction.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when triggerAction.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No |
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
initJavaScriptFunction | multiline string | No | language=javascript-browser; maxLen=4000 | |
Applies when triggerAction.action supports INIT_JAVASCRIPT_CODE | ||||
advanced {
staticId: value
initJavaScriptFunction: ```
apex.message.alert( "Load complete." );
```
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
triggerAction "example" ( name: exampleName action: staticContent genAI { enabled: false agent:@componentservice:@componentsystemPrompt: ``` Lorem ipsum dolor sit amet. ``` welcomeMessage: ``` Lorem ipsum dolor sit amet. ``` itemsToSubmit: [ value1 value2 ] } affectedElements { selectionType: value region:@componentbutton:@componentitems: [ value1 value2 ] jquerySelector: "select * from table_name" javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` } execution { sequence: 42 stopExecutionOnError: false waitForResult: false } clientSideCondition { type: "item=value" item: value value: value list: [ value1 value2 ] javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@component} config { buildOption:@component} advanced { staticId: value initJavaScriptFunction: ``` apex.message.alert( "Load complete." ); ``` } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
triggerAction
action.type = DEFINED_BY_DA_ACTION| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | No | maxLen=255 Enter the name of the action. This helps to identify what the action does in Page Designer. | |
action | string | Yes |
genAI
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
enabled | boolean | Yes | false | |
Applies when triggerAction.action supports AI_ENABLED | ||||
agent | string | No | ||
Applies when triggerAction.action supports AI_ENABLED_ALWAYS, AI_ENABLED and triggerAction.enabled = Y or not set | ||||
service | string | No | ||
Applies when triggerAction.agent NULL | ||||
systemPrompt | multiline string | No | maxLen=32767 | |
Applies when triggerAction.action supports AI_SYSTEM_PROMPT and triggerAction.agent NULL | ||||
welcomeMessage | multiline string | No | language=html; maxLen=32767 | |
Applies when triggerAction.action supports AI_UI and triggerAction.agent NULL | ||||
itemsToSubmit | array of strings | No | maxLen=4000 | |
Applies when triggerAction.action supports AI_ENABLED_ALWAYS, AI_ENABLED and triggerAction.enabled = Y or not set | ||||
genAI { enabled: false agent:@componentservice:@componentsystemPrompt: ``` Lorem ipsum dolor sit amet. ``` welcomeMessage: ``` Lorem ipsum dolor sit amet. ``` itemsToSubmit: [ value1 value2 ] }
affectedElements
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
selectionType | string | Yes | ||
Applies when triggerAction.action supports ITEM, BUTTON, REGION, JQUERY_SELECTOR, JAVASCRIPT_EXPRESSION, TRIGGERING_ELEMENT, EVENT_SOURCE | ||||
region | string | Yes | ||
Applies when triggerAction.selectionType = REGION | ||||
button | string | Yes | ||
Applies when triggerAction.selectionType = BUTTON | ||||
items | array of strings | Yes | maxLen=4000 | |
Applies when triggerAction.selectionType = ITEM | ||||
jquerySelector | string | Yes | maxLen=4000 | |
Applies when triggerAction.selectionType = JQUERY_SELECTOR | ||||
javaScriptExpression | multiline string | Yes | language=javascript-browser; maxLen=4000 | |
Applies when triggerAction.selectionType = JAVASCRIPT_EXPRESSION | ||||
affectedElements { selectionType: value region:@componentbutton:@componentitems: [ value1 value2 ] jquerySelector: "select * from table_name" javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` }
execution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 | |
stopExecutionOnError | boolean | Yes | true | |
Applies when triggerAction.action supports STOP_EXECUTION_ON_ERROR | ||||
waitForResult | boolean | Yes | true | |
Applies when triggerAction.action supports WAIT_FOR_RESULT | ||||
execution {
sequence: 42
stopExecutionOnError: false
waitForResult: false
}
clientSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[item=value, item!=value, item>value, item>=value, item<value, item<=value, itemIsNull, itemIsNotNull, itemIsInList, itemIsNotInList, jsExpression]Specify a client-side condition, to control whether the action fires. | |
item | string | Yes | maxLen=4000 Enter the page item used in this condition. You can type in the name or pick from the list of available items. | |
Applies when triggerAction.type in (EQUALS, NOT_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL, NULL, NOT_NULL, IN_LIST, NOT_IN_LIST) | ||||
value | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (EQUALS, NOT_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when triggerAction.type in (IN_LIST, NOT_IN_LIST) | ||||
javaScriptExpression | multiline string | Yes | language=javascript-browser; maxLen=4000 | |
Applies when triggerAction.type = JAVASCRIPT_EXPRESSION | ||||
clientSideCondition {
type: "item=value"
item: value
value: value
list: [
value1
value2
]
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never]Select a condition type to be met in order for this action to be active. | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when triggerAction.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when triggerAction.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when triggerAction.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when triggerAction.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when triggerAction.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when triggerAction.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when triggerAction.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when triggerAction.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when triggerAction.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when triggerAction.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when triggerAction.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when triggerAction.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No |
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
initJavaScriptFunction | multiline string | No | language=javascript-browser; maxLen=4000 | |
Applies when triggerAction.action supports INIT_JAVASCRIPT_CODE | ||||
advanced {
staticId: value
initJavaScriptFunction: ```
apex.message.alert( "Load complete." );
```
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
triggerAction "example" ( name: exampleName action: staticContent genAI { enabled: false agent:@componentservice:@componentsystemPrompt: ``` Lorem ipsum dolor sit amet. ``` welcomeMessage: ``` Lorem ipsum dolor sit amet. ``` itemsToSubmit: [ value1 value2 ] } affectedElements { selectionType: value region:@componentbutton:@componentitems: [ value1 value2 ] jquerySelector: "select * from table_name" javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` } execution { sequence: 42 stopExecutionOnError: false waitForResult: false } clientSideCondition { type: "item=value" item: value value: value list: [ value1 value2 ] javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@component} config { buildOption:@component} advanced { staticId: value initJavaScriptFunction: ``` apex.message.alert( "Load complete." ); ``` } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
axis
chart.type in (area, bar, boxPlot, bubble, combo, gantt, line, lineWithArea, polar, radar, range, scatter, stock)region.type = chart| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | ||
showAxis | boolean | Yes | on | |
Applies when axis.name in (x, y, y2, major) | ||||
title | string | No | maxLen=255 Enter a title for the axis. This title describes the information being represented on the axis of your chart. | |
timeScale
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
scale | enum | Yes | enum=[seconds, minutes, hours, days, weeks, months, quarters, years] | |
Applies when axis.name in (major, minor) | ||||
timeScale {
scale: seconds
}
zoomScale
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
seconds | boolean | Yes | false | |
Applies when axis.name in (major, minor) | ||||
minutes | boolean | Yes | false | |
Applies when axis.name in (major, minor) | ||||
hours | boolean | Yes | false | |
Applies when axis.name in (major, minor) | ||||
days | boolean | Yes | true | |
Applies when axis.name in (major, minor) | ||||
weeks | boolean | Yes | true | |
Applies when axis.name in (major, minor) | ||||
months | boolean | Yes | true | |
Applies when axis.name in (major, minor) | ||||
quarters | boolean | Yes | true | |
Applies when axis.name in (major, minor) | ||||
years | boolean | Yes | false | |
Applies when axis.name in (major, minor) | ||||
zoomScale {
seconds: false
minutes: false
hours: false
days: false
weeks: false
months: false
quarters: false
years: false
}
title
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
fontFamily | enum | No | enum=[arial, arialBlack, bookman, comicSansMs, courier, courierNew, garamond, georgia, helvetica, impact, palatino, times, timesNewRoman, trebuchetMs, verdana] | |
Applies when axis.name in (x, y, y2) | ||||
fontStyle | enum | No | enum=[normal, italic, oblique] | |
Applies when axis.name in (x, y, y2) | ||||
fontSize | enum | No | enum=[8, 10, 12, 14, 16, 18, 20, 22] | |
Applies when axis.name in (x, y, y2) | ||||
fontColor | string | No | maxLen=255 | |
Applies when axis.name in (x, y, y2) | ||||
title {
fontFamily: arial
fontStyle: normal
fontSize: "8"
fontColor: value
}
value
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
min | number | No | maxLen=22 | |
Applies when axis.name in (x, y, y2) | ||||
max | number | No | maxLen=22 | |
Applies when axis.name in (x, y, y2) | ||||
format | enum | No | enum=[dateShort, dateMedium, dateLong, dateFull, timeShort, timeMedium, timeLong, timeFull, datetimeShort, datetimeMedium, datetimeLong, datetimeFull, decimal, currency, percent] | |
decimalPlaces | integer | No | maxLen=32767; min=0 | |
Applies when axis.format in (decimal, currency, percent) and axis.name in (x, y, y2) | ||||
currency | string | No | maxLen=128 | |
Applies when axis.format = currency and axis.name in (x, y, y2) | ||||
pattern | string | No | maxLen=30 | |
Applies when axis.format is set and axis.name in (x, y, y2, major, minor) | ||||
formatScaling | enum | Yes | auto | enum=[none, auto, thousand, million, billion, trillion, quadrillion] |
Applies when axis.name in (x, y, y2) | ||||
baselineScaling | enum | Yes | zero | enum=[min, zero] |
Applies when axis.name in (x, y, y2) | ||||
scale | enum | Yes | linear | enum=[linear, log] |
Applies when axis.name in (x, y, y2) | ||||
step | number | No | maxLen=22 | |
Applies when axis.name in (x, y, y2) | ||||
value {
min: 1
max: 5
format: dateShort
decimalPlaces: 42
currency: value
pattern: value
formatScaling: none
baselineScaling: min
scale: linear
step: 42
}
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
position | enum | Yes | auto | enum=[auto, start, end, top, bottom] |
Applies when axis.name NOT_IN_LIST x, major, minor | ||||
appearance {
position: auto
}
majorTicks
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
show | enum | Yes | true | enum=[auto, true, false] |
Applies when axis.name in (x, y, y2) | ||||
minStep | number | No | maxLen=22 | |
Applies when axis.name in (x, y, y2) | ||||
majorTicks {
show: auto
minStep: 1
}
minorTicks
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
show | enum | Yes | auto | enum=[auto, true, false] |
Applies when axis.name in (x, y, y2) | ||||
step | number | No | maxLen=22 | |
Applies when axis.name in (x, y, y2) | ||||
minorTicks {
show: auto
step: 42
}
tickLabel
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
show | boolean | Yes | on | |
Applies when axis.name in (x, y, y2) | ||||
rotation | boolean | Yes | auto | |
Applies when axis.show = on and axis.name = x | ||||
position | enum | Yes | outside | enum=[outside, inside] |
Applies when axis.show = on and axis.name = x | ||||
fontFamily | enum | No | enum=[arial, arialBlack, bookman, comicSansMs, courier, courierNew, garamond, georgia, helvetica, impact, palatino, times, timesNewRoman, trebuchetMs, verdana] | |
Applies when axis.name in (x, y, y2) and axis.show = on | ||||
fontStyle | enum | No | enum=[normal, italic, oblique] | |
Applies when axis.name in (x, y, y2) and axis.show = on | ||||
fontSize | enum | No | enum=[8, 10, 12, 14, 16, 18, 20, 22] | |
Applies when axis.name in (x, y, y2) and axis.show = on | ||||
fontColor | string | No | maxLen=255 | |
Applies when axis.name in (x, y, y2) and axis.show = on | ||||
tickLabel {
show: false
rotation: false
position: outside
fontFamily: arial
fontStyle: normal
fontSize: "8"
fontColor: value
}
dualYAxes
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
show | enum | Yes | auto | enum=[auto, true, false] |
Applies when axis.name = y2 | ||||
splitterPosition | number | No | maxLen=22; min=0; max=1 | |
Applies when axis.show NOT_EQUALS off | ||||
dualYAxes {
show: auto
splitterPosition: 42
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | No | maxLen=255 Enter a unique Static ID for the chart axis. The Static ID can be useful when developing custom JavaScript behavior for the chart axis or to refer it in application export files. Be cautious when changing it after creation. |
advanced {
staticId: value
}
APEXlang Example
axis "example" (
name: exampleName
showAxis: false
title: "Page title"
timeScale {
scale: seconds
}
zoomScale {
seconds: false
minutes: false
hours: false
days: false
weeks: false
months: false
quarters: false
years: false
}
title {
fontFamily: arial
fontStyle: normal
fontSize: "8"
fontColor: value
}
value {
min: 1
max: 5
format: dateShort
decimalPlaces: 42
currency: value
pattern: value
formatScaling: none
baselineScaling: min
scale: linear
step: 42
}
appearance {
position: auto
}
majorTicks {
show: auto
minStep: 1
}
minorTicks {
show: auto
step: 42
}
tickLabel {
show: false
rotation: false
position: outside
fontFamily: arial
fontStyle: normal
fontSize: "8"
fontColor: value
}
dualYAxes {
show: auto
splitterPosition: 42
}
advanced {
staticId: value
}
)
column
region.type = interactiveReport| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
columnName | string | Yes | maxLen=128 | |
type | enum | Yes | enum=[appTemplateComponent/<templateComponentName>, displayImage, downloadBlob, hidden, link, percentGraph, plainText, plainTextBasedOnLov, plugin/<pluginName>, removeHtml, richText, rowSelector, themeTemplateComponent/actions, themeTemplateComponent/avatar, themeTemplateComponent/avatarTemplateComponent, themeTemplateComponent/badge, themeTemplateComponent/badgeTemplateComponent, themeTemplateComponent/comments, themeTemplateComponent/contentRow, themeTemplateComponent/contextualInfoTemplateComponent, themeTemplateComponent/emptyStateTemplateComponent, themeTemplateComponent/listItemTemplateComponent, themeTemplateComponent/mediaList, themeTemplateComponent/metricCard, themeTemplateComponent/timeline] |
rowSelection
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
enableMultiSelect | boolean | Yes | true | |
Applies when column.type = rowSelector | ||||
showSelectAll | boolean | Yes | true | |
Applies when column.enableMultiSelect = Y | ||||
hideControl | boolean | Yes | false | |
Applies when column.type = rowSelector | ||||
currentSelectionPageItem | string | No | maxLen=255 | |
Applies when column.type = rowSelector | ||||
rowSelection {
enableMultiSelect: false
showSelectAll: false
hideControl: false
currentSelectionPageItem: value
}
heading
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
heading | string | Yes | maxLen=4000 | |
Applies when column.type NOT_EQUALS rowSelector | ||||
alternativeLabel | string | No | maxLen=4000 Enter the alternative label to use in dialogs and in various column heading placements.
Use an alternative label when the heading contains extra formatting, such as HTML tags, which do not display properly. | |
Applies when column.type NOT_EQUALS rowSelector | ||||
alignment | enum | Yes | start | enum=[start, center, end] |
Applies when column.type NOT_IN_LIST hiddenColumn, rowSelector | ||||
heading {
heading: value
alternativeLabel: value
alignment: start
}
singleRowView
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
useColumnHeading | boolean | Yes | true | |
Applies when column.type NOT_IN_LIST hiddenColumn, rowSelector | ||||
label | string | Yes | maxLen=4000 | |
Applies when column.useColumnHeading = N | ||||
singleRowView {
useColumnHeading: false
label: label
}
lov
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
lov | string | Yes | ||
Applies when column.type = plainLov | ||||
lov { lov:@component}
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 | |
Applies when column.type NOT_EQUALS rowSelector | ||||
columnAlignment | enum | Yes | start | enum=[start, center, end] |
Applies when column.type NOT_IN_LIST hiddenColumn, rowSelector | ||||
group | string | No | ||
Applies when column.type NOT_IN_LIST hiddenColumn, rowSelector | ||||
layout { sequence: 42 columnAlignment: start group:@component}
accessibility
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
valueIdentifiesRow | boolean | Yes | false | |
Applies when column.type NOT_IN_LIST hiddenColumn, percentGraph, richText, rowSelector | ||||
imageDescription | string | No | maxLen=255 | |
Applies when column.type = image | ||||
accessibility {
valueIdentifiesRow: false
imageDescription: value
}
settings
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
format | enum | Yes | markdown | enum=[html, markdown] |
Applies when column.type = richText | ||||
settings {
format: html
}
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
cssClasses | array of strings | No | maxLen=255 Enter CSS classes to apply to each cell in this column. You may add multiple classes by separating them with spaces. | |
Applies when column.type NOT_EQUALS hiddenColumn | ||||
formatMask | string | No | maxLen=255 | |
Applies when column.type in (plainText, link, stripHtml) | ||||
backgroundColor | string | No | maxLen=255 | |
Applies when column.type = percentGraph | ||||
foregroundColor | string | No | maxLen=255 | |
Applies when column.type = percentGraph | ||||
barWidth | integer | No | maxLen=32767; min=1 | |
Applies when column.type = percentGraph | ||||
viewFileAs | enum | Yes | attachment | enum=[attachment, inline] |
Applies when column.type = download | ||||
downloadText | string | No | maxLen=255 | |
Applies when column.type = download | ||||
appearance {
cssClasses: [
value1
value2
]
formatMask: value
backgroundColor: value
foregroundColor: value
barWidth: 42
viewFileAs: attachment
downloadText: value
}
blobAttributes
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
tableOwner | string | No | maxLen=32767 | |
Applies when column.type in (image, download) | ||||
tableName | string | Yes | maxLen=32767 | |
Applies when column.type in (image, download) | ||||
blobColumn | string | Yes | maxLen=32767 | |
Applies when column.type in (image, download) | ||||
primaryKeyColumn1 | string | Yes | maxLen=32767 | |
Applies when column.type in (image, download) | ||||
primaryKeyColumn2 | string | No | maxLen=32767 | |
Applies when column.type in (image, download) | ||||
mimeTypeColumn | string | No | maxLen=32767 | |
Applies when column.type in (image, download) | ||||
filenameColumn | string | No | maxLen=32767 | |
Applies when column.type in (image, download) | ||||
lastUpdatedColumn | string | No | maxLen=32767 | |
Applies when column.type in (image, download) | ||||
charSetColumn | string | No | maxLen=32767 | |
Applies when column.type = download | ||||
blobAttributes {
tableOwner: value
tableName: value
blobColumn: value
primaryKeyColumn1: value
primaryKeyColumn2: value
mimeTypeColumn: value
filenameColumn: exampleName
lastUpdatedColumn: value
charSetColumn: value
}
link
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
target | complex | No | maxLen=32767 | |
Applies when column.type in (percentGraph, plainLov) | ||||
target | complex | Yes | maxLen=32767 | |
Applies when column.type = link | ||||
linkText | string | Yes | maxLen=4000 | |
Applies when column.target is set or column.target is set | ||||
linkAttributes | string | No | maxLen=4000 | |
Applies when column.target is set or column.target is set | ||||
link {
target: value
linkText: value
linkAttributes: value
}
columnFormatting
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
htmlExpression | multiline string | No | language=html; maxLen=4000 | |
Applies when column.type in (plainText, plainLov) | ||||
columnFormatting {
htmlExpression: ```
Lorem ipsum dolor sit amet.
```
}
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
primaryKey | boolean | Yes | false | |
Applies when column.type NOT_EQUALS rowSelector | ||||
dataType | string | Yes | maxLen=255 | |
availableOnClient | boolean | Yes | false | |
Applies when column.primaryKey = N and column.dataType NOT_IN_LIST BLOB, CLOB, BFILE, SDO_GEOMETRY | ||||
valueProtected | boolean | Yes | true | |
Applies when column.availableOnClient = Y | ||||
timezoneAware | string | Yes | N | maxLen=32767 |
Applies when column.dataType = DATE | ||||
source {
primaryKey: false
dataType: value
availableOnClient: false
valueProtected: false
timezoneAware: value
}
columnFilter
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | defaultBasedOnColumnType | enum=[none, defaultBasedOnColumnType, definedLovExactMatch, definedLovWordContains, namedLovExactMatch, namedLovWordContains] |
Applies when column.type NOT_STARTS_WITH_ANY hiddenColumn, plainLov, richText, rowSelector, TMPL_ | ||||
namedLov | string | Yes | ||
Applies when column.type in (1, 2) | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when column.type in (S, C) | ||||
dateRanges | enum | Yes | all | enum=[all, past, future] |
Applies when column.dataType = DATE and column.type = D | ||||
type | enum | Yes | namedLovExactMatch | enum=[none, defaultBasedOnColumnType, definedLovExactMatch, definedLovWordContains, namedLovExactMatch, namedLovWordContains] |
Applies when column.type = plainLov | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when column.type in (S, C) | ||||
columnFilter { type: none namedLov:@componentsqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` dateRanges: all }
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
htmlDomId | string | No | maxLen=255; regex=/^[^:/,+?^'"
]+$/Enter the DOM ID for the column. If defined, the DOM ID is used as the ID for the corresponding table header (TH) cell, and as the HEADERS value for corresponding table data (TD) cells. The DOM ID can be useful when developing custom JavaScript behavior, or custom style for the column. If the DOM ID is not defined, the table generates an internal ID for these attribute values. | |
Applies when column.type NOT_EQUALS rowSelector | ||||
endUserAlias | string | No | maxLen=10; regex=/^[ABCDEFGHIJKLMNOPQRSTUVWXYZ]{1,2}$/ | |
advanced {
htmlDomId: value
endUserAlias: value
}
genAI
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
columnContext | multiline string | No | maxLen=32767 | |
Applies when genAI.naturalLanguageSupport = Y | ||||
referenceDataType | enum | No | enum=[sharedComponent, sqlQuery, staticValues] | |
Applies when genAI.naturalLanguageSupport = Y | ||||
lov | string | Yes | ||
Applies when column.referenceDataType = SHARED | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when column.referenceDataType = SQL_QUERY | ||||
staticValues | multiline string | Yes | STATIC:Display1;Return1,Display2;Return2 | maxLen=4000 |
Applies when column.referenceDataType = STATIC | ||||
genAI { columnContext: ``` Lorem ipsum dolor sit amet. ``` referenceDataType: sharedComponent lov:@componentsqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` staticValues: ``` value ``` }
enableUsersTo
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
hide | boolean | Yes | true | |
Applies when column.type NOT_IN_LIST hiddenColumn, rowSelector | ||||
sort | boolean | Yes | true | |
Applies when column.type NOT_IN_LIST hiddenColumn, richText, rowSelector | ||||
filter | boolean | Yes | true | |
Applies when column.type NOT_IN_LIST hiddenColumn, rowSelector | ||||
highlight | boolean | Yes | true | |
Applies when column.type NOT_STARTS_WITH_ANY hiddenColumn, rowSelector, TMPL_ | ||||
controlBreak | boolean | Yes | true | |
Applies when column.type NOT_STARTS_WITH_ANY hiddenColumn, richText, rowSelector, TMPL_ | ||||
aggregate | boolean | Yes | true | |
Applies when column.type NOT_STARTS_WITH_ANY hiddenColumn, richText, rowSelector, TMPL_ | ||||
compute | boolean | Yes | true | |
Applies when column.type NOT_STARTS_WITH_ANY hiddenColumn, richText, rowSelector, TMPL_ | ||||
chart | boolean | Yes | true | |
Applies when column.type NOT_STARTS_WITH_ANY hiddenColumn, richText, rowSelector, TMPL_ | ||||
groupBy | boolean | Yes | true | |
Applies when column.type NOT_STARTS_WITH_ANY hiddenColumn, richText, rowSelector, TMPL_ | ||||
pivot | boolean | Yes | true | |
Applies when column.type NOT_STARTS_WITH_ANY hiddenColumn, richText, rowSelector, TMPL_ | ||||
enableUsersTo {
hide: false
sort: false
filter: false
highlight: false
controlBreak: false
aggregate: false
compute: false
chart: false
groupBy: false
pivot: false
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when column.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when column.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when column.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when column.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when column.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when column.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when column.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when column.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when column.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when column.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when column.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when column.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when column.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when column.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when column.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when column.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when column.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when column.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No | ||
escapeSpecialChars | boolean | Yes | true | |
Applies when column.type in (plainText, link, hiddenColumn) | ||||
security { authorizationScheme:@componentescapeSpecialChars: false }
help
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
helpText | multiline string | No | language=html; maxLen=4000 | |
Applies when column.type NOT_IN_LIST hiddenColumn, rowSelector | ||||
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
column "example" ( columnName: value type: staticContent rowSelection { enableMultiSelect: false showSelectAll: false hideControl: false currentSelectionPageItem: value } heading { heading: value alternativeLabel: value alignment: start } singleRowView { useColumnHeading: false label: label } lov { lov:@component} layout { sequence: 42 columnAlignment: start group:@component} accessibility { valueIdentifiesRow: false imageDescription: value } settings { format: html } appearance { cssClasses: [ value1 value2 ] formatMask: value backgroundColor: value foregroundColor: value barWidth: 42 viewFileAs: attachment downloadText: value } blobAttributes { tableOwner: value tableName: value blobColumn: value primaryKeyColumn1: value primaryKeyColumn2: value mimeTypeColumn: value filenameColumn: exampleName lastUpdatedColumn: value charSetColumn: value } link { target: value linkText: value linkAttributes: value } columnFormatting { htmlExpression: ``` Lorem ipsum dolor sit amet. ``` } source { primaryKey: false dataType: value availableOnClient: false valueProtected: false timezoneAware: value } columnFilter { type: none namedLov:@componentsqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` dateRanges: all } advanced { htmlDomId: value endUserAlias: value } genAI { columnContext: ``` Lorem ipsum dolor sit amet. ``` referenceDataType: sharedComponent lov:@componentsqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` staticValues: ``` value ``` } enableUsersTo { hide: false sort: false filter: false highlight: false controlBreak: false aggregate: false compute: false chart: false groupBy: false pivot: false } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@componentescapeSpecialChars: false } help { helpText: ``` Lorem ipsum dolor sit amet. ``` } config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
action
column.type starts with TMPL_| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
position | string | Yes | ||
template | string | Yes | ||
Applies when action.position supports TEMPLATE | ||||
label | string | Yes | maxLen=255 | |
Applies when action.template supports LABEL or action.position supports TMPL_LABEL | ||||
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 Enter the display sequence for this action. This is used to evaluate the display condition and render in the order defined. |
layout {
sequence: 42
}
behavior
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | redirectThisApp | enum=[redirectThisApp, redirectOtherApp, redirectUrl, triggerAction] |
Applies when action.template supports LINK_URL or action.position supports LINK, TMPL_LINK_URL | ||||
target | complex | Yes | maxLen=32767 | |
Applies when action.type = REDIRECT_PAGE | ||||
target | complex | Yes | maxLen=32767 | |
Applies when action.type = REDIRECT_APP | ||||
targetUrl | string | Yes | maxLen=4000 | |
Applies when action.type = REDIRECT_URL | ||||
linkAttributes | string | No | maxLen=4000 | |
Applies when action.type in (REDIRECT_PAGE, REDIRECT_APP, REDIRECT_URL) and condition matches | ||||
behavior {
type: redirectThisApp
target: value
targetUrl: value
linkAttributes: value
}
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
displayType | enum | Yes | text | enum=[text, icon, textWithIcon] |
Applies when action.template supports ICON_CLASSES or action.position supports TMPL_ICON_CLASSES | ||||
icon | string | Yes | maxLen=255 | |
Applies when action.displayType in (ICON, TEXT_WITH_ICON) | ||||
hot | boolean | Yes | false | Specify whether to use the Normal or Hot button when rendering this button. |
Applies when action.template supports IS_HOT or action.position supports TMPL_IS_HOT | ||||
showAsDisabled | boolean | Yes | false | |
Applies when action.template supports IS_DISABLED or action.position supports TMPL_IS_DISABLED | ||||
cssClasses | array of strings | No | maxLen=255 Enter classes to add to this action. You may add multiple classes by separating them with spaces. | |
Applies when action.template supports CSS_CLASSES or action.position supports TMPL_CSS_CLASSES | ||||
appearance {
displayType: text
icon: fa-check
hot: false
showAsDisabled: false
cssClasses: [
value1
value2
]
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | action | maxLen=255 |
advanced {
staticId: value
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when action.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when action.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when action.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when action.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when action.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when action.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when action.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when action.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when action.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when action.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when action.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when action.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when action.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when action.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when action.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when action.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when action.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when action.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
executeCondition | enum | Yes | forEachRow | enum=[forEachRow, once] |
Applies when action.type is set and action.type NOT_EQUALS NEVER | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
executeCondition: forEachRow
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No |
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
action "example" ( position: value template: value label: label layout { sequence: 42 } behavior { type: redirectThisApp target: value targetUrl: value linkAttributes: value } appearance { displayType: text icon: fa-check hot: false showAsDisabled: false cssClasses: [ value1 value2 ] } advanced { staticId: value } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] executeCondition: forEachRow } security { authorizationScheme:@component} config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
menu
action.position supports MENU or action.template supports MENU| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | menuEntry | enum=[menuEntry, subMenu, separator] |
label | string | Yes | maxLen=255 Enter the text to be displayed in the menu. | |
Applies when menu.type in (ENTRY, SUB_MENU) | ||||
parentMenu | string | No | ||
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 Enter the display sequence for this menu entry. This is used to evaluate the display condition and render in the order defined. |
layout {
sequence: 42
}
behavior
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | redirectThisApp | enum=[redirectThisApp, redirectOtherApp, redirectUrl, triggerAction] |
Applies when menu.type = ENTRY | ||||
target | complex | Yes | maxLen=32767 | |
Applies when menu.type = REDIRECT_PAGE | ||||
target | complex | Yes | maxLen=32767 | |
Applies when menu.type = REDIRECT_APP | ||||
targetUrl | string | Yes | maxLen=4000 | |
Applies when menu.type = REDIRECT_URL | ||||
linkAttributes | string | No | maxLen=4000 | |
Applies when menu.type in (REDIRECT_PAGE, REDIRECT_APP, REDIRECT_URL) | ||||
behavior {
type: redirectThisApp
target: value
targetUrl: value
linkAttributes: value
}
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
icon | string | No | maxLen=255 | |
Applies when menu.type in (ENTRY, SUB_MENU) | ||||
appearance {
icon: fa-check
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
Applies when menu.type in (ENTRY, SUB_MENU) | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when menu.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when menu.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when menu.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when menu.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when menu.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when menu.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when menu.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when menu.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when menu.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when menu.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when menu.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when menu.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when menu.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when menu.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when menu.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when menu.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when menu.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when menu.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
executeCondition | enum | Yes | forEachRow | enum=[forEachRow, once] |
Applies when menu.type is set and menu.type NOT_EQUALS NEVER | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
executeCondition: forEachRow
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No | ||
Applies when menu.type in (ENTRY, SUB_MENU) | ||||
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
menu "example" ( type: menuEntry label: label parentMenu:@componentlayout { sequence: 42 } behavior { type: redirectThisApp target: value targetUrl: value linkAttributes: value } appearance { icon: fa-check } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] executeCondition: forEachRow } advanced { staticId: value } security { authorizationScheme:@component} config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
triggerAction
menu.type = DEFINED_BY_DA_ACTION| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | No | maxLen=255 Enter the name of the action. This helps to identify what the action does in Page Designer. | |
action | string | Yes |
genAI
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
enabled | boolean | Yes | false | |
Applies when triggerAction.action supports AI_ENABLED | ||||
agent | string | No | ||
Applies when triggerAction.action supports AI_ENABLED_ALWAYS, AI_ENABLED and triggerAction.enabled = Y or not set | ||||
service | string | No | ||
Applies when triggerAction.agent NULL | ||||
systemPrompt | multiline string | No | maxLen=32767 | |
Applies when triggerAction.action supports AI_SYSTEM_PROMPT and triggerAction.agent NULL | ||||
welcomeMessage | multiline string | No | language=html; maxLen=32767 | |
Applies when triggerAction.action supports AI_UI and triggerAction.agent NULL | ||||
itemsToSubmit | array of strings | No | maxLen=4000 | |
Applies when triggerAction.action supports AI_ENABLED_ALWAYS, AI_ENABLED and triggerAction.enabled = Y or not set | ||||
genAI { enabled: false agent:@componentservice:@componentsystemPrompt: ``` Lorem ipsum dolor sit amet. ``` welcomeMessage: ``` Lorem ipsum dolor sit amet. ``` itemsToSubmit: [ value1 value2 ] }
affectedElements
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
selectionType | string | Yes | ||
Applies when triggerAction.action supports ITEM, BUTTON, REGION, JQUERY_SELECTOR, JAVASCRIPT_EXPRESSION, TRIGGERING_ELEMENT, EVENT_SOURCE | ||||
region | string | Yes | ||
Applies when triggerAction.selectionType = REGION | ||||
button | string | Yes | ||
Applies when triggerAction.selectionType = BUTTON | ||||
items | array of strings | Yes | maxLen=4000 | |
Applies when triggerAction.selectionType = ITEM | ||||
jquerySelector | string | Yes | maxLen=4000 | |
Applies when triggerAction.selectionType = JQUERY_SELECTOR | ||||
javaScriptExpression | multiline string | Yes | language=javascript-browser; maxLen=4000 | |
Applies when triggerAction.selectionType = JAVASCRIPT_EXPRESSION | ||||
affectedElements { selectionType: value region:@componentbutton:@componentitems: [ value1 value2 ] jquerySelector: "select * from table_name" javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` }
execution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 | |
stopExecutionOnError | boolean | Yes | true | |
Applies when triggerAction.action supports STOP_EXECUTION_ON_ERROR | ||||
waitForResult | boolean | Yes | true | |
Applies when triggerAction.action supports WAIT_FOR_RESULT | ||||
execution {
sequence: 42
stopExecutionOnError: false
waitForResult: false
}
clientSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[item=value, item!=value, item>value, item>=value, item<value, item<=value, itemIsNull, itemIsNotNull, itemIsInList, itemIsNotInList, jsExpression]Specify a client-side condition, to control whether the action fires. | |
item | string | Yes | maxLen=4000 Enter the page item used in this condition. You can type in the name or pick from the list of available items. | |
Applies when triggerAction.type in (EQUALS, NOT_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL, NULL, NOT_NULL, IN_LIST, NOT_IN_LIST) | ||||
value | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (EQUALS, NOT_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when triggerAction.type in (IN_LIST, NOT_IN_LIST) | ||||
javaScriptExpression | multiline string | Yes | language=javascript-browser; maxLen=4000 | |
Applies when triggerAction.type = JAVASCRIPT_EXPRESSION | ||||
clientSideCondition {
type: "item=value"
item: value
value: value
list: [
value1
value2
]
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never]Select a condition type to be met in order for this action to be active. | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when triggerAction.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when triggerAction.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when triggerAction.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when triggerAction.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when triggerAction.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when triggerAction.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when triggerAction.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when triggerAction.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when triggerAction.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when triggerAction.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when triggerAction.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when triggerAction.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No |
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
initJavaScriptFunction | multiline string | No | language=javascript-browser; maxLen=4000 | |
Applies when triggerAction.action supports INIT_JAVASCRIPT_CODE | ||||
advanced {
staticId: value
initJavaScriptFunction: ```
apex.message.alert( "Load complete." );
```
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
triggerAction "example" ( name: exampleName action: staticContent genAI { enabled: false agent:@componentservice:@componentsystemPrompt: ``` Lorem ipsum dolor sit amet. ``` welcomeMessage: ``` Lorem ipsum dolor sit amet. ``` itemsToSubmit: [ value1 value2 ] } affectedElements { selectionType: value region:@componentbutton:@componentitems: [ value1 value2 ] jquerySelector: "select * from table_name" javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` } execution { sequence: 42 stopExecutionOnError: false waitForResult: false } clientSideCondition { type: "item=value" item: value value: value list: [ value1 value2 ] javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@component} config { buildOption:@component} advanced { staticId: value initJavaScriptFunction: ``` apex.message.alert( "Load complete." ); ``` } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
triggerAction
action.type = DEFINED_BY_DA_ACTION| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | No | maxLen=255 Enter the name of the action. This helps to identify what the action does in Page Designer. | |
action | string | Yes |
genAI
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
enabled | boolean | Yes | false | |
Applies when triggerAction.action supports AI_ENABLED | ||||
agent | string | No | ||
Applies when triggerAction.action supports AI_ENABLED_ALWAYS, AI_ENABLED and triggerAction.enabled = Y or not set | ||||
service | string | No | ||
Applies when triggerAction.agent NULL | ||||
systemPrompt | multiline string | No | maxLen=32767 | |
Applies when triggerAction.action supports AI_SYSTEM_PROMPT and triggerAction.agent NULL | ||||
welcomeMessage | multiline string | No | language=html; maxLen=32767 | |
Applies when triggerAction.action supports AI_UI and triggerAction.agent NULL | ||||
itemsToSubmit | array of strings | No | maxLen=4000 | |
Applies when triggerAction.action supports AI_ENABLED_ALWAYS, AI_ENABLED and triggerAction.enabled = Y or not set | ||||
genAI { enabled: false agent:@componentservice:@componentsystemPrompt: ``` Lorem ipsum dolor sit amet. ``` welcomeMessage: ``` Lorem ipsum dolor sit amet. ``` itemsToSubmit: [ value1 value2 ] }
affectedElements
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
selectionType | string | Yes | ||
Applies when triggerAction.action supports ITEM, BUTTON, REGION, JQUERY_SELECTOR, JAVASCRIPT_EXPRESSION, TRIGGERING_ELEMENT, EVENT_SOURCE | ||||
region | string | Yes | ||
Applies when triggerAction.selectionType = REGION | ||||
button | string | Yes | ||
Applies when triggerAction.selectionType = BUTTON | ||||
items | array of strings | Yes | maxLen=4000 | |
Applies when triggerAction.selectionType = ITEM | ||||
jquerySelector | string | Yes | maxLen=4000 | |
Applies when triggerAction.selectionType = JQUERY_SELECTOR | ||||
javaScriptExpression | multiline string | Yes | language=javascript-browser; maxLen=4000 | |
Applies when triggerAction.selectionType = JAVASCRIPT_EXPRESSION | ||||
affectedElements { selectionType: value region:@componentbutton:@componentitems: [ value1 value2 ] jquerySelector: "select * from table_name" javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` }
execution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 | |
stopExecutionOnError | boolean | Yes | true | |
Applies when triggerAction.action supports STOP_EXECUTION_ON_ERROR | ||||
waitForResult | boolean | Yes | true | |
Applies when triggerAction.action supports WAIT_FOR_RESULT | ||||
execution {
sequence: 42
stopExecutionOnError: false
waitForResult: false
}
clientSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[item=value, item!=value, item>value, item>=value, item<value, item<=value, itemIsNull, itemIsNotNull, itemIsInList, itemIsNotInList, jsExpression]Specify a client-side condition, to control whether the action fires. | |
item | string | Yes | maxLen=4000 Enter the page item used in this condition. You can type in the name or pick from the list of available items. | |
Applies when triggerAction.type in (EQUALS, NOT_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL, NULL, NOT_NULL, IN_LIST, NOT_IN_LIST) | ||||
value | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (EQUALS, NOT_EQUALS, GREATER_THAN, GREATER_THAN_OR_EQUAL, LESS_THAN, LESS_THAN_OR_EQUAL) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when triggerAction.type in (IN_LIST, NOT_IN_LIST) | ||||
javaScriptExpression | multiline string | Yes | language=javascript-browser; maxLen=4000 | |
Applies when triggerAction.type = JAVASCRIPT_EXPRESSION | ||||
clientSideCondition {
type: "item=value"
item: value
value: value
list: [
value1
value2
]
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never]Select a condition type to be met in order for this action to be active. | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when triggerAction.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when triggerAction.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when triggerAction.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when triggerAction.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when triggerAction.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when triggerAction.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when triggerAction.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when triggerAction.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when triggerAction.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when triggerAction.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when triggerAction.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when triggerAction.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when triggerAction.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No |
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
initJavaScriptFunction | multiline string | No | language=javascript-browser; maxLen=4000 | |
Applies when triggerAction.action supports INIT_JAVASCRIPT_CODE | ||||
advanced {
staticId: value
initJavaScriptFunction: ```
apex.message.alert( "Load complete." );
```
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
triggerAction "example" ( name: exampleName action: staticContent genAI { enabled: false agent:@componentservice:@componentsystemPrompt: ``` Lorem ipsum dolor sit amet. ``` welcomeMessage: ``` Lorem ipsum dolor sit amet. ``` itemsToSubmit: [ value1 value2 ] } affectedElements { selectionType: value region:@componentbutton:@componentitems: [ value1 value2 ] jquerySelector: "select * from table_name" javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` } execution { sequence: 42 stopExecutionOnError: false waitForResult: false } clientSideCondition { type: "item=value" item: value value: value list: [ value1 value2 ] javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@component} config { buildOption:@component} advanced { staticId: value initJavaScriptFunction: ``` apex.message.alert( "Load complete." ); ``` } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
column
region.type = classicReport| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
columnName | string | Yes | maxLen=128 | |
reportColumnQueryId | string | No | maxLen=4 | |
derivedColumn | string | No | maxLen=4 | |
type | enum | Yes | plainText | enum=[plainText, plainTextBasedOnLov, richText, link, displayImage, downloadBlob, percentGraph, hidden, displayAsTextSavesState, datePickerClassic, datePicker, textField, textArea, selectList, radioGroup, hiddenField, popupLov, popupKeyLov, simpleCheckbox, rowSelector] |
heading
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
heading | string | No | maxLen=4000 | |
Applies when column.type NOT_IN_LIST HIDDEN_COLUMN, HIDDEN_FIELD | ||||
alignment | enum | Yes | start | enum=[start, center, end] |
Applies when column.type NOT_IN_LIST HIDDEN_COLUMN, HIDDEN_FIELD | ||||
heading {
heading: value
alignment: start
}
lov
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | string | Yes | ||
Applies when column.type in (PLAIN_LOV, SELECT_LIST, RADIOGROUP, POPUP, POPUPKEY) | ||||
lov | string | Yes | ||
Applies when column.type = SHARED | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when column.type = SQL_QUERY | ||||
staticValues | multiline string | Yes | STATIC:Display1;Return1,Display2;Return2 | maxLen=4000 |
Applies when column.type = STATIC | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when column.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when column.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when column.language = JAVASCRIPT | ||||
checkboxValues | string | Yes | maxLen=32767 | |
Applies when column.type = SIMPLE_CHECKBOX | ||||
displayExtraValues | boolean | Yes | true | |
Applies when column.type in (SELECT_LIST, RADIOGROUP) | ||||
displayNullValue | boolean | Yes | true | |
Applies when column.type in (SELECT_LIST, RADIOGROUP, POPUP, POPUPKEY) | ||||
nullDisplayValue | string | No | maxLen=255 | |
Applies when column.displayNullValue = Y | ||||
nullReturnValue | string | No | maxLen=255 | |
Applies when column.displayNullValue = Y | ||||
lov { type: value lov:@componentsqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` staticValues: ``` value ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` checkboxValues: value displayExtraValues: false displayNullValue: false nullDisplayValue: value nullReturnValue: value }
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 | |
columnAlignment | enum | Yes | start | enum=[start, center, end] |
Applies when column.type NOT_IN_LIST HIDDEN_COLUMN, HIDDEN_FIELD | ||||
layout {
sequence: 42
columnAlignment: start
}
accessibility
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
valueIdentifiesRow | boolean | Yes | false | |
Applies when column.type NOT_IN_LIST HIDDEN_COLUMN, HIDDEN_FIELD, PCT_GRAPH, ROW_SELECTOR, RICH_TEXT | ||||
imageDescription | string | No | maxLen=255 | |
Applies when column.type = IMAGE | ||||
accessibility {
valueIdentifiesRow: false
imageDescription: value
}
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
formatMask | string | No | maxLen=255 Enter the format mask to apply to this column. You can type in the format mask or pick from the predefined list, based on a sample representation of how that format mask is displayed. It is important that number format masks are only applied to columns that contain numbers and date format masks are only applied to columns that contain dates. Otherwise, a runtime error is raised when any record contains a value that can not be converted using the specified format mask. | |
Applies when column.type in (PLAIN, LINK, DISPLAY_AND_SAVE, TEXT, DATE_PICKER) | ||||
formatMask | enum | Yes | enum=[useAppDateFormat, useAppFormatMask, useItemFormatMask, ddMmYyyy, ddMmYyyy, ddMmYyyy, ddMmYyyyHhMi, ddMmYyyyHhMi, ddMmYyyyHhMi, ddMmYyyyHh24Mi, ddMmYyyyHh24Mi, ddMmYyyyHh24Mi, ddMonRr, ddMonRrHhMi, ddMonRrHh24Mi, ddMonYyyy, ddMonYyyyHhMi, ddMonYyyyHh24Mi, mmDdYyyy, mmDdYyyyHhMi, mmDdYyyyHh24Mi, rrMonDd, rrMonDdHhMi, rrMonDdHh24Mi, yyyyDdMm, yyyyDdMmHhMi, yyyyDdMmHh24Mi, yyyyMmDd, yyyyMmDd, yyyyMmDdHhMi, yyyyMmDdHhMi, yyyyMmDdHh24Mi, yyyyMmDdHh24Mi] | |
Applies when column.type = DATE_POPUP | ||||
backgroundColor | string | No | maxLen=255 | |
Applies when column.type = PCT_GRAPH | ||||
foregroundColor | string | No | maxLen=255 | |
Applies when column.type = PCT_GRAPH | ||||
barWidth | integer | No | maxLen=32767; min=1 | |
Applies when column.type = PCT_GRAPH | ||||
width | number | No | maxLen=22 | |
Applies when column.type in (TEXT, TEXTAREA, DATE_POPUP, DATE_PICKER, POPUP, POPUPKEY) | ||||
height | number | No | maxLen=22 | |
Applies when column.type = TEXTAREA | ||||
viewFileAs | enum | Yes | attachment | enum=[attachment, inline] |
Applies when column.type = DOWNLOAD | ||||
template | string | No | Choose the field template to be used when rendering the tabular form field. When no template is selected, the field is rendered using the default accessibility compliant label. | |
Applies when column.type in (DISPLAY_AND_SAVE, TEXT, TEXTAREA, DATE_POPUP, DATE_PICKER, HIDDEN_FIELD, SELECT_LIST, RADIOGROUP, POPUP, POPUPKEY, SIMPLE_CHECKBOX) | ||||
downloadText | string | No | maxLen=255 | |
Applies when column.type = DOWNLOAD | ||||
appearance { formatMask: useAppDateFormat backgroundColor: value foregroundColor: value barWidth: 42 width: 400 height: 300 viewFileAs: attachment template:@componentdownloadText: value }
settings
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
format | enum | Yes | markdown | enum=[html, markdown] |
Applies when column.type = RICH_TEXT | ||||
settings {
format: html
}
blobAttributes
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
tableOwner | string | No | maxLen=32767 | |
Applies when column.type in (IMAGE, DOWNLOAD) | ||||
tableName | string | Yes | maxLen=32767 | |
Applies when column.type in (IMAGE, DOWNLOAD) | ||||
blobColumn | string | Yes | maxLen=32767 | |
Applies when column.type in (IMAGE, DOWNLOAD) | ||||
primaryKeyColumn1 | string | Yes | maxLen=32767 | |
Applies when column.type in (IMAGE, DOWNLOAD) | ||||
primaryKeyColumn2 | string | No | maxLen=32767 | |
Applies when column.type in (IMAGE, DOWNLOAD) | ||||
mimeTypeColumn | string | No | maxLen=32767 | |
Applies when column.type in (IMAGE, DOWNLOAD) | ||||
filenameColumn | string | No | maxLen=32767 | |
Applies when column.type in (IMAGE, DOWNLOAD) | ||||
lastUpdatedColumn | string | No | maxLen=32767 | |
Applies when column.type in (IMAGE, DOWNLOAD) | ||||
charSetColumn | string | No | maxLen=32767 | |
Applies when column.type = DOWNLOAD | ||||
blobAttributes {
tableOwner: value
tableName: value
blobColumn: value
primaryKeyColumn1: value
primaryKeyColumn2: value
mimeTypeColumn: value
filenameColumn: exampleName
lastUpdatedColumn: value
charSetColumn: value
}
link
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
target | complex | No | maxLen=32767 | |
Applies when column.type in (LINK, PCT_GRAPH) | ||||
linkText | string | Yes | maxLen=4000 | |
Applies when column.target is set | ||||
linkAttributes | string | No | maxLen=4000 | |
Applies when column.target is set | ||||
link {
target: value
linkText: value
linkAttributes: value
}
element
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
numberOfColumns | integer | No | maxLen=32767; min=1 | |
Applies when column.type = RADIOGROUP | ||||
element {
numberOfColumns: 42
}
columnFormatting
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
htmlExpression | multiline string | No | language=html; maxLen=4000 | |
Applies when column.type = PLAIN | ||||
cssClasses | array of strings | No | maxLen=255 | |
Applies when column.type in (PLAIN, LINK, PCT_GRAPH) | ||||
cssStyle | array of strings | No | maxLen=255 | |
Applies when column.type in (PLAIN, LINK, PCT_GRAPH) | ||||
highlightWords | string | No | maxLen=255 | |
Applies when column.type = PLAIN | ||||
columnFormatting {
htmlExpression: ```
Lorem ipsum dolor sit amet.
```
cssClasses: [
value1
value2
]
cssStyle: [
value1
value2
]
highlightWords: value
}
sorting
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
defaultSequence | enum | No | enum=[1, 2, 3, 4, 5, 6, 7, 8] | |
Applies when column.type NOT_IN_LIST ROW_SELECTOR | ||||
direction | enum | No | enum=[desc] | |
Applies when column.defaultSequence is set | ||||
sortable | boolean | Yes | false | |
Applies when column.type NOT_IN_LIST HIDDEN_COLUMN, ROW_SELECTOR | ||||
sorting {
defaultSequence: "1"
direction: desc
sortable: false
}
exportPrinting
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
includeInExportPrint | boolean | Yes | true | |
Applies when column.type NOT_IN_LIST HIDDEN_COLUMN, ROW_SELECTOR | ||||
printWidth | string | No | maxLen=4000 | |
Applies when column.includeInExportPrint = Y | ||||
exportPrinting {
includeInExportPrint: false
printWidth: unique-id
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
cssClasses | array of strings | No | maxLen=255 | |
Applies when column.type in (TEXT, TEXTAREA, DATE_POPUP, DATE_PICKER, HIDDEN_FIELD, SELECT_LIST, RADIOGROUP, POPUP, POPUPKEY, SIMPLE_CHECKBOX) | ||||
customAttributes | string | No | maxLen=2000 | |
Applies when column.type in (TEXT, TEXTAREA, DATE_POPUP, DATE_PICKER, HIDDEN_FIELD, SELECT_LIST, RADIOGROUP, POPUP, POPUPKEY, SIMPLE_CHECKBOX) | ||||
cellWidth | integer | No | maxLen=32767; min=1 | |
Applies when column.type NOT_IN_LIST HIDDEN_COLUMN, HIDDEN_FIELD | ||||
computeSum | boolean | Yes | false | |
Applies when column.type NOT_IN_LIST HIDDEN_COLUMN, HIDDEN_FIELD, ROW_SELECTOR, DATE_POPUP, DATE_PICKER, RICH_TEXT | ||||
advanced {
cssClasses: [
value1
value2
]
customAttributes: value
cellWidth: 42
computeSum: false
}
uiDefaultsReference
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
tableOwner | string | No | maxLen=32767 | |
Applies when column.derivedColumn = N | ||||
tableName | string | No | maxLen=32767 | |
column | string | No | maxLen=32767 | |
uiDefaultsReference {
tableOwner: value
tableName: value
column: value
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when column.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when column.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when column.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when column.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when column.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when column.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when column.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when column.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when column.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when column.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when column.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when column.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when column.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when column.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when column.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when column.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when column.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when column.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No | ||
escapeSpecialChars | boolean | Yes | true | |
Applies when column.type in (PLAIN, LINK, HIDDEN_COLUMN, PLAIN_LOV) | ||||
security { authorizationScheme:@componentescapeSpecialChars: false }
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
column "example" ( columnName: value reportColumnQueryId: value derivedColumn: value type: plainText heading { heading: value alignment: start } lov { type: value lov:@componentsqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` staticValues: ``` value ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` checkboxValues: value displayExtraValues: false displayNullValue: false nullDisplayValue: value nullReturnValue: value } layout { sequence: 42 columnAlignment: start } accessibility { valueIdentifiesRow: false imageDescription: value } appearance { formatMask: useAppDateFormat backgroundColor: value foregroundColor: value barWidth: 42 width: 400 height: 300 viewFileAs: attachment template:@componentdownloadText: value } settings { format: html } blobAttributes { tableOwner: value tableName: value blobColumn: value primaryKeyColumn1: value primaryKeyColumn2: value mimeTypeColumn: value filenameColumn: exampleName lastUpdatedColumn: value charSetColumn: value } link { target: value linkText: value linkAttributes: value } element { numberOfColumns: 42 } columnFormatting { htmlExpression: ``` Lorem ipsum dolor sit amet. ``` cssClasses: [ value1 value2 ] cssStyle: [ value1 value2 ] highlightWords: value } sorting { defaultSequence: "1" direction: desc sortable: false } exportPrinting { includeInExportPrint: false printWidth: unique-id } advanced { cssClasses: [ value1 value2 ] customAttributes: value cellWidth: 42 computeSum: false } uiDefaultsReference { tableOwner: value tableName: value column: value } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@componentescapeSpecialChars: false } config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
column
region.type = tabularForm| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
columnName | string | Yes | maxLen=128 | |
reportColumnQueryId | string | No | maxLen=4 | |
derivedColumn | string | No | maxLen=4 | |
type | enum | Yes | plainText | enum=[rowSelector, plainText, plainTextSavesState, plainTextBasedOnLov, link, displayImage, downloadBlob, percentGraph, textField, textArea, selectList, popupLovShowsDisplaysValue, popupLovShowsReturnValue, radioGroup, simpleCheckbox, datePicker, datePickerClassic, hidden, hiddenSavesState] |
heading
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
heading | string | No | maxLen=4000 | |
Applies when column.type NOT_IN_LIST HIDDEN_COLUMN, HIDDEN_FIELD | ||||
alignment | enum | Yes | start | enum=[start, center, end] |
Applies when column.type NOT_IN_LIST HIDDEN_COLUMN, HIDDEN_FIELD | ||||
heading {
heading: value
alignment: start
}
lov
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | string | Yes | ||
Applies when column.type in (PLAIN_LOV, SELECT_LIST, RADIOGROUP, POPUP, POPUPKEY) | ||||
lov | string | Yes | ||
Applies when column.type = SHARED | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when column.type = SQL_QUERY | ||||
staticValues | multiline string | Yes | STATIC:Display1;Return1,Display2;Return2 | maxLen=4000 |
Applies when column.type = STATIC | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when column.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when column.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when column.language = JAVASCRIPT | ||||
checkboxValues | string | Yes | maxLen=32767 | |
Applies when column.type = SIMPLE_CHECKBOX | ||||
displayExtraValues | boolean | Yes | true | |
Applies when column.type in (SELECT_LIST, RADIOGROUP) | ||||
displayNullValue | boolean | Yes | true | |
Applies when column.type in (SELECT_LIST, RADIOGROUP, POPUP, POPUPKEY) | ||||
nullDisplayValue | string | No | maxLen=255 | |
Applies when column.displayNullValue = Y | ||||
nullReturnValue | string | No | maxLen=255 | |
Applies when column.displayNullValue = Y | ||||
lov { type: value lov:@componentsqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` staticValues: ``` value ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` checkboxValues: value displayExtraValues: false displayNullValue: false nullDisplayValue: value nullReturnValue: value }
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 | |
columnAlignment | enum | Yes | start | enum=[start, center, end] |
Applies when column.type NOT_IN_LIST HIDDEN_COLUMN, HIDDEN_FIELD | ||||
layout {
sequence: 42
columnAlignment: start
}
accessibility
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
valueIdentifiesRow | boolean | Yes | false | |
Applies when column.type NOT_IN_LIST HIDDEN_COLUMN, HIDDEN_FIELD, PCT_GRAPH, ROW_SELECTOR | ||||
imageDescription | string | No | maxLen=255 | |
Applies when column.type = IMAGE | ||||
accessibility {
valueIdentifiesRow: false
imageDescription: value
}
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
formatMask | string | No | maxLen=255 Enter the format mask to apply to this column. You can type in the format mask or pick from the predefined list, based on a sample representation of how that format mask is displayed. It is important that number format masks are only applied to columns that contain numbers and date format masks are only applied to columns that contain dates. Otherwise, a runtime error is raised when any record contains a value that can not be converted using the specified format mask. | |
Applies when column.type in (PLAIN, LINK, DISPLAY_AND_SAVE, TEXT, DATE_PICKER) | ||||
formatMask | enum | Yes | enum=[useAppDateFormat, useAppFormatMask, useItemFormatMask, ddMmYyyy, ddMmYyyy, ddMmYyyy, ddMmYyyyHhMi, ddMmYyyyHhMi, ddMmYyyyHhMi, ddMmYyyyHh24Mi, ddMmYyyyHh24Mi, ddMmYyyyHh24Mi, ddMonRr, ddMonRrHhMi, ddMonRrHh24Mi, ddMonYyyy, ddMonYyyyHhMi, ddMonYyyyHh24Mi, mmDdYyyy, mmDdYyyyHhMi, mmDdYyyyHh24Mi, rrMonDd, rrMonDdHhMi, rrMonDdHh24Mi, yyyyDdMm, yyyyDdMmHhMi, yyyyDdMmHh24Mi, yyyyMmDd, yyyyMmDd, yyyyMmDdHhMi, yyyyMmDdHhMi, yyyyMmDdHh24Mi, yyyyMmDdHh24Mi] | |
Applies when column.type = DATE_POPUP | ||||
backgroundColor | string | No | maxLen=255 | |
Applies when column.type = PCT_GRAPH | ||||
foregroundColor | string | No | maxLen=255 | |
Applies when column.type = PCT_GRAPH | ||||
barWidth | integer | No | maxLen=32767; min=1 | |
Applies when column.type = PCT_GRAPH | ||||
width | number | No | maxLen=22 | |
Applies when column.type in (TEXT, TEXTAREA, DATE_POPUP, DATE_PICKER, POPUP, POPUPKEY) | ||||
height | number | No | maxLen=22 | |
Applies when column.type = TEXTAREA | ||||
viewFileAs | enum | Yes | attachment | enum=[attachment, inline] |
Applies when column.type = DOWNLOAD | ||||
template | string | No | Choose the field template to be used when rendering the tabular form field. When no template is selected, the field is rendered using the default accessibility compliant label. | |
Applies when column.type in (DISPLAY_AND_SAVE, TEXT, TEXTAREA, DATE_POPUP, DATE_PICKER, HIDDEN_FIELD, SELECT_LIST, RADIOGROUP, POPUP, POPUPKEY, SIMPLE_CHECKBOX) | ||||
downloadText | string | No | maxLen=255 | |
Applies when column.type = DOWNLOAD | ||||
appearance { formatMask: useAppDateFormat backgroundColor: value foregroundColor: value barWidth: 42 width: 400 height: 300 viewFileAs: attachment template:@componentdownloadText: value }
blobAttributes
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
tableOwner | string | No | maxLen=32767 | |
Applies when column.type in (IMAGE, DOWNLOAD) | ||||
tableName | string | Yes | maxLen=32767 | |
Applies when column.type in (IMAGE, DOWNLOAD) | ||||
blobColumn | string | Yes | maxLen=32767 | |
Applies when column.type in (IMAGE, DOWNLOAD) | ||||
primaryKeyColumn1 | string | Yes | maxLen=32767 | |
Applies when column.type in (IMAGE, DOWNLOAD) | ||||
primaryKeyColumn2 | string | No | maxLen=32767 | |
Applies when column.type in (IMAGE, DOWNLOAD) | ||||
mimeTypeColumn | string | No | maxLen=32767 | |
Applies when column.type in (IMAGE, DOWNLOAD) | ||||
filenameColumn | string | No | maxLen=32767 | |
Applies when column.type in (IMAGE, DOWNLOAD) | ||||
lastUpdatedColumn | string | No | maxLen=32767 | |
Applies when column.type in (IMAGE, DOWNLOAD) | ||||
charSetColumn | string | No | maxLen=32767 | |
Applies when column.type = DOWNLOAD | ||||
blobAttributes {
tableOwner: value
tableName: value
blobColumn: value
primaryKeyColumn1: value
primaryKeyColumn2: value
mimeTypeColumn: value
filenameColumn: exampleName
lastUpdatedColumn: value
charSetColumn: value
}
link
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
target | complex | No | maxLen=32767 | |
Applies when column.type in (LINK, PCT_GRAPH) | ||||
linkText | string | Yes | maxLen=4000 | |
Applies when column.target is set | ||||
linkAttributes | string | No | maxLen=4000 | |
Applies when column.target is set | ||||
link {
target: value
linkText: value
linkAttributes: value
}
element
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
numberOfColumns | integer | No | maxLen=32767; min=1 | |
Applies when column.type = RADIOGROUP | ||||
element {
numberOfColumns: 42
}
columnFormatting
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
htmlExpression | multiline string | No | language=html; maxLen=4000 | |
Applies when column.type = PLAIN | ||||
cssClasses | array of strings | No | maxLen=255 | |
Applies when column.type in (PLAIN, LINK, PCT_GRAPH) | ||||
cssStyle | array of strings | No | maxLen=255 | |
Applies when column.type in (PLAIN, LINK, PCT_GRAPH) | ||||
highlightWords | string | No | maxLen=255 | |
Applies when column.type = PLAIN | ||||
columnFormatting {
htmlExpression: ```
Lorem ipsum dolor sit amet.
```
cssClasses: [
value1
value2
]
cssStyle: [
value1
value2
]
highlightWords: value
}
default
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[item, plsqlExpression] | |
Applies when column.type in (DISPLAY_AND_SAVE, DATE_POPUP, DATE_PICKER, TEXT, TEXTAREA, SELECT_LIST, RADIOGROUP, HIDDEN_FIELD, POPUP, POPUPKEY, SIMPLE_CHECKBOX, ROW_SELECTOR) | ||||
item | string | Yes | maxLen=32767 | |
Applies when column.type = ITEM | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when column.type = FUNCTION | ||||
default {
type: item
item: value
plsqlExpression: ```
:CARD_LINK is not null
```
}
primaryKeySource
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[existingTrigger, plsqlExpression, existingSequence] | |
Applies when column.type NOT_EQUALS ROW_SELECTOR | ||||
name | string | Yes | maxLen=128 | |
Applies when column.type = S | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when column.type = F | ||||
primaryKeySource {
type: existingTrigger
name: exampleName
plsqlExpression: ```
:CARD_LINK is not null
```
}
sorting
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
defaultSequence | enum | No | enum=[1, 2, 3, 4, 5, 6, 7, 8] | |
Applies when column.type NOT_IN_LIST ROW_SELECTOR | ||||
direction | enum | No | enum=[desc] | |
Applies when column.defaultSequence is set | ||||
sortable | boolean | Yes | false | |
Applies when column.type NOT_IN_LIST HIDDEN_COLUMN, ROW_SELECTOR | ||||
sorting {
defaultSequence: "1"
direction: desc
sortable: false
}
exportPrinting
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
includeInExportPrint | boolean | Yes | true | |
Applies when column.type NOT_IN_LIST HIDDEN_COLUMN, ROW_SELECTOR | ||||
printWidth | string | No | maxLen=4000 | |
Applies when column.includeInExportPrint = Y | ||||
exportPrinting {
includeInExportPrint: false
printWidth: unique-id
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
cssClasses | array of strings | No | maxLen=255 | |
Applies when column.type in (TEXT, TEXTAREA, DATE_POPUP, DATE_PICKER, HIDDEN_FIELD, SELECT_LIST, RADIOGROUP, POPUP, POPUPKEY, SIMPLE_CHECKBOX) | ||||
customAttributes | string | No | maxLen=2000 | |
Applies when column.type in (TEXT, TEXTAREA, DATE_POPUP, DATE_PICKER, HIDDEN_FIELD, SELECT_LIST, RADIOGROUP, POPUP, POPUPKEY, SIMPLE_CHECKBOX) | ||||
cellWidth | integer | No | maxLen=32767; min=1 | |
Applies when column.type NOT_IN_LIST HIDDEN_COLUMN, HIDDEN_FIELD | ||||
computeSum | boolean | Yes | false | |
Applies when column.type NOT_IN_LIST HIDDEN_COLUMN, HIDDEN_FIELD, ROW_SELECTOR, DATE_POPUP, DATE_PICKER | ||||
advanced {
cssClasses: [
value1
value2
]
customAttributes: value
cellWidth: 42
computeSum: false
}
uiDefaultsReference
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
tableOwner | string | No | maxLen=32767 | |
Applies when column.derivedColumn = N | ||||
tableName | string | No | maxLen=32767 | |
column | string | No | maxLen=32767 | |
uiDefaultsReference {
tableOwner: value
tableName: value
column: value
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when column.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when column.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when column.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when column.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when column.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when column.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when column.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when column.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when column.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when column.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when column.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when column.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when column.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when column.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when column.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when column.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when column.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when column.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No | ||
escapeSpecialChars | boolean | Yes | true | |
Applies when column.type in (PLAIN, LINK, HIDDEN_COLUMN, PLAIN_LOV) | ||||
security { authorizationScheme:@componentescapeSpecialChars: false }
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
column "example" ( columnName: value reportColumnQueryId: value derivedColumn: value type: rowSelector heading { heading: value alignment: start } lov { type: value lov:@componentsqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` staticValues: ``` value ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` checkboxValues: value displayExtraValues: false displayNullValue: false nullDisplayValue: value nullReturnValue: value } layout { sequence: 42 columnAlignment: start } accessibility { valueIdentifiesRow: false imageDescription: value } appearance { formatMask: useAppDateFormat backgroundColor: value foregroundColor: value barWidth: 42 width: 400 height: 300 viewFileAs: attachment template:@componentdownloadText: value } blobAttributes { tableOwner: value tableName: value blobColumn: value primaryKeyColumn1: value primaryKeyColumn2: value mimeTypeColumn: value filenameColumn: exampleName lastUpdatedColumn: value charSetColumn: value } link { target: value linkText: value linkAttributes: value } element { numberOfColumns: 42 } columnFormatting { htmlExpression: ``` Lorem ipsum dolor sit amet. ``` cssClasses: [ value1 value2 ] cssStyle: [ value1 value2 ] highlightWords: value } default { type: item item: value plsqlExpression: ``` :CARD_LINK is not null ``` } primaryKeySource { type: existingTrigger name: exampleName plsqlExpression: ``` :CARD_LINK is not null ``` } sorting { defaultSequence: "1" direction: desc sortable: false } exportPrinting { includeInExportPrint: false printWidth: unique-id } advanced { cssClasses: [ value1 value2 ] customAttributes: value cellWidth: 42 computeSum: false } uiDefaultsReference { tableOwner: value tableName: value column: value } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@componentescapeSpecialChars: false } config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
column
region.type supports COLUMNS| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
columnName | string | Yes | maxLen=128 | |
show | boolean | Yes | true |
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
dataType | string | Yes | maxLen=255 |
source {
dataType: value
}
heading
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
heading | string | No | maxLen=4000 | |
Applies when region.type supports COLUMN_HEADING and column.show = Y | ||||
alignment | enum | Yes | start | enum=[start, center, end] |
Applies when region.type supports HEADING_ALIGNMENT and column.show = Y | ||||
heading {
heading: value
alignment: start
}
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 | |
columnAlignment | enum | Yes | start | enum=[start, center, end] |
Applies when region.type supports VALUE_ALIGNMENT and column.show = Y | ||||
layout {
sequence: 42
columnAlignment: start
}
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
formatMask | string | No | maxLen=255 | |
Applies when column.dataType in (DATE, TIMESTAMP, TIMESTAMP_TZ, TIMESTAMP_LTZ) | ||||
formatMask | string | No | maxLen=255 | |
Applies when column.dataType = NUMBER | ||||
cssClasses | array of strings | No | maxLen=255 | |
Applies when region.type supports VALUE_CSS and column.show = Y | ||||
appearance {
formatMask: value
cssClasses: [
value1
value2
]
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
customAttributes | string | No | maxLen=2000 | |
Applies when region.type supports VALUE_ATTRIBUTE and column.show = Y | ||||
advanced {
customAttributes: value
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
Applies when column.show = Y | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when column.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when column.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when column.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when column.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when column.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when column.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when column.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when column.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when column.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when column.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when column.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when column.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when column.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when column.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when column.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when column.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when column.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when column.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No | ||
Applies when column.show = Y | ||||
escapeSpecialChars | boolean | Yes | true | |
Applies when region.type supports VALUE_ESCAPE_OUTPUT | ||||
security { authorizationScheme:@componentescapeSpecialChars: false }
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
column "example" ( columnName: value show: false source { dataType: value } heading { heading: value alignment: start } layout { sequence: 42 columnAlignment: start } appearance { formatMask: value cssClasses: [ value1 value2 ] } advanced { customAttributes: value } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@componentescapeSpecialChars: false } config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
column
region.type starts with TMPL_ and region.location is set| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=128 |
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 Enter the display sequence for this column. The sequence setting determines where this column is displayed in relation to other columns within the region. Note: If two columns, within the same region, have the same sequence value then they may be displayed in a different order when the application is exported and imported into another environment, such as a test or production environment. To ensure consistency, Oracle recommends you specify unique sequence numbers for every item, or at least for those within the same region. |
layout {
sequence: 42
}
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | databaseColumn | enum=[databaseColumn, sqlExpression, none] |
databaseColumn | string | Yes | maxLen=128 | |
Applies when column.type = DB_COLUMN | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when column.type = SQL_EXPRESSION | ||||
dataType | enum | Yes | enum=[varchar2, number, date, timestamp, timestampWithTimeZone, timestampWithLocalTimeZone, intervalYearToMonth, intervalDayToSecond, clob, blob, boolean, rowid, bfile, sdoGeometry]; maxLen=128 | |
Applies when column.type NOT_EQUALS NONE | ||||
primaryKey | boolean | Yes | false | |
Applies when column.type = DB_COLUMN and column.dataType NOT_IN_LIST BLOB, CLOB, BFILE, SDO_GEOMETRY | ||||
availableOnClient | boolean | Yes | false | |
Applies when column.primaryKey = N and column.dataType NOT_IN_LIST BLOB, CLOB, BFILE, SDO_GEOMETRY | ||||
valueProtected | boolean | Yes | true | |
Applies when column.availableOnClient = Y | ||||
source {
type: databaseColumn
databaseColumn: value
sqlExpression: ```
upper(:P1_SEARCH)
```
dataType: varchar2
primaryKey: false
availableOnClient: false
valueProtected: false
}
lov
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[sharedComponent, sqlQuery, staticValues, functionBody] | |
Applies when column.dataType NOT_IN_LIST BLOB, CLOB, ROWID, BFILE, SDO_GEOMETRY | ||||
lov | string | Yes | ||
Applies when column.type = SHARED | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000Enter the SQL query definition to populate this list of values. Generally list of value queries are of the form:
select [displayValue],
[returnValue]
from ...
where ...
order by ...
Each column selected must have a unique name or alias. Oracle recommends using an alias on any column that includes an SQL expression. Note: When defining a Popup LOV item type, if you would like to display multiple columns in the popup, you must instead define your List of Values in Shared Components, with the required additional metadata. Inline list of values can only be used to display single columns for Popup LOVs. | |
Applies when column.type = SQL_QUERY | ||||
staticValues | multiline string | Yes | STATIC:Display1;Return1,Display2;Return2 | maxLen=4000 |
Applies when column.type = STATIC | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when column.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when column.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when column.language = JAVASCRIPT | ||||
displayExtraValues | boolean | Yes | true | |
Applies when column.type is set | ||||
lov { type: sharedComponent lov:@componentsqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` staticValues: ``` value ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` displayExtraValues: false }
accessibility
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
valueIdentifiesRow | boolean | Yes | false | |
Applies when componentAppearance.display = REPORT and column.dataType NOT_IN_LIST BLOB, CLOB, BFILE, SDO_GEOMETRY | ||||
accessibility {
valueIdentifiesRow: false
}
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
formatMask | string | No | maxLen=255 | |
Applies when column.dataType in (DATE, TIMESTAMP, TIMESTAMP_TZ, TIMESTAMP_LTZ) | ||||
formatMask | string | No | maxLen=255 | |
Applies when column.dataType = NUMBER | ||||
group | boolean | Yes | false | |
Applies when region.type supports SUPPORTS_GROUPS and column.dataType in (VARCHAR2, NUMBER, DATE, TIMESTAMP, TIMESTAMP_TZ, TIMESTAMP_LTZ, INTERVAL_Y2M) and column.type in (DB_COLUMN, SQL_EXPRESSION) | ||||
appearance {
formatMask: value
group: false
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when column.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when column.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when column.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when column.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when column.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when column.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when column.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when column.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when column.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when column.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when column.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when column.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when column.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when column.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when column.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when column.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when column.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when column.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No |
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
column "example" ( name: exampleName layout { sequence: 42 } source { type: databaseColumn databaseColumn: value sqlExpression: ``` upper(:P1_SEARCH) ``` dataType: varchar2 primaryKey: false availableOnClient: false valueProtected: false } lov { type: sharedComponent lov:@componentsqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` staticValues: ``` value ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` displayExtraValues: false } accessibility { valueIdentifiesRow: false } appearance { formatMask: value group: false } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@component} config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
column
region.type = interactiveGrid| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
columnName | string | Yes | maxLen=128 | |
type | enum | Yes | enum=[actionsMenu, checkbox, checkboxGroup, htmlExpression, link, plugin/<pluginName>, radioGroup, rowSelector, selectList]Select how this column is rendered. The following column types are supported: Depending on your application configuration, you may also have additional column type plug-ins available here. These display as <My Plug-in> [Plug-in]. The following plug-ins are installed in this application's shared components: |
heading
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
heading | string | No | maxLen=4000 Enter the report column heading text. For a hidden column,
the header text will only be used when the report is exported to CSV or printed. | |
alignment | enum | Yes | start | enum=[start, center, end] |
Applies when column.type supports VISIBLE | ||||
alternativeLabel | string | No | maxLen=4000 | |
Applies when column.type supports VISIBLE | ||||
heading {
heading: value
alignment: start
alternativeLabel: value
}
lov
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | enum=[sharedComponent, sqlQuery, staticValues, functionBody] | |
Applies when column.type supports LOV | ||||
lov | string | Yes | ||
Applies when column.type = SHARED | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000Enter the SQL query definition to populate this list of values. Generally list of value queries are of the form:
select [displayValue],
[returnValue]
from ...
where ...
order by ...
Each column selected must have a unique name or alias. Oracle recommends using an alias on any column that includes an SQL expression. Note: When defining a Popup LOV item type, if you would like to display multiple columns in the popup, you must instead define your List of Values in Shared Components, with the required additional metadata. Inline list of values can only be used to display single columns for Popup LOVs. | |
Applies when column.type = SQL_QUERY | ||||
staticValues | multiline string | Yes | STATIC:Display1;Return1,Display2;Return2 | maxLen=4000 |
Applies when column.type = STATIC | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when column.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when column.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when column.language = JAVASCRIPT | ||||
displayExtraValues | boolean | Yes | true | |
Applies when column.type is set and column.type NOT_IN_LIST combobox, selectOne, selectMany | ||||
displayNullValue | boolean | Yes | true | |
Applies when column.type supports LOV_DISPLAY_NULL and column.type is set | ||||
nullDisplayValue | string | No | maxLen=255 | |
Applies when column.displayNullValue = Y | ||||
nullReturnValue | string | No | maxLen=255 | |
Applies when column.displayNullValue = Y | ||||
lov { type: sharedComponent lov:@componentsqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` staticValues: ``` value ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` displayExtraValues: false displayNullValue: false nullDisplayValue: value nullReturnValue: value }
cascadingLov
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
parentColumns | array of strings | No | maxLen=255 | |
Applies when column.type supports CASCADING_LOV and column.type is set and column.type NOT_EQUALS STATIC | ||||
itemsToSubmit | array of strings | No | maxLen=4000 | |
Applies when column.parentColumns is set | ||||
parentRequired | boolean | Yes | true | |
Applies when column.parentColumns is set | ||||
cascadingLov {
parentColumns: [
value1
value2
]
itemsToSubmit: [
value1
value2
]
parentRequired: false
}
multipleValues
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | delimitedList | enum=[delimitedList, jsonArray] |
Applies when column.type supports MULTI_VALUE_ALWAYS and column.type NOT_IN_LIST selectList | ||||
type | enum | No | enum=[delimitedList, jsonArray] | |
Applies when column.type supports MULTI_VALUE_OPTIONAL and column.type NOT_IN_LIST selectList | ||||
separator | string | Yes | : | maxLen=5; regex=/^(?!\\$)(?!\"$)(?:(?!\\005[Cc]|\\0022|").)*$/ |
Applies when column.type = SEPARATED or column.type = SEPARATED | ||||
multipleValues {
type: delimitedList
separator: value
}
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 Enter the display sequence for this column. The sequence setting determines where this column is displayed in relation to other columns within the region. Note: If two columns, within the same region, have the same sequence value then they may be displayed in a different order when the application is exported and imported into another environment, such as a test or production environment. To ensure consistency, Oracle recommends you specify unique sequence numbers for every item, or at least for those within the same region. | |
columnAlignment | enum | Yes | start | enum=[start, center, end] |
Applies when column.type supports VISIBLE | ||||
group | string | No | ||
Applies when column.type supports VISIBLE | ||||
useGroupFor | enum | Yes | both | enum=[both, singleRowView, heading] |
Applies when column.group is set | ||||
stretch | enum | No | enum=[never, always] | |
Applies when column.type supports VISIBLE | ||||
layout { sequence: 42 columnAlignment: start group:@componentuseGroupFor: both stretch: never }
accessibility
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
valueIdentifiesRow | boolean | Yes | false | |
Applies when column.type supports SOURCE and column.type NOT_IN_LIST markdownEditor, password, percentGraph, richTextEditor | ||||
accessibility {
valueIdentifiesRow: false
}
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
cssClasses | array of strings | No | maxLen=255 Enter classes to add to this component. You may add multiple classes by separating them with spaces. Note: These CSS classes will be applied to the cells in the Interactive Grid. To apply CSS classes to the corresponding item, please see the CSS Classes property under the Advanced group. | |
Applies when column.type supports VISIBLE | ||||
icon | string | No | maxLen=255 Enter the classes for the icon you want to add to the component. You may add multiple classes by separating them with spaces. If your theme uses Font APEX then review the Universal Theme Sample Application to view available icons and modifiers. Note: This icon will be displayed inside of the item, not as part of the label. | |
Applies when column.type supports ICON | ||||
formatMask | string | No | maxLen=255 | |
Applies when column.type supports FORMAT_MASK_ALL | ||||
formatMask | string | No | maxLen=255 | |
Applies when column.type supports FORMAT_MASK_DATE | ||||
formatMask | string | No | maxLen=255 | |
Applies when column.type supports FORMAT_MASK_NUMBER | ||||
width | number | No | maxLen=22 | |
Applies when column.type supports WIDTH | ||||
height | number | No | maxLen=22 | |
Applies when column.type supports HEIGHT | ||||
valuePlaceholder | string | No | maxLen=255 | |
Applies when column.type supports PLACEHOLDER | ||||
appearance {
cssClasses: [
value1
value2
]
icon: fa-check
formatMask: value
width: 400
height: 300
valuePlaceholder: value
}
validation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
valueRequired | boolean | Yes | false | |
Applies when column.type supports SESSION_STATE | ||||
maxLength | number | No | maxLen=22 | |
Applies when column.type supports WIDTH | ||||
validation {
valueRequired: false
maxLength: 5
}
link
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
target | complex | No | maxLen=32767 | |
Applies when column.type supports LINK | ||||
linkText | string | No | maxLen=4000 | |
Applies when column.target is set and column.type NOT_EQUALS htmlExpression | ||||
linkAttributes | string | No | maxLen=4000 | |
Applies when column.target is set | ||||
link {
target: value
linkText: value
linkAttributes: value
}
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | databaseColumn | enum=[databaseColumn, sqlExpression, none] |
Applies when column.type supports SOURCE | ||||
databaseColumn | string | Yes | maxLen=128 | |
Applies when column.type = DB_COLUMN | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when column.type = SQL_EXPRESSION | ||||
dataType | enum | Yes | enum=[varchar2, number, date, timestamp, timestampWithTimeZone, timestampWithLocalTimeZone, intervalYearToMonth, intervalDayToSecond, clob, blob, boolean, rowid, bfile, sdoGeometry]; maxLen=128 | |
Applies when column.type in (DB_COLUMN, SQL_EXPRESSION) | ||||
queryOnly | boolean | Yes | false | |
Applies when column.type = DB_COLUMN and column.dataType NOT_EQUALS ROWID | ||||
primaryKey | boolean | Yes | false | |
Applies when column.type = DB_COLUMN | ||||
source {
type: databaseColumn
databaseColumn: value
sqlExpression: ```
upper(:P1_SEARCH)
```
dataType: varchar2
queryOnly: false
primaryKey: false
}
masterDetail
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
masterColumn | string | No | ||
Applies when column.type = DB_COLUMN and column.dataType in (VARCHAR2, NUMBER, DATE, TIMESTAMP, TIMESTAMP_TZ, TIMESTAMP_LTZ) | ||||
masterDetail { masterColumn:@component}
default
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[static, item, sqlQuerySingleValue, sqlQueryMultipleValues, expression, functionBody, sequence] | |
Applies when column.type supports SOURCE and column.masterColumn NULL or not set | ||||
staticValue | multiline string | Yes | maxLen=4000 | |
Applies when column.type = STATIC | ||||
item | string | Yes | maxLen=32767 | |
Applies when column.type = ITEM | ||||
sqlQuerySingleValue | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when column.type = SQL_QUERY | ||||
sqlQueryMultipleValues | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when column.type = SQL_QUERY_COLON | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when column.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when column.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when column.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when column.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when column.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when column.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when column.language = JAVASCRIPT | ||||
sequence | string | Yes | maxLen=128 | |
Applies when column.type = SEQUENCE | ||||
duplicateCopiesExistingValue | boolean | Yes | true | |
Applies when column.type supports SOURCE and column.queryOnly = N and column.masterColumn NULL or not set | ||||
default {
type: static
staticValue: ```
Lorem ipsum dolor sit amet.
```
item: value
sqlQuerySingleValue: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
sqlQueryMultipleValues: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
sequence: value
duplicateCopiesExistingValue: false
}
sessionState
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
dataType | enum | Yes | varchar2 | enum=[varchar2, clob, boolean]; maxLen=128 |
sessionState {
dataType: varchar2
}
columnFilter
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
enabled | boolean | Yes | true | |
Applies when column.type supports FILTER and column.type NOT_EQUALS NONE and column.parentColumns NULL or not set | ||||
performanceImpactingOperators | array of enums | No | enum=[contains, startsWith, caseInsensitive, regexp] | |
Applies when column.enabled = Y and condition matches | ||||
textCase | enum | Yes | mixed | enum=[upper, lower, mixed] |
Applies when column.enabled = Y and condition matches | ||||
lovType | enum | Yes | distinctColumn | enum=[none, distinctColumn, sqlQuery, sharedComponent, staticValues, functionBody, useLov] |
Applies when column.enabled = Y | ||||
dateRanges | enum | Yes | all | enum=[all, past, future] |
Applies when column.lovType = DISTINCT and condition matches | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when column.lovType = SQL_QUERY | ||||
namedLov | string | Yes | ||
Applies when column.lovType = SHARED | ||||
staticValues | multiline string | Yes | maxLen=4000 | |
Applies when column.lovType = STATIC | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when column.lovType = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when column.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when column.language = JAVASCRIPT | ||||
exactMatch | boolean | Yes | true | |
Applies when column.lovType NOT_EQUALS NONE and condition matches | ||||
columnFilter { enabled: false performanceImpactingOperators: [ contains startsWith ] textCase: upper lovType: none dateRanges: all sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` namedLov:@componentstaticValues: ``` Lorem ipsum dolor sit amet. ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` exactMatch: false }
exportPrinting
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
includeInExportPrint | boolean | Yes | true | |
Applies when column.type supports SOURCE and column.type NOT_EQUALS NONE | ||||
exportPrinting {
includeInExportPrint: false
}
enableUsersTo
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sort | boolean | Yes | true | |
Applies when column.type NOT_EQUALS NONE and column.dataType in (VARCHAR2, NUMBER, DATE, TIMESTAMP, TIMESTAMP_TZ, TIMESTAMP_LTZ, INTERVAL_D2S, INTERVAL_Y2M) and column.parentColumns NULL or not set and column.type supports VISIBLE and column.type supports SOURCE | ||||
controlBreakAggregate | boolean | Yes | true | |
Applies when column.sort = Y | ||||
hide | boolean | Yes | true | |
Applies when column.type supports VISIBLE | ||||
enableUsersTo {
sort: false
controlBreakAggregate: false
hide: false
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
htmlDomId | string | No | maxLen=255; regex=/^[^:/,+?^'"
]+$/Enter the DOM ID for the column. The DOM ID can be useful when developing custom JavaScript behavior, or custom style for the column item. If the DOM ID is not defined, an internal ID is used for the column item ID. | |
Applies when column.type NOT_EQUALS rowSelector | ||||
cssClasses | array of strings | No | maxLen=255 Enter classes to add to this component. You may add multiple classes by separating them with spaces. Note: This property can be used to make style modifications to the corresponding item when the Interactive Grid is editable. | |
Applies when column.type supports ELEMENT | ||||
customAttributes | string | No | maxLen=2000 Enter additional attributes to be included in the form element HTML tag. The size and id HTML attributes are generated and therefore should not be supplied. For the class HTML attribute it is better to use the dedicated CSS Classes attribute instead. | |
Applies when column.type supports ELEMENT | ||||
columnInitJavaScriptFunction | multiline string | No | language=javascript-browser; maxLen=4000Enter a JavaScript function that takes a configuration object for the column, modifies the object, and returns it. This allows advanced customization of the column appearance, features, and behavior. | |
Applies when column.type NOT_EQUALS rowSelector | ||||
initJavaScriptFunction | multiline string | No | language=javascript-browser; maxLen=4000 | |
Applies when column.type supports INIT_JAVASCRIPT_CODE | ||||
advanced {
htmlDomId: value
cssClasses: [
value1
value2
]
customAttributes: value
columnInitJavaScriptFunction: ```
apex.message.alert( "Load complete." );
```
initJavaScriptFunction: ```
apex.message.alert( "Load complete." );
```
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when column.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when column.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when column.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when column.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when column.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when column.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when column.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when column.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when column.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when column.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when column.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when column.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when column.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when column.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when column.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when column.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when column.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when column.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
readOnly
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never]Select a condition type that must be met in order for this component to render as read-only. Not selecting a condition causes the item to render normally. A read-only item is rendered with the same settings as a Display Only item. Note: Set the condition type to Never to always render the item as an enterable field. This setting overwrites any read-only condition setting on the region or page level. | |
Applies when column.type supports READONLY | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when column.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when column.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when column.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when column.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when column.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when column.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when column.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when column.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when column.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when column.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when column.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when column.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when column.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when column.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when column.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when column.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when column.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when column.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
execute | enum | Yes | once | enum=[forEachRow, once] |
Applies when column.type is set and column.type NOT_EQUALS NEVER | ||||
readOnly {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
execute: forEachRow
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No | ||
escapeSpecialChars | boolean | Yes | true | |
Applies when column.type supports ESCAPE_OUTPUT | ||||
security { authorizationScheme:@componentescapeSpecialChars: false }
help
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
helpText | multiline string | No | language=html; maxLen=4000Enter help text for this column. | |
Applies when column.type supports VISIBLE | ||||
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
column "example" ( columnName: value type: staticContent heading { heading: value alignment: start alternativeLabel: value } lov { type: sharedComponent lov:@componentsqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` staticValues: ``` value ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` displayExtraValues: false displayNullValue: false nullDisplayValue: value nullReturnValue: value } cascadingLov { parentColumns: [ value1 value2 ] itemsToSubmit: [ value1 value2 ] parentRequired: false } multipleValues { type: delimitedList separator: value } layout { sequence: 42 columnAlignment: start group:@componentuseGroupFor: both stretch: never } accessibility { valueIdentifiesRow: false } appearance { cssClasses: [ value1 value2 ] icon: fa-check formatMask: value width: 400 height: 300 valuePlaceholder: value } validation { valueRequired: false maxLength: 5 } link { target: value linkText: value linkAttributes: value } source { type: databaseColumn databaseColumn: value sqlExpression: ``` upper(:P1_SEARCH) ``` dataType: varchar2 queryOnly: false primaryKey: false } masterDetail { masterColumn:@component} default { type: static staticValue: ``` Lorem ipsum dolor sit amet. ``` item: value sqlQuerySingleValue: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` sqlQueryMultipleValues: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` sequence: value duplicateCopiesExistingValue: false } sessionState { dataType: varchar2 } columnFilter { enabled: false performanceImpactingOperators: [ contains startsWith ] textCase: upper lovType: none dateRanges: all sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` namedLov:@componentstaticValues: ``` Lorem ipsum dolor sit amet. ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` exactMatch: false } exportPrinting { includeInExportPrint: false } enableUsersTo { sort: false controlBreakAggregate: false hide: false } advanced { htmlDomId: value cssClasses: [ value1 value2 ] customAttributes: value columnInitJavaScriptFunction: ``` apex.message.alert( "Load complete." ); ``` initJavaScriptFunction: ``` apex.message.alert( "Load complete." ); ``` } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } readOnly { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] execute: forEachRow } security { authorizationScheme:@componentescapeSpecialChars: false } help { helpText: ``` Lorem ipsum dolor sit amet. ``` } config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
columnGroup
region.type = interactiveReport| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 Enter the name of the column group. This name displays as a region header in the detailed view. |
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 Enter the display sequence for this column group. The sequence determines the order in which the column groups display in the detail view. |
layout {
sequence: 42
}
description
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
description | multiline string | No | maxLen=4000 Enter a description for the column group. This description never displays to end users. |
description {
description: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
APEXlang Example
columnGroup "example" (
name: exampleName
layout {
sequence: 42
}
description {
description: ```
Lorem ipsum dolor sit amet.
```
}
advanced {
staticId: value
}
)
columnGroup
region.type = interactiveGridheading
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
heading | string | Yes | maxLen=4000 Enter the group heading text. | |
alternativeLabel | string | No | maxLen=4000 |
heading {
heading: value
alternativeLabel: value
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
APEXlang Example
columnGroup "example" (
heading {
heading: value
alternativeLabel: value
}
advanced {
staticId: value
}
)
facet
region.type = facetedSearch| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | P#PAGE_ID#_NEW | maxLen=255 |
type | enum | Yes | enum=[checkboxGroup, inputField, plugin/<pluginName>, radioGroup, range, search, selectList] |
label
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
label | string | No | maxLen=4000 Enter the label for the facet. The label displays on the page only if the facet displays. The label for type Search is visually hidden, but available to assistive technology. | |
Applies when facet.type supports VISIBLE | ||||
showLabelForCurrentFacet | boolean | Yes | true | |
Applies when facet.type supports VISIBLE and facet.type NOT_EQUALS search | ||||
label {
label: label
showLabelForCurrentFacet: false
}
lov
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | string | Yes | ||
Applies when facet.type supports LOV | ||||
lov | string | Yes | ||
Applies when facet.type = SHARED | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000Enter the SQL query definition to populate this list of values. Generally list of value queries are of the form:
select [displayValue],
[returnValue]
from ...
where ...
order by ...
Each column selected must have a unique name or alias. Oracle recommends using an alias on any column that includes an SQL expression. Note: When defining a Popup LOV item type, if you would like to display multiple columns in the popup, you must instead define your List of Values in Shared Components, with the required additional metadata. Inline list of values can only be used to display single columns for Popup LOVs. | |
Applies when facet.type = SQL_QUERY | ||||
staticValues | multiline string | Yes | STATIC:Display1;Return1,Display2;Return2 | maxLen=4000 |
Applies when facet.type = STATIC | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when facet.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when facet.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when facet.language = JAVASCRIPT | ||||
sortDirection | enum | Yes | asc | enum=[asc, desc] |
Applies when facet.type = DISTINCT | ||||
includeNullOption | boolean | Yes | false | |
Applies when facet.type supports FC_LOV_DISPLAY_NULL and facet.type is set | ||||
nullDisplayValue | string | Yes | maxLen=255 Enter the text to be displayed within the list NULL option at the top of this list. | |
Applies when facet.includeNullOption = Y | ||||
lov { type: value lov:@componentsqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` staticValues: ``` value ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` sortDirection: asc includeNullOption: false nullDisplayValue: value }
cascadingLov
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
parentFacet | string | No | maxLen=32767 | |
Applies when facet.type = SHARED | ||||
lovColumn | string | Yes | maxLen=128 | |
Applies when facet.parentFacet is set | ||||
parentRequired | boolean | Yes | true | |
Applies when facet.parentFacet is set | ||||
cascadingLov {
parentFacet: value
lovColumn: value
parentRequired: false
}
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 | |
maxHeight | integer | No | maxLen=32767; min=1 | |
Applies when facet.type NOT_IN_LIST search, input | ||||
layout {
sequence: 42
maxHeight: 5
}
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
valuePlaceholder | string | No | maxLen=255 | |
Applies when facet.type supports PLACEHOLDER | ||||
icon | string | No | maxLen=255 Enter the classes for the icon you want to use to identify this facet. You may add multiple classes by separating them with spaces. If your theme uses Font APEX then review the Universal Theme Sample Application to view available icons and modifiers. | |
Applies when facet.type NOT_EQUALS search | ||||
display | enum | Yes | inline | enum=[inline, addFilterDialog] |
Applies when facet.type NOT_EQUALS search | ||||
formatMask | string | No | maxLen=255 | |
Applies when facet.type supports FORMAT_MASK_DATE and facet.dataType in (DATE, TIMESTAMP, TIMESTAMP_TZ, TIMESTAMP_LTZ) | ||||
appearance {
valuePlaceholder: value
icon: fa-check
display: inline
formatMask: value
}
listEntries
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
computeCounts | boolean | Yes | true | |
Applies when facet.type supports FC_HAS_FEEDBACK | ||||
showCounts | boolean | Yes | true | |
Applies when facet.computeCounts = Y | ||||
zeroCountEntries | enum | Yes | hide | enum=[hide, disable, showLast] |
Applies when facet.computeCounts = Y | ||||
sortByTopCounts | boolean | Yes | true | |
Applies when facet.showCounts = Y and facet.type in (checkbox, radioGroup) | ||||
showSelectedFirst | boolean | Yes | false | |
Applies when facet.type supports FC_SHOW_SELECTED_FIRST and facet.type is set | ||||
maxDisplayedEntries | integer | No | maxLen=32767; min=1 | |
Applies when facet.type supports FC_SHOW_MORE_COUNT and facet.type is set | ||||
allowToExclude | boolean | Yes | false | |
Applies when facet.type in (checkbox, radioGroup, range) | ||||
displayFilterInitially | boolean | Yes | false | |
Applies when facet.type supports FC_FILTER_VALUES and facet.type is set | ||||
listEntries {
computeCounts: false
showCounts: false
zeroCountEntries: hide
sortByTopCounts: false
showSelectedFirst: false
maxDisplayedEntries: 5
allowToExclude: false
displayFilterInitially: false
}
actionsMenu
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
filter | boolean | Yes | true | |
Applies when facet.type supports FC_FILTER_VALUES and facet.type is set and facet.display = INLINE | ||||
chart | boolean | Yes | true | |
Applies when facet.computeCounts = Y and facet.type is set | ||||
actionsMenu {
filter: false
chart: false
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
showChartInitially | boolean | Yes | false | |
Applies when facet.chart = Y and facet.display = INLINE | ||||
collapsible | boolean | Yes | false | |
Applies when facet.type NOT_EQUALS search and facet.display = INLINE | ||||
initiallyCollapsed | boolean | Yes | false | |
Applies when facet.collapsible = Y | ||||
cssClasses | array of strings | No | maxLen=255 Enter classes to add to this facet. You may add multiple classes by separating them with spaces. | |
Applies when facet.type NOT_EQUALS search and facet.display = INLINE | ||||
advanced {
showChartInitially: false
collapsible: false
initiallyCollapsed: false
cssClasses: [
value1
value2
]
}
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
databaseColumn | string | Yes | maxLen=128 Enter the case sensitive database column name used as the source for this facet. | |
Applies when facet.type NOT_EQUALS search | ||||
dbColumns | string | No | maxLen=4000 | |
Applies when facet.type = search | ||||
dataType | enum | Yes | varchar2 | enum=[varchar2, number, date, timestamp, timestampWithTimeZone, timestampWithLocalTimeZone, intervalYearToMonth, intervalDayToSecond, clob, blob, boolean, rowid, bfile, sdoGeometry]; maxLen=128 |
Applies when facet.type NOT_EQUALS search | ||||
source {
databaseColumn: value
dbColumns: value
dataType: varchar2
}
multipleValues
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[delimitedList, jsonArray] | |
Applies when facet.type in (checkbox, radioGroup, selectList) | ||||
separator | string | Yes | : | maxLen=5; regex=/^(?:[^\\"]|\\[nt]|\\(?!005[Cc]|0022)[0-9ABCDEFabcdef]{4})$/ |
Applies when facet.type = SEPARATED | ||||
trimWhitespace | boolean | Yes | false | |
Applies when facet.type = SEPARATED | ||||
filterCombination | enum | Yes | or | enum=[or, and] |
Applies when facet.type is set | ||||
multipleValues {
type: delimitedList
separator: value
trimWhitespace: false
filterCombination: or
}
default
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[static, item, sqlQuerySingleValue, sqlQueryMultipleValues, expression, functionBody, sequence] | |
Applies when facet.type supports SOURCE | ||||
staticValue | multiline string | Yes | maxLen=4000 | |
Applies when facet.type = STATIC_TEXT_WITH_SUBSTITUTIONS | ||||
item | string | Yes | maxLen=32767 | |
Applies when facet.type = ITEM | ||||
sqlQuerySingleValue | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when facet.type = SQL_QUERY | ||||
sqlQueryMultipleValues | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when facet.type = SQL_QUERY_COLON | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when facet.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when facet.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when facet.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when facet.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when facet.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when facet.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when facet.language = JAVASCRIPT | ||||
sequence | string | Yes | maxLen=128 | |
Applies when facet.type = SEQUENCE | ||||
default {
type: static
staticValue: ```
Lorem ipsum dolor sit amet.
```
item: value
sqlQuerySingleValue: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
sqlQueryMultipleValues: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
sequence: value
}
dependingOn
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
facet | string | No | ||
Applies when facet.type NOT_EQUALS search | ||||
type | enum | Yes | isNotNull | enum=[=, !=, inList, notInList, isNull, isNotNull] |
Applies when facet.facet is set | ||||
value | string | Yes | maxLen=4000 | |
Applies when facet.type in (EQUALS, NOT_EQUALS) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when facet.type in (IN_LIST, NOT_IN_LIST) | ||||
dependingOn { facet:@componenttype: "=" value: value list: [ value1 value2 ] }
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when facet.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when facet.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when facet.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when facet.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when facet.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when facet.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when facet.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when facet.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when facet.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when facet.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when facet.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when facet.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when facet.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when facet.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when facet.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when facet.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when facet.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when facet.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No | ||
encryptSessionState | boolean | Yes | true | |
Applies when facet.type supports ENCRYPT | ||||
escapeSpecialChars | boolean | Yes | true | |
Applies when facet.type supports ESCAPE_OUTPUT | ||||
security { authorizationScheme:@componentencryptSessionState: false escapeSpecialChars: false }
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
facet "example" ( name: exampleName type: staticContent label { label: label showLabelForCurrentFacet: false } lov { type: value lov:@componentsqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` staticValues: ``` value ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` sortDirection: asc includeNullOption: false nullDisplayValue: value } cascadingLov { parentFacet: value lovColumn: value parentRequired: false } layout { sequence: 42 maxHeight: 5 } appearance { valuePlaceholder: value icon: fa-check display: inline formatMask: value } listEntries { computeCounts: false showCounts: false zeroCountEntries: hide sortByTopCounts: false showSelectedFirst: false maxDisplayedEntries: 5 allowToExclude: false displayFilterInitially: false } actionsMenu { filter: false chart: false } advanced { showChartInitially: false collapsible: false initiallyCollapsed: false cssClasses: [ value1 value2 ] } source { databaseColumn: value dbColumns: value dataType: varchar2 } multipleValues { type: delimitedList separator: value trimWhitespace: false filterCombination: or } default { type: static staticValue: ``` Lorem ipsum dolor sit amet. ``` item: value sqlQuerySingleValue: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` sqlQueryMultipleValues: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` sequence: value } dependingOn { facet:@componenttype: "=" value: value list: [ value1 value2 ] } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@componentencryptSessionState: false escapeSpecialChars: false } config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
facetGroup
region.type = facetedSearchlabel
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
label | string | Yes | maxLen=4000 ~Enter the label of the facet group.~ |
label {
label: label
}
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 | |
maxHeight | integer | No | maxLen=32767; min=1 |
layout {
sequence: 42
maxHeight: 5
}
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
icon | string | No | maxLen=255 Enter the classes for the icon you want to use to identify this facet. You may add multiple classes by separating them with spaces. If your theme uses Font APEX then review the Universal Theme Sample Application to view available icons and modifiers. | |
display | enum | Yes | inline | enum=[inline, addFilterDialog] |
appearance {
icon: fa-check
display: inline
}
listEntries
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
computeCounts | boolean | Yes | true | |
showCounts | boolean | Yes | true | |
Applies when facetGroup.computeCounts = Y | ||||
zeroCountEntries | enum | Yes | hide | enum=[hide, disable, showLast] |
Applies when facetGroup.computeCounts = Y | ||||
sortByTopCounts | boolean | Yes | true | |
Applies when facetGroup.showCounts = Y | ||||
showSelectedFirst | boolean | Yes | false | |
maxDisplayedEntries | integer | No | maxLen=32767; min=1 | |
listEntries {
computeCounts: false
showCounts: false
zeroCountEntries: hide
sortByTopCounts: false
showSelectedFirst: false
maxDisplayedEntries: 5
}
actionsMenu
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
chart | boolean | Yes | true | |
Applies when facetGroup.computeCounts = Y and facetGroup.display = INLINE | ||||
actionsMenu {
chart: false
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
showChartInitially | boolean | Yes | false | |
Applies when facetGroup.chart = Y and facetGroup.display = INLINE | ||||
collapsible | boolean | Yes | false | |
Applies when facetGroup.display = INLINE | ||||
initiallyCollapsed | boolean | Yes | false | |
Applies when facetGroup.collapsible = Y | ||||
cssClasses | array of strings | No | maxLen=255 Enter classes to add to this facet group. You may add multiple classes by separating them with spaces. | |
Applies when facetGroup.display = INLINE | ||||
staticId | string | Yes | maxLen=255 | |
combineFilters | enum | Yes | or | enum=[or, and] |
advanced {
showChartInitially: false
collapsible: false
initiallyCollapsed: false
cssClasses: [
value1
value2
]
staticId: value
combineFilters: or
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when facetGroup.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when facetGroup.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when facetGroup.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when facetGroup.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when facetGroup.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when facetGroup.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when facetGroup.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when facetGroup.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when facetGroup.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when facetGroup.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when facetGroup.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when facetGroup.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when facetGroup.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when facetGroup.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when facetGroup.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when facetGroup.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when facetGroup.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when facetGroup.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No |
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
facetGroup "example" ( label { label: label } layout { sequence: 42 maxHeight: 5 } appearance { icon: fa-check display: inline } listEntries { computeCounts: false showCounts: false zeroCountEntries: hide sortByTopCounts: false showSelectedFirst: false maxDisplayedEntries: 5 } actionsMenu { chart: false } advanced { showChartInitially: false collapsible: false initiallyCollapsed: false cssClasses: [ value1 value2 ] staticId: value combineFilters: or } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@component} config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
checkbox
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | P#PAGE_ID#_NEW | maxLen=255 |
type | enum | Yes | enum=[checkbox, plugin/<pluginName>] |
label
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
label | string | No | maxLen=4000 Enter the label for the facet. The label displays on the page only if the facet displays. The label for type Search is visually hidden, but available to assistive technology. | |
Applies when checkbox.type supports VISIBLE | ||||
showLabelForCurrentFacet | boolean | Yes | true | |
Applies when checkbox.type supports VISIBLE and checkbox.type NOT_EQUALS search | ||||
label {
label: label
showLabelForCurrentFacet: false
}
lov
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | string | Yes | ||
Applies when checkbox.type supports LOV | ||||
lov | string | Yes | ||
Applies when checkbox.type = SHARED | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000Enter the SQL query definition to populate this list of values. Generally list of value queries are of the form:
select [displayValue],
[returnValue]
from ...
where ...
order by ...
Each column selected must have a unique name or alias. Oracle recommends using an alias on any column that includes an SQL expression. Note: When defining a Popup LOV item type, if you would like to display multiple columns in the popup, you must instead define your List of Values in Shared Components, with the required additional metadata. Inline list of values can only be used to display single columns for Popup LOVs. | |
Applies when checkbox.type = SQL_QUERY | ||||
staticValues | multiline string | Yes | STATIC:Display1;Return1,Display2;Return2 | maxLen=4000 |
Applies when checkbox.type = STATIC | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when checkbox.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when checkbox.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when checkbox.language = JAVASCRIPT | ||||
sortDirection | enum | Yes | asc | enum=[asc, desc] |
Applies when checkbox.type = DISTINCT | ||||
includeNullOption | boolean | Yes | false | |
Applies when checkbox.type supports FC_LOV_DISPLAY_NULL and checkbox.type is set | ||||
nullDisplayValue | string | Yes | maxLen=255 Enter the text to be displayed within the list NULL option at the top of this list. | |
Applies when checkbox.includeNullOption = Y | ||||
lov { type: value lov:@componentsqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` staticValues: ``` value ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` sortDirection: asc includeNullOption: false nullDisplayValue: value }
cascadingLov
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
parentFacet | string | No | maxLen=32767 | |
Applies when checkbox.type = SHARED | ||||
lovColumn | string | Yes | maxLen=128 | |
Applies when checkbox.parentFacet is set | ||||
parentRequired | boolean | Yes | true | |
Applies when checkbox.parentFacet is set | ||||
cascadingLov {
parentFacet: value
lovColumn: value
parentRequired: false
}
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 | |
facetGroup | string | Yes |
layout { sequence: 42 facetGroup:@component}
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
valuePlaceholder | string | No | maxLen=255 | |
Applies when checkbox.type supports PLACEHOLDER | ||||
icon | string | No | maxLen=255 Enter the classes for the icon you want to use to identify this facet. You may add multiple classes by separating them with spaces. If your theme uses Font APEX then review the Universal Theme Sample Application to view available icons and modifiers. | |
Applies when checkbox.type NOT_EQUALS search | ||||
formatMask | string | No | maxLen=255 | |
Applies when checkbox.type supports FORMAT_MASK_DATE and checkbox.dataType in (DATE, TIMESTAMP, TIMESTAMP_TZ, TIMESTAMP_LTZ) | ||||
appearance {
valuePlaceholder: value
icon: fa-check
formatMask: value
}
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
databaseColumn | string | Yes | maxLen=128 Enter the case sensitive database column name used as the source for this facet. | |
Applies when checkbox.type NOT_EQUALS search | ||||
dataType | enum | Yes | varchar2 | enum=[varchar2, number, date, timestamp, timestampWithTimeZone, timestampWithLocalTimeZone, intervalYearToMonth, intervalDayToSecond, clob, blob, boolean, rowid, bfile, sdoGeometry]; maxLen=128 |
Applies when checkbox.type NOT_EQUALS search | ||||
source {
databaseColumn: value
dataType: varchar2
}
default
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[static, item, sqlQuerySingleValue, sqlQueryMultipleValues, expression, functionBody, sequence] | |
Applies when checkbox.type supports SOURCE | ||||
staticValue | multiline string | Yes | maxLen=4000 | |
Applies when checkbox.type = STATIC_TEXT_WITH_SUBSTITUTIONS | ||||
item | string | Yes | maxLen=32767 | |
Applies when checkbox.type = ITEM | ||||
sqlQuerySingleValue | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when checkbox.type = SQL_QUERY | ||||
sqlQueryMultipleValues | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when checkbox.type = SQL_QUERY_COLON | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when checkbox.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when checkbox.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when checkbox.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when checkbox.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when checkbox.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when checkbox.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when checkbox.language = JAVASCRIPT | ||||
sequence | string | Yes | maxLen=128 | |
Applies when checkbox.type = SEQUENCE | ||||
default {
type: static
staticValue: ```
Lorem ipsum dolor sit amet.
```
item: value
sqlQuerySingleValue: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
sqlQueryMultipleValues: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
sequence: value
}
dependingOn
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
checkbox | string | No | ||
Applies when checkbox.type NOT_EQUALS search | ||||
type | enum | Yes | isNotNull | enum=[=, !=, inList, notInList, isNull, isNotNull] |
Applies when checkbox.checkbox is set | ||||
value | string | Yes | maxLen=4000 | |
Applies when checkbox.type in (EQUALS, NOT_EQUALS) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when checkbox.type in (IN_LIST, NOT_IN_LIST) | ||||
dependingOn { checkbox:@componenttype: "=" value: value list: [ value1 value2 ] }
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when checkbox.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when checkbox.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when checkbox.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when checkbox.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when checkbox.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when checkbox.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when checkbox.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when checkbox.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when checkbox.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when checkbox.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when checkbox.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when checkbox.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when checkbox.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when checkbox.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when checkbox.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when checkbox.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when checkbox.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when checkbox.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No | ||
encryptSessionState | boolean | Yes | true | |
Applies when checkbox.type supports ENCRYPT | ||||
escapeSpecialChars | boolean | Yes | true | |
Applies when checkbox.type supports ESCAPE_OUTPUT | ||||
security { authorizationScheme:@componentencryptSessionState: false escapeSpecialChars: false }
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
checkbox "example" ( name: exampleName type: staticContent label { label: label showLabelForCurrentFacet: false } lov { type: value lov:@componentsqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` staticValues: ``` value ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` sortDirection: asc includeNullOption: false nullDisplayValue: value } cascadingLov { parentFacet: value lovColumn: value parentRequired: false } layout { sequence: 42 facetGroup:@component} appearance { valuePlaceholder: value icon: fa-check formatMask: value } source { databaseColumn: value dataType: varchar2 } default { type: static staticValue: ``` Lorem ipsum dolor sit amet. ``` item: value sqlQuerySingleValue: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` sqlQueryMultipleValues: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` sequence: value } dependingOn { checkbox:@componenttype: "=" value: value list: [ value1 value2 ] } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@componentencryptSessionState: false escapeSpecialChars: false } config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
filter
region.type = smartFilters| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | P#PAGE_ID#_NEW | maxLen=255 |
type | enum | Yes | enum=[plugin/<pluginName>] |
label
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
label | string | No | maxLen=4000 Enter the label for the filter. The label displays on the page only if the filter displays. The label for type Search is visually hidden, but available to assistive technology. | |
Applies when filter.type supports VISIBLE | ||||
label {
label: label
}
lov
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | string | Yes | ||
Applies when filter.type supports LOV | ||||
lov | string | Yes | ||
Applies when filter.type = SHARED | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000Enter the SQL query definition to populate this list of values. Generally list of value queries are of the form:
select [displayValue],
[returnValue]
from ...
where ...
order by ...
Each column selected must have a unique name or alias. Oracle recommends using an alias on any column that includes an SQL expression. Note: When defining a Popup LOV item type, if you would like to display multiple columns in the popup, you must instead define your List of Values in Shared Components, with the required additional metadata. Inline list of values can only be used to display single columns for Popup LOVs. | |
Applies when filter.type = SQL_QUERY | ||||
staticValues | multiline string | Yes | STATIC:Display1;Return1,Display2;Return2 | maxLen=4000 |
Applies when filter.type = STATIC | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when filter.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when filter.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when filter.language = JAVASCRIPT | ||||
sortDirection | enum | Yes | asc | enum=[asc, desc] |
Applies when filter.type = DISTINCT | ||||
includeNullOption | boolean | Yes | false | |
Applies when filter.type supports FC_LOV_DISPLAY_NULL and filter.type is set | ||||
nullDisplayValue | string | Yes | maxLen=255 Enter the text to be displayed within the list NULL option at the top of this list. | |
Applies when filter.includeNullOption = Y | ||||
lov { type: value lov:@componentsqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` staticValues: ``` value ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` sortDirection: asc includeNullOption: false nullDisplayValue: value }
cascadingLov
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
parentFilter | string | No | maxLen=32767 | |
Applies when filter.type = SHARED | ||||
lovColumn | string | Yes | maxLen=128 | |
Applies when filter.parentFilter is set | ||||
parentRequired | boolean | Yes | true | |
Applies when filter.parentFilter is set | ||||
cascadingLov {
parentFilter: value
lovColumn: value
parentRequired: false
}
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 |
layout {
sequence: 42
}
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
valuePlaceholder | string | No | maxLen=255 | |
Applies when filter.type supports PLACEHOLDER | ||||
icon | string | No | maxLen=255 Enter the classes for the icon you want to use to identify this filter. You may add multiple classes by separating them with spaces. If your theme uses Font APEX then review the Universal Theme Sample Application to view available icons and modifiers. | |
Applies when filter.type NOT_EQUALS search | ||||
formatMask | string | No | maxLen=255 | |
Applies when filter.type supports FORMAT_MASK_DATE and filter.dataType in (DATE, TIMESTAMP, TIMESTAMP_TZ, TIMESTAMP_LTZ) | ||||
appearance {
valuePlaceholder: value
icon: fa-check
formatMask: value
}
listEntries
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
computeCounts | boolean | Yes | true | |
Applies when filter.type supports FC_HAS_FEEDBACK | ||||
showCounts | boolean | Yes | true | |
Applies when filter.computeCounts = Y | ||||
zeroCountEntries | enum | Yes | hide | enum=[hide, disable, showLast] |
Applies when filter.computeCounts = Y | ||||
sortByTopCounts | boolean | Yes | true | |
Applies when filter.showCounts = Y and filter.type in (checkbox, radioGroup) | ||||
showSelectedFirst | boolean | Yes | false | |
Applies when filter.type supports FC_SHOW_SELECTED_FIRST and filter.type is set | ||||
allowToExclude | boolean | Yes | false | |
Applies when filter.type in (checkbox, radioGroup, range) | ||||
clientSideFiltering | boolean | Yes | false | |
Applies when filter.type supports FC_FILTER_VALUES and filter.type is set | ||||
listEntries {
computeCounts: false
showCounts: false
zeroCountEntries: hide
sortByTopCounts: false
showSelectedFirst: false
allowToExclude: false
clientSideFiltering: false
}
suggestions
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[dynamic, staticValues, sqlQuery] | |
Applies when filter.type NOT_EQUALS search | ||||
staticValues | array of multiline strings | Yes | maxLen=4000 | |
Applies when filter.type = STATIC | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when filter.type = SQL_QUERY | ||||
showLabel | boolean | Yes | true | |
Applies when filter.type is set and filter.type NOT_EQUALS search | ||||
suggestions {
type: dynamic
staticValues: [
value1
value2
]
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
showLabel: false
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
cssClasses | array of strings | No | maxLen=255 Enter classes to add to this filter. You may add multiple classes by separating them with spaces. | |
Applies when filter.type NOT_EQUALS search | ||||
advanced {
cssClasses: [
value1
value2
]
}
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
databaseColumn | string | Yes | maxLen=128 Enter the case sensitive database column name used as the source for this filter. | |
Applies when filter.type NOT_EQUALS search | ||||
dbColumns | string | No | maxLen=4000 | |
Applies when filter.type = search | ||||
dataType | enum | Yes | varchar2 | enum=[varchar2, number, date, timestamp, timestampWithTimeZone, timestampWithLocalTimeZone, intervalYearToMonth, intervalDayToSecond, clob, blob, boolean, rowid, bfile, sdoGeometry]; maxLen=128 |
Applies when filter.type NOT_EQUALS search | ||||
source {
databaseColumn: value
dbColumns: value
dataType: varchar2
}
multipleValues
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[delimitedList, jsonArray] | |
Applies when filter.type in (checkbox, radioGroup, selectList) | ||||
separator | string | Yes | : | maxLen=5; regex=/^(?:[^\\"]|\\[nt]|\\(?!005[Cc]|0022)[0-9ABCDEFabcdef]{4})$/ |
Applies when filter.type = SEPARATED | ||||
trimWhitespace | boolean | Yes | false | |
Applies when filter.type = SEPARATED | ||||
filterCombination | enum | Yes | or | enum=[or, and] |
Applies when filter.type is set | ||||
multipleValues {
type: delimitedList
separator: value
trimWhitespace: false
filterCombination: or
}
default
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[static, item, sqlQuerySingleValue, sqlQueryMultipleValues, expression, functionBody, sequence] | |
Applies when filter.type supports SOURCE | ||||
staticValue | multiline string | Yes | maxLen=4000 | |
Applies when filter.type = STATIC_TEXT_WITH_SUBSTITUTIONS | ||||
item | string | Yes | maxLen=32767 | |
Applies when filter.type = ITEM | ||||
sqlQuerySingleValue | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when filter.type = SQL_QUERY | ||||
sqlQueryMultipleValues | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when filter.type = SQL_QUERY_COLON | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when filter.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when filter.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when filter.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when filter.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when filter.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when filter.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when filter.language = JAVASCRIPT | ||||
sequence | string | Yes | maxLen=128 | |
Applies when filter.type = SEQUENCE | ||||
default {
type: static
staticValue: ```
Lorem ipsum dolor sit amet.
```
item: value
sqlQuerySingleValue: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
sqlQueryMultipleValues: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
sequence: value
}
dependingOn
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
filter | string | No | ||
Applies when filter.type NOT_EQUALS search | ||||
type | enum | Yes | isNotNull | enum=[=, !=, inList, notInList, isNull, isNotNull] |
Applies when filter.filter is set | ||||
value | string | Yes | maxLen=4000 | |
Applies when filter.type in (EQUALS, NOT_EQUALS) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when filter.type in (IN_LIST, NOT_IN_LIST) | ||||
dependingOn { filter:@componenttype: "=" value: value list: [ value1 value2 ] }
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
Applies when filter.type NOT_EQUALS search | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when filter.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when filter.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when filter.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when filter.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when filter.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when filter.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when filter.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when filter.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when filter.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when filter.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when filter.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when filter.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when filter.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when filter.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when filter.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when filter.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when filter.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when filter.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No | ||
Applies when filter.type NOT_EQUALS search | ||||
encryptSessionState | boolean | Yes | true | |
Applies when filter.type supports ENCRYPT | ||||
escapeSpecialChars | boolean | Yes | true | |
Applies when filter.type supports ESCAPE_OUTPUT | ||||
security { authorizationScheme:@componentencryptSessionState: false escapeSpecialChars: false }
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
filter "example" ( name: exampleName type: staticContent label { label: label } lov { type: value lov:@componentsqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` staticValues: ``` value ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` sortDirection: asc includeNullOption: false nullDisplayValue: value } cascadingLov { parentFilter: value lovColumn: value parentRequired: false } layout { sequence: 42 } appearance { valuePlaceholder: value icon: fa-check formatMask: value } listEntries { computeCounts: false showCounts: false zeroCountEntries: hide sortByTopCounts: false showSelectedFirst: false allowToExclude: false clientSideFiltering: false } suggestions { type: dynamic staticValues: [ value1 value2 ] sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` showLabel: false } advanced { cssClasses: [ value1 value2 ] } source { databaseColumn: value dbColumns: value dataType: varchar2 } multipleValues { type: delimitedList separator: value trimWhitespace: false filterCombination: or } default { type: static staticValue: ``` Lorem ipsum dolor sit amet. ``` item: value sqlQuerySingleValue: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` sqlQueryMultipleValues: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` sequence: value } dependingOn { filter:@componenttype: "=" value: value list: [ value1 value2 ] } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@componentencryptSessionState: false escapeSpecialChars: false } config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
filterGroup
region.type = smartFilterslabel
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
label | string | Yes | maxLen=4000 ~Enter the label of the filter group.~ |
label {
label: label
}
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 |
layout {
sequence: 42
}
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
icon | string | No | maxLen=255 Enter the classes for the icon you want to use to identify this filter. You may add multiple classes by separating them with spaces. If your theme uses Font APEX then review the Universal Theme Sample Application to view available icons and modifiers. |
appearance {
icon: fa-check
}
listEntries
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
computeCounts | boolean | Yes | true | |
showCounts | boolean | Yes | true | |
Applies when filterGroup.computeCounts = Y | ||||
zeroCountEntries | enum | Yes | hide | enum=[hide, disable, showLast] |
Applies when filterGroup.computeCounts = Y | ||||
sortByTopCounts | boolean | Yes | true | |
Applies when filterGroup.showCounts = Y | ||||
showSelectedFirst | boolean | Yes | false | |
listEntries {
computeCounts: false
showCounts: false
zeroCountEntries: hide
sortByTopCounts: false
showSelectedFirst: false
}
suggestions
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[dynamic, staticValues, sqlQuery] | |
staticValues | array of multiline strings | Yes | maxLen=4000 | |
Applies when filterGroup.type = STATIC | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when filterGroup.type = SQL_QUERY | ||||
showLabel | boolean | Yes | false | |
Applies when filterGroup.type is set | ||||
suggestions {
type: dynamic
staticValues: [
value1
value2
]
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
showLabel: false
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
cssClasses | array of strings | No | maxLen=255 Enter classes to add to this filter group. You may add multiple classes by separating them with spaces. | |
staticId | string | Yes | maxLen=255 | |
combineFilters | enum | Yes | or | enum=[or, and] |
advanced {
cssClasses: [
value1
value2
]
staticId: value
combineFilters: or
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when filterGroup.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when filterGroup.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when filterGroup.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when filterGroup.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when filterGroup.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when filterGroup.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when filterGroup.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when filterGroup.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when filterGroup.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when filterGroup.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when filterGroup.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when filterGroup.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when filterGroup.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when filterGroup.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when filterGroup.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when filterGroup.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when filterGroup.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when filterGroup.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No |
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
filterGroup "example" ( label { label: label } layout { sequence: 42 } appearance { icon: fa-check } listEntries { computeCounts: false showCounts: false zeroCountEntries: hide sortByTopCounts: false showSelectedFirst: false } suggestions { type: dynamic staticValues: [ value1 value2 ] sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` showLabel: false } advanced { cssClasses: [ value1 value2 ] staticId: value combineFilters: or } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@component} config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
checkbox
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | P#PAGE_ID#_NEW | maxLen=255 |
type | enum | Yes | enum=[checkbox, plugin/<pluginName>] |
label
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
label | string | No | maxLen=4000 Enter the label for the filter. The label displays on the page only if the filter displays. The label for type Search is visually hidden, but available to assistive technology. | |
Applies when checkbox.type supports VISIBLE | ||||
label {
label: label
}
lov
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | string | Yes | ||
Applies when checkbox.type supports LOV | ||||
lov | string | Yes | ||
Applies when checkbox.type = SHARED | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000Enter the SQL query definition to populate this list of values. Generally list of value queries are of the form:
select [displayValue],
[returnValue]
from ...
where ...
order by ...
Each column selected must have a unique name or alias. Oracle recommends using an alias on any column that includes an SQL expression. Note: When defining a Popup LOV item type, if you would like to display multiple columns in the popup, you must instead define your List of Values in Shared Components, with the required additional metadata. Inline list of values can only be used to display single columns for Popup LOVs. | |
Applies when checkbox.type = SQL_QUERY | ||||
staticValues | multiline string | Yes | STATIC:Display1;Return1,Display2;Return2 | maxLen=4000 |
Applies when checkbox.type = STATIC | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when checkbox.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when checkbox.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when checkbox.language = JAVASCRIPT | ||||
sortDirection | enum | Yes | asc | enum=[asc, desc] |
Applies when checkbox.type = DISTINCT | ||||
includeNullOption | boolean | Yes | false | |
Applies when checkbox.type supports FC_LOV_DISPLAY_NULL and checkbox.type is set | ||||
nullDisplayValue | string | Yes | maxLen=255 Enter the text to be displayed within the list NULL option at the top of this list. | |
Applies when checkbox.includeNullOption = Y | ||||
lov { type: value lov:@componentsqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` staticValues: ``` value ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` sortDirection: asc includeNullOption: false nullDisplayValue: value }
cascadingLov
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
parentFilter | string | No | maxLen=32767 | |
Applies when checkbox.type = SHARED | ||||
lovColumn | string | Yes | maxLen=128 | |
Applies when checkbox.parentFilter is set | ||||
parentRequired | boolean | Yes | true | |
Applies when checkbox.parentFilter is set | ||||
cascadingLov {
parentFilter: value
lovColumn: value
parentRequired: false
}
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 | |
filterGroup | string | Yes |
layout { sequence: 42 filterGroup:@component}
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
valuePlaceholder | string | No | maxLen=255 | |
Applies when checkbox.type supports PLACEHOLDER | ||||
icon | string | No | maxLen=255 Enter the classes for the icon you want to use to identify this filter. You may add multiple classes by separating them with spaces. If your theme uses Font APEX then review the Universal Theme Sample Application to view available icons and modifiers. | |
Applies when checkbox.type NOT_EQUALS search | ||||
formatMask | string | No | maxLen=255 | |
Applies when checkbox.type supports FORMAT_MASK_DATE and checkbox.dataType in (DATE, TIMESTAMP, TIMESTAMP_TZ, TIMESTAMP_LTZ) | ||||
appearance {
valuePlaceholder: value
icon: fa-check
formatMask: value
}
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
databaseColumn | string | Yes | maxLen=128 Enter the case sensitive database column name used as the source for this filter. | |
Applies when checkbox.type NOT_EQUALS search | ||||
dataType | enum | Yes | varchar2 | enum=[varchar2, number, date, timestamp, timestampWithTimeZone, timestampWithLocalTimeZone, intervalYearToMonth, intervalDayToSecond, clob, blob, boolean, rowid, bfile, sdoGeometry]; maxLen=128 |
Applies when checkbox.type NOT_EQUALS search | ||||
source {
databaseColumn: value
dataType: varchar2
}
default
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[static, item, sqlQuerySingleValue, sqlQueryMultipleValues, expression, functionBody, sequence] | |
Applies when checkbox.type supports SOURCE | ||||
staticValue | multiline string | Yes | maxLen=4000 | |
Applies when checkbox.type = STATIC_TEXT_WITH_SUBSTITUTIONS | ||||
item | string | Yes | maxLen=32767 | |
Applies when checkbox.type = ITEM | ||||
sqlQuerySingleValue | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when checkbox.type = SQL_QUERY | ||||
sqlQueryMultipleValues | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when checkbox.type = SQL_QUERY_COLON | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when checkbox.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when checkbox.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when checkbox.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when checkbox.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when checkbox.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when checkbox.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when checkbox.language = JAVASCRIPT | ||||
sequence | string | Yes | maxLen=128 | |
Applies when checkbox.type = SEQUENCE | ||||
default {
type: static
staticValue: ```
Lorem ipsum dolor sit amet.
```
item: value
sqlQuerySingleValue: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
sqlQueryMultipleValues: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
sequence: value
}
dependingOn
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
checkbox | string | No | ||
Applies when checkbox.type NOT_EQUALS search | ||||
type | enum | Yes | isNotNull | enum=[=, !=, inList, notInList, isNull, isNotNull] |
Applies when checkbox.checkbox is set | ||||
value | string | Yes | maxLen=4000 | |
Applies when checkbox.type in (EQUALS, NOT_EQUALS) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when checkbox.type in (IN_LIST, NOT_IN_LIST) | ||||
dependingOn { checkbox:@componenttype: "=" value: value list: [ value1 value2 ] }
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when checkbox.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when checkbox.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when checkbox.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when checkbox.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when checkbox.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when checkbox.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when checkbox.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when checkbox.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when checkbox.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when checkbox.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when checkbox.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when checkbox.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when checkbox.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when checkbox.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when checkbox.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when checkbox.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when checkbox.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when checkbox.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No | ||
encryptSessionState | boolean | Yes | true | |
Applies when checkbox.type supports ENCRYPT | ||||
escapeSpecialChars | boolean | Yes | true | |
Applies when checkbox.type supports ESCAPE_OUTPUT | ||||
security { authorizationScheme:@componentencryptSessionState: false escapeSpecialChars: false }
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
checkbox "example" ( name: exampleName type: staticContent label { label: label } lov { type: value lov:@componentsqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` staticValues: ``` value ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` sortDirection: asc includeNullOption: false nullDisplayValue: value } cascadingLov { parentFilter: value lovColumn: value parentRequired: false } layout { sequence: 42 filterGroup:@component} appearance { valuePlaceholder: value icon: fa-check formatMask: value } source { databaseColumn: value dataType: varchar2 } default { type: static staticValue: ``` Lorem ipsum dolor sit amet. ``` item: value sqlQuerySingleValue: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` sqlQueryMultipleValues: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` sequence: value } dependingOn { checkbox:@componenttype: "=" value: value list: [ value1 value2 ] } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@componentencryptSessionState: false escapeSpecialChars: false } config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
layer
region.type = map| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 Enter a descriptive name for this component. Use the Label attribute, if HTML or substitutions are required for label display on the map region. | |
layerType | enum | Yes | points | enum=[points, lines, polygons, heatMap, extrudedPolygons] |
label
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
label | string | No | maxLen=4000 Override Label to use for search result display. If not specified, the label of the search configuration will be used. |
label {
label: label
}
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 Enter the display sequence for this layer. The sequence setting determines the order in which map layers are displayed on top of each other. Layers with higher numbers are displayed on top of layers with lower numbers. Note: If two map layers have the same sequence value then they may be displayed in a different order when the application is exported and imported into another environment, such as a test or production environment. To ensure consistency, Oracle recommends you specify unique sequence numbers for every layer, or at least for those within the same map region. |
layout {
sequence: 42
}
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
location | enum | Yes | localDatabase | enum=[localDatabase, restEnabledSql, restSource, jsonDualityView, jsonSource, regionSource, sampleData] |
remoteServer | string | Yes | ||
Applies when layer.location = REMOTE | ||||
sampleData | enum | Yes | enum=[employees, tasks, products, projects] | |
Applies when layer.location = SAMPLE_DATA | ||||
type | string | Yes | TABLE | |
Applies when layer.location in (LOCAL, REMOTE) | ||||
tableOwner | string | No | maxLen=32767 | |
Applies when layer.type = TABLE | ||||
tableName | string | Yes | maxLen=128 | |
Applies when layer.type = TABLE | ||||
includeRowidColumn | boolean | Yes | false | |
Applies when layer.type = TABLE and layer.remoteServer supports IS_ORACLE or not set | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when layer.type = TABLE | ||||
graphOwner | string | No | maxLen=32767 | |
Applies when layer.type = GRAPH | ||||
graphName | string | Yes | maxLen=32767 | |
Applies when layer.type = GRAPH | ||||
matchClause | multiline string | Yes | maxLen=4000 | |
Applies when layer.type = GRAPH | ||||
columnsClause | multiline string | Yes | maxLen=4000 | |
Applies when layer.type = GRAPH | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when layer.type = GRAPH | ||||
orderByClause | multiline string | No | language=sql; maxLen=255 | |
Applies when layer.type = TABLE | ||||
orderByClause | multiline string | No | language=sql; maxLen=255 | |
Applies when layer.type = GRAPH | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=32767 | |
Applies when layer.type = SQL | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when layer.type = FUNC_BODY_RETURNING_SQL | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when layer.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when layer.language = JAVASCRIPT | ||||
restSource | string | Yes | ||
Applies when layer.location = WEB_SOURCE | ||||
jsonDualityView | string | Yes | ||
Applies when layer.location = DUALITY_VIEW | ||||
jsonSource | string | Yes | ||
Applies when layer.location = JSON_COLLECTION | ||||
pageItemsToSubmit | array of strings | No | maxLen=4000 Enter a comma separated list of page items on the current page to be set into session state when the map data is fetched with a separate request. | |
Applies when layer.location NOT_EQUALS REGION_SOURCE | ||||
optimizerHint | string | No | maxLen=255 | |
Applies when layer.location in (LOCAL, REMOTE, WEB_SOURCE, DUALITY_VIEW, JSON_COLLECTION) | ||||
useSpatialIndex | boolean | Yes | false | |
Applies when layer.location in (LOCAL, REMOTE, REGION_SOURCE) | ||||
useVectorTiles | boolean | Yes | false | |
Applies when layer.location = LOCAL and layer.type in (TABLE, SQL) and performance.lazyLoading = Y | ||||
source { location: localDatabase remoteServer:@componentsampleData: employees type: value tableOwner: value tableName: value includeRowidColumn: false whereClause: ``` status = 'ACTIVE' ``` graphOwner: value graphName: value matchClause: ``` Lorem ipsum dolor sit amet. ``` columnsClause: ``` Lorem ipsum dolor sit amet. ``` orderByClause: ``` created_on desc ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` restSource:@componentjsonDualityView:@componentjsonSource:@componentpageItemsToSubmit: [ value1 value2 ] optimizerHint: value useSpatialIndex: false useVectorTiles: false }
dataProfile
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
nestedRows | string | No | ||
Applies when layer.restSource supports HAS_ARRAY_COLUMNS | ||||
nestedRows | string | No | ||
Applies when layer.jsonDualityView supports HAS_ARRAY_COLUMNS | ||||
nestedRows | string | No | ||
Applies when layer.jsonSource supports HAS_ARRAY_COLUMNS | ||||
dataProfile { nestedRows:@component}
restSynchronization
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
useLocalTable | boolean | Yes | false | |
Applies when layer.restSource supports HAS_SYNC_HAS_NO_ARRAY_COLUMNS or condition matches or layer.nestedRows supports IS_SYNCED | ||||
restSynchronization {
useLocalTable: false
}
externalFilterAndOrderBy
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
enabled | boolean | Yes | false | |
Applies when layer.restSource is set and layer.useLocalTable in (N, $NULL$) or not set | ||||
filter | multiline string | No | maxLen=4000 | |
Applies when layer.enabled = Y | ||||
orderBy | multiline string | No | maxLen=255 | |
Applies when layer.enabled = Y | ||||
externalFilterAndOrderBy {
enabled: false
filter: ```
Lorem ipsum dolor sit amet.
```
orderBy: ```
Lorem ipsum dolor sit amet.
```
}
localPostProcessing
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[whereOrderByClause, sqlQuery, plsqlFunctionBody] | |
Applies when layer.restSource is set | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when layer.type = WHERE_ORDER_BY_CLAUSE | ||||
orderByClause | multiline string | No | language=sql; maxLen=255 | |
Applies when layer.type = WHERE_ORDER_BY_CLAUSE | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=32767 | |
Applies when layer.type = SQL | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when layer.type = FUNC_BODY_RETURNING_SQL | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when layer.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when layer.language = JAVASCRIPT | ||||
type | enum | No | enum=[whereOrderByClause, sqlQuery, plsqlFunctionBody] | |
Applies when layer.jsonDualityView is set | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when layer.type = WHERE_ORDER_BY_CLAUSE | ||||
orderByClause | multiline string | No | language=sql; maxLen=255 | |
Applies when layer.type = WHERE_ORDER_BY_CLAUSE | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=32767 | |
Applies when layer.type = SQL | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when layer.type = FUNC_BODY_RETURNING_SQL | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when layer.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when layer.language = JAVASCRIPT | ||||
type | enum | No | enum=[whereOrderByClause, sqlQuery, plsqlFunctionBody] | |
Applies when layer.jsonSource is set | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when layer.type = WHERE_ORDER_BY_CLAUSE | ||||
orderByClause | multiline string | No | language=sql; maxLen=255 | |
Applies when layer.type = WHERE_ORDER_BY_CLAUSE | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=32767 | |
Applies when layer.type = SQL | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when layer.type = FUNC_BODY_RETURNING_SQL | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when layer.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when layer.language = JAVASCRIPT | ||||
localPostProcessing {
type: whereOrderByClause
whereClause: ```
status = 'ACTIVE'
```
orderByClause: ```
created_on desc
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: plsql
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
}
remoteCache
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
caching | enum | No | enum=[allUsers, user, session] | |
Applies when layer.location = REMOTE | ||||
timeout | multiline string | Yes | maxLen=255 | |
Applies when layer.caching is set | ||||
remoteCache {
caching: allUsers
timeout: ```
Lorem ipsum dolor sit amet.
```
}
rowAssignment
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
column | string | No | maxLen=32767 | |
Applies when layer.location = REGION_SOURCE | ||||
valueForThisLayer | string | Yes | maxLen=32767 | |
Applies when layer.column is set | ||||
rowAssignment {
column: value
valueForThisLayer: value
}
columnMapping
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
geometryColumnDataType | string | Yes | SDO_GEOMETRY | |
Applies when layer.location NOT_EQUALS REMOTE | ||||
geometryColumnDataType | enum | Yes | enum=[geojson, longitudeLatitude] | |
Applies when layer.location = REMOTE | ||||
geometryColumn | string | Yes | maxLen=32767 | |
Applies when layer.geometryColumnDataType = SDO_GEOMETRY | ||||
geojsonColumn | string | Yes | maxLen=32767 | |
Applies when layer.geometryColumnDataType = GEOJSON or not set and layer.geometryColumnDataType = GEOJSON or not set | ||||
longitudeColumn | string | Yes | maxLen=32767 | |
Applies when layer.geometryColumnDataType = LONLAT_COLUMNS or not set and layer.geometryColumnDataType = LONLAT_COLUMNS or not set | ||||
latitudeColumn | string | Yes | maxLen=32767 | |
Applies when layer.geometryColumnDataType = LONLAT_COLUMNS or not set and layer.geometryColumnDataType = LONLAT_COLUMNS or not set | ||||
primaryKeyColumn | string | No | maxLen=32767 | |
Applies when layer.location is set | ||||
columnMapping {
geometryColumnDataType: value
geometryColumn: value
geojsonColumn: value
longitudeColumn: value
latitudeColumn: value
primaryKeyColumn: value
}
pointObjects
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
style | enum | Yes | svg | enum=[svg, icon] |
Applies when layer.layerType = POINT | ||||
iconSource | string | Yes | ||
Applies when layer.style = ICON | ||||
iconColumn | string | Yes | maxLen=32767 | |
Applies when layer.iconSource = DYNAMIC_CLASS | ||||
imageUrl | string | Yes | maxLen=4000 | |
Applies when layer.iconSource = URL | ||||
iconCssClasses | string | Yes | maxLen=255 | |
Applies when layer.iconSource = STATIC_CLASS | ||||
shape | string | Yes | Default | |
Applies when layer.style = SVG | ||||
shapeScale | string | No | maxLen=32767 | |
Applies when layer.style = SVG | ||||
pointObjects {
style: svg
iconSource: fa-check
iconColumn: fa-check
imageUrl: value
iconCssClasses: fa-check
shape: value
shapeScale: value
}
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
useColorScheme | boolean | Yes | false | |
Applies when layer.layerType in (POLYGON, POLYGON_3D) | ||||
colorScheme | enum | No | enum=[sequential, diverging, qualitative] | |
Applies when layer.useColorScheme = Y | ||||
schemeName | enum | Yes | burgundy | enum=[burgundy, burgundyToYellow, redToOrange, orangeToYellow, peach, pinkToYellow, mint, blueToGreen, darkMint, emerald, blueToYellow, teal, tealToGreen, purple, purpleToOrange, sunset, magenta, darkSunset, brownToYellow] |
Applies when layer.colorScheme = SEQUENTIAL | ||||
schemeName | enum | Yes | earthColors | enum=[armyToRose, fallColors, geyser, temps, tealToRose, tropicColors, earthColors] |
Applies when layer.colorScheme = DIVERGING | ||||
schemeName | enum | Yes | safe | enum=[antique, bold, pastel, prism, safe, vivid] |
Applies when layer.colorScheme = QUALITATIVE | ||||
colorScheme | enum | No | enum=[sequential, diverging, qualitative] | |
Applies when layer.layerType = HEATMAP | ||||
schemeName | enum | Yes | burgundy | enum=[burgundy, burgundyToYellow, redToOrange, orangeToYellow, peach, pinkToYellow, mint, blueToGreen, darkMint, emerald, blueToYellow, teal, tealToGreen, purple, purpleToOrange, sunset, magenta, darkSunset, brownToYellow] |
Applies when layer.colorScheme = SEQUENTIAL | ||||
schemeName | enum | Yes | earthColors | enum=[armyToRose, fallColors, geyser, temps, tealToRose, tropicColors, earthColors] |
Applies when layer.colorScheme = DIVERGING | ||||
schemeName | enum | Yes | safe | enum=[antique, bold, pastel, prism, safe, vivid] |
Applies when layer.colorScheme = QUALITATIVE | ||||
customColorList | multiline string | Yes | maxLen=32767 | |
Applies when layer.layerType = HEATMAP and layer.colorScheme NULL | ||||
fillColor | string | No | maxLen=255 | |
Applies when layer.layerType in (POLYGON, POLYGON_3D) and layer.useColorScheme in (N, $NULL$) or not set | ||||
customColorList | multiline string | Yes | maxLen=32767 | |
Applies when layer.useColorScheme = Y and layer.colorScheme NULL | ||||
valueColumn | string | No | maxLen=32767 | |
Applies when layer.layerType = HEATMAP | ||||
colorValueColumn | string | Yes | maxLen=32767 | |
Applies when layer.useColorScheme = Y and layer.layerType in (POLYGON, POLYGON_3D, LINE, POINT) | ||||
extrusionValueColumn | string | Yes | maxLen=32767 | |
Applies when layer.layerType = POLYGON_3D | ||||
unit | enum | Yes | meter | enum=[meter, kilometer, foot, mile] |
Applies when layer.extrusionValueColumn is set | ||||
fillOpacity | string | No | maxLen=128 | |
Applies when layer.layerType in (POLYGON, POLYGON_3D) | ||||
strokeStyle | string | Yes | solid | maxLen=128 |
Applies when layer.layerType = LINE | ||||
strokeColor | string | No | maxLen=255 | |
Applies when layer.layerType in (POLYGON, LINE) | ||||
strokeWidth | string | No | maxLen=128 | |
Applies when layer.layerType in (POLYGON, LINE) | ||||
fillColor | string | No | maxLen=255 | |
Applies when layer.layerType = POINT and layer.iconSource in ($NULL$, STATIC_CLASS, DYNAMIC_CLASS) or not set | ||||
fillOpacity | string | No | maxLen=128 | |
Applies when layer.layerType = POINT and layer.iconSource in ($NULL$, STATIC_CLASS, DYNAMIC_CLASS) or not set | ||||
strokeColor | string | No | maxLen=255 | |
Applies when layer.style = SVG and layer.useColorScheme in (N, $NULL$) or not set | ||||
strokeWidth | string | No | maxLen=128 | |
Applies when layer.style = SVG and layer.useColorScheme in (N, $NULL$) or not set | ||||
appearance {
useColorScheme: false
colorScheme: sequential
schemeName: burgundy
customColorList: ```
Lorem ipsum dolor sit amet.
```
fillColor: value
valueColumn: value
colorValueColumn: "#007bff"
extrusionValueColumn: value
unit: meter
fillOpacity: value
strokeStyle: value
strokeColor: value
strokeWidth: unique-id
}
pointClustering
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
enable | boolean | Yes | false | |
Applies when layer.layerType = POINT and layer.useVectorTiles in (N, $NULL$) or not set | ||||
clusteringRadius | integer | Yes | 80 | maxLen=32767; min=10 |
Applies when layer.enable = Y | ||||
iconUrl | string | Yes | maxLen=32767 | |
Applies when layer.iconSource = URL and layer.enable = Y | ||||
iconCssClasses | string | Yes | maxLen=32767 | |
Applies when layer.iconSource in (STATIC_CLASS, DYNAMIC_CLASS) and layer.enable = Y | ||||
shape | string | Yes | ||
Applies when layer.style = SVG and layer.enable = Y | ||||
fillColor | string | No | maxLen=255 | |
Applies when layer.iconSource in ($NULL$, STATIC_CLASS, DYNAMIC_CLASS) or not set and layer.enable = Y | ||||
shapeScale | string | No | maxLen=32767 | |
Applies when layer.style = SVG and layer.enable = Y | ||||
tooltip | multiline string | No | language=html; maxLen=32767 | |
Applies when layer.enable = Y | ||||
pointClustering {
enable: false
clusteringRadius: 42
iconUrl: fa-check
iconCssClasses: fa-check
shape: value
fillColor: value
shapeScale: value
tooltip: ```
Lorem ipsum dolor sit amet.
```
}
tooltip
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
advancedFormatting | boolean | Yes | false | |
Applies when layer.layerType NOT_EQUALS HEATMAP | ||||
column | string | No | maxLen=32767 | |
Applies when layer.advancedFormatting = N | ||||
htmlExpression | multiline string | No | language=html; maxLen=4000 | |
Applies when layer.advancedFormatting = Y | ||||
cssClasses | array of strings | No | maxLen=255 | |
Applies when layer.advancedFormatting = Y | ||||
tooltip {
advancedFormatting: false
column: value
htmlExpression: ```
Lorem ipsum dolor sit amet.
```
cssClasses: [
value1
value2
]
}
link
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | string | No | Select the action to be performed when an object on the map is clicked. | |
Applies when layer.layerType NOT_EQUALS HEATMAP | ||||
target | complex | Yes | maxLen=32767 | |
Applies when layer.type = REDIRECT_PAGE | ||||
target | complex | Yes | maxLen=32767 | |
Applies when layer.type = REDIRECT_APP | ||||
targetUrl | string | Yes | maxLen=4000 | |
Applies when layer.type = REDIRECT_URL | ||||
link {
type: value
target: value
targetUrl: value
}
infoWindow
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
advancedFormatting | boolean | Yes | false | |
Applies when layer.layerType NOT_EQUALS HEATMAP and layer.type NULL | ||||
titleColumn | string | No | maxLen=32767 | |
Applies when layer.advancedFormatting = N and layer.type NULL | ||||
bodyColumn | string | No | maxLen=32767 | |
Applies when layer.advancedFormatting = N and layer.type NULL | ||||
htmlExpression | multiline string | No | language=html; maxLen=4000 | |
Applies when layer.advancedFormatting = Y | ||||
cssClasses | array of strings | No | maxLen=255 | |
Applies when layer.advancedFormatting = Y | ||||
infoWindow {
advancedFormatting: false
titleColumn: "Page title"
bodyColumn: value
htmlExpression: ```
Lorem ipsum dolor sit amet.
```
cssClasses: [
value1
value2
]
}
zoomLevels
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
min | string | No | maxLen=128 | |
max | string | No | maxLen=128 |
zoomLevels {
min: value
max: value
}
legend
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
show | boolean | Yes | true | |
advancedFormatting | boolean | Yes | false | |
Applies when layer.show = Y | ||||
htmlExpression | multiline string | Yes | language=html; maxLen=4000 | |
Applies when layer.advancedFormatting = Y | ||||
enableToHide | boolean | Yes | true | |
Applies when layer.advancedFormatting = N | ||||
iconCssClasses | string | No | maxLen=32767 | |
Applies when layer.advancedFormatting = N | ||||
legend {
show: false
advancedFormatting: false
htmlExpression: ```
Lorem ipsum dolor sit amet.
```
enableToHide: false
iconCssClasses: fa-check
}
messages
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
whenNoDataFound | multiline string | No | maxLen=4000 Enter the text message that displays in the Messages area, when the layer query does not return any rows. | |
noDataFoundIcon | string | No | maxLen=4000 | |
Applies when layer.whenNoDataFound is set | ||||
whenMoreDataFound | multiline string | No | maxLen=4000 Enter the text message that displays in the Messages area, when the Maximum Rows to Process limit is exceeded for the layer. Use the #MAX_ROW_COUNT# substitution for the amount of rows actually fetched. | |
messages {
whenNoDataFound: ```
Lorem ipsum dolor sit amet.
```
noDataFoundIcon: value
whenMoreDataFound: ```
Lorem ipsum dolor sit amet.
```
}
performance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
maxRowsToProcess | integer | No | maxLen=32767; min=1 Enter the maximum number of rows which can be processed for this layer. This can be used as a measure against too many spatial objects being downloaded and displayed on the map. | |
Applies when layer.useVectorTiles in (N, $NULL$) | ||||
performance {
maxRowsToProcess: 5
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
maxObjectsPerTile | integer | No | maxLen=32767; min=1; max=25000 | |
Applies when layer.useVectorTiles = Y | ||||
advanced {
staticId: value
maxObjectsPerTile: 5
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when layer.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when layer.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when layer.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when layer.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when layer.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when layer.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when layer.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when layer.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when layer.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when layer.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when layer.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when layer.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when layer.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when layer.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when layer.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when layer.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when layer.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when layer.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
executeCondition | enum | Yes | forEachRow | enum=[forEachRow, once]Select how many times this layer condition is executed.
If you refer to Columns in your condition, you must specify For Each Row in order for the condition to be evaluated for each row of the layer query.
Otherwise, set to Once to evaluate the validations one time for the region. |
Applies when layer.type is set and layer.type NOT_EQUALS NEVER | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
executeCondition: forEachRow
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No |
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
layer "example" ( name: exampleName layerType: points label { label: label } layout { sequence: 42 } source { location: localDatabase remoteServer:@componentsampleData: employees type: value tableOwner: value tableName: value includeRowidColumn: false whereClause: ``` status = 'ACTIVE' ``` graphOwner: value graphName: value matchClause: ``` Lorem ipsum dolor sit amet. ``` columnsClause: ``` Lorem ipsum dolor sit amet. ``` orderByClause: ``` created_on desc ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` restSource:@componentjsonDualityView:@componentjsonSource:@componentpageItemsToSubmit: [ value1 value2 ] optimizerHint: value useSpatialIndex: false useVectorTiles: false } dataProfile { nestedRows:@component} restSynchronization { useLocalTable: false } externalFilterAndOrderBy { enabled: false filter: ``` Lorem ipsum dolor sit amet. ``` orderBy: ``` Lorem ipsum dolor sit amet. ``` } localPostProcessing { type: whereOrderByClause whereClause: ``` status = 'ACTIVE' ``` orderByClause: ``` created_on desc ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` } remoteCache { caching: allUsers timeout: ``` Lorem ipsum dolor sit amet. ``` } rowAssignment { column: value valueForThisLayer: value } columnMapping { geometryColumnDataType: value geometryColumn: value geojsonColumn: value longitudeColumn: value latitudeColumn: value primaryKeyColumn: value } pointObjects { style: svg iconSource: fa-check iconColumn: fa-check imageUrl: value iconCssClasses: fa-check shape: value shapeScale: value } appearance { useColorScheme: false colorScheme: sequential schemeName: burgundy customColorList: ``` Lorem ipsum dolor sit amet. ``` fillColor: value valueColumn: value colorValueColumn: "#007bff" extrusionValueColumn: value unit: meter fillOpacity: value strokeStyle: value strokeColor: value strokeWidth: unique-id } pointClustering { enable: false clusteringRadius: 42 iconUrl: fa-check iconCssClasses: fa-check shape: value fillColor: value shapeScale: value tooltip: ``` Lorem ipsum dolor sit amet. ``` } tooltip { advancedFormatting: false column: value htmlExpression: ``` Lorem ipsum dolor sit amet. ``` cssClasses: [ value1 value2 ] } link { type: value target: value targetUrl: value } infoWindow { advancedFormatting: false titleColumn: "Page title" bodyColumn: value htmlExpression: ``` Lorem ipsum dolor sit amet. ``` cssClasses: [ value1 value2 ] } zoomLevels { min: value max: value } legend { show: false advancedFormatting: false htmlExpression: ``` Lorem ipsum dolor sit amet. ``` enableToHide: false iconCssClasses: fa-check } messages { whenNoDataFound: ``` Lorem ipsum dolor sit amet. ``` noDataFoundIcon: value whenMoreDataFound: ``` Lorem ipsum dolor sit amet. ``` } performance { maxRowsToProcess: 5 } advanced { staticId: value maxObjectsPerTile: 5 } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] executeCondition: forEachRow } security { authorizationScheme:@component} config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
parameter
layer.restSource is set and layer.useLocalTable = N or not set| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes |
parameter
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
ignoreOutput | boolean | Yes | true | |
Applies when parameter.name supports IN_OUT_PARAMETER and parameter.name NOT_FEATURES FETCH_COLLECTION_OPERATION_PRM | ||||
parameter {
ignoreOutput: false
}
value
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | enum=[staticValue, restSourceDefault, item, sqlQuery, expression, functionBody, collectionClob, preference, parentColumn, null] | |
staticValue | multiline string | Yes | maxLen=4000 | |
Applies when parameter.type = STATIC and parameter.name NOT_FEATURES BOOLEAN_PARAMETER | ||||
staticValue | enum | Yes | enum=[true, false] | |
Applies when parameter.type = STATIC and parameter.name supports BOOLEAN_PARAMETER | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.type = SQL_QUERY | ||||
item | string | Yes | maxLen=255 | |
Applies when parameter.type = ITEM | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when parameter.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when parameter.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
preference | string | Yes | maxLen=255 | |
Applies when parameter.type = PREFERENCE | ||||
name | string | Yes | maxLen=255 | |
Applies when parameter.type = COLLECTION | ||||
formatMask | string | No | maxLen=255 Format mask to convert the Static, Item or Preference value to the data type of the REST Source Parameter. | |
Applies when parameter.name supports NUMBER_PARAMETER, DATE_PARAMETER, TIMESTAMP_PARAMETER, TIMESTAMP_TZ_PARAMETER and parameter.type in (STATIC, ITEM, PREFERENCE) | ||||
trueValue | string | No | maxLen=10 | |
Applies when parameter.name supports BOOLEAN_PARAMETER and parameter.type in (ITEM, PREFERENCE) | ||||
falseValue | string | No | maxLen=10 | |
Applies when parameter.name supports BOOLEAN_PARAMETER and parameter.type in (ITEM, PREFERENCE) | ||||
column | string | Yes | ||
Applies when parameter.type = PARENT_COLUMN | ||||
value { type: staticValue staticValue: ``` Lorem ipsum dolor sit amet. ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` item: value language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` preference: value name: exampleName formatMask: value trueValue: value falseValue: value column:@component}
APEXlang Example
parameter "example" ( name:@componentparameter { ignoreOutput: false } value { type: staticValue staticValue: ``` Lorem ipsum dolor sit amet. ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` item: value language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` preference: value name: exampleName formatMask: value trueValue: value falseValue: value column:@component} )
parameter
region.restSource is set and region.useLocalTable = N or not set| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes |
parameter
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
ignoreOutput | boolean | Yes | true | |
Applies when parameter.name supports IN_OUT_PARAMETER, OUT_PARAMETER and parameter.name NOT_FEATURES FETCH_COLLECTION_OPERATION_PRM and condition matches | ||||
parameter {
ignoreOutput: false
}
value
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | string | Yes | ||
Applies when parameter.name supports IN_PARAMETER, IN_OUT_PARAMETER or parameter.ignoreOutput = N | ||||
staticValue | multiline string | Yes | maxLen=4000 | |
Applies when parameter.type = STATIC and parameter.name NOT_FEATURES BOOLEAN_PARAMETER | ||||
staticValue | enum | Yes | enum=[true, false] | |
Applies when parameter.type = STATIC and parameter.name supports BOOLEAN_PARAMETER | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.type = SQL_QUERY | ||||
item | string | Yes | maxLen=255 | |
Applies when parameter.type = ITEM | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when parameter.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when parameter.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
preference | string | Yes | maxLen=255 | |
Applies when parameter.type = PREFERENCE | ||||
name | string | Yes | maxLen=255 | |
Applies when parameter.type = COLLECTION | ||||
formatMask | string | No | maxLen=255 Format mask to convert the Static, Item or Preference value to the data type of the REST Source Parameter. | |
Applies when parameter.name supports NUMBER_PARAMETER, DATE_PARAMETER, TIMESTAMP_PARAMETER, TIMESTAMP_TZ_PARAMETER and parameter.type in (STATIC, ITEM, PREFERENCE) | ||||
trueValue | string | No | maxLen=10 | |
Applies when parameter.name supports BOOLEAN_PARAMETER and parameter.type in (ITEM, PREFERENCE) | ||||
falseValue | string | No | maxLen=10 | |
Applies when parameter.name supports BOOLEAN_PARAMETER and parameter.type in (ITEM, PREFERENCE) | ||||
column | string | Yes | ||
Applies when parameter.type = PARENT_COLUMN | ||||
value { type: value staticValue: ``` Lorem ipsum dolor sit amet. ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` item: value language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` preference: value name: exampleName formatMask: value trueValue: value falseValue: value column:@component}
APEXlang Example
parameter "example" ( name:@componentparameter { ignoreOutput: false } value { type: value staticValue: ``` Lorem ipsum dolor sit amet. ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` item: value language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` preference: value name: exampleName formatMask: value trueValue: value falseValue: value column:@component} )
savedReport
region.type = interactiveReport| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
visibility | enum | Yes | enum=[primaryDefault, alternativeDefault, public, private] | |
name | string | Yes | maxLen=255 Displays the name of the Saved Report. | |
Applies when savedReport.visibility NOT_EQUALS PRIMARY_DEFAULT | ||||
staticId | string | Yes | maxLen=32767; regex=/^[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0-9-]*$/ | |
chart
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | bar | enum=[bar, lineWithArea, pie, line] |
Applies when savedReport.chart = Y | ||||
label | string | Yes | maxLen=128 | |
Applies when savedReport.chart = Y | ||||
value | string | Yes | maxLen=128 | |
Applies when savedReport.chart = Y | ||||
valueAggregation | enum | No | enum=[sum, average, min, max, count] | |
Applies when savedReport.chart = Y | ||||
chart {
type: bar
label: label
value: value
valueAggregation: sum
}
axisTitle
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
label | string | No | maxLen=255 | |
Applies when savedReport.chart = YsavedReport.type NOT_EQUALS pie | ||||
value | string | No | maxLen=255 | |
Applies when savedReport.chart = YsavedReport.type NOT_EQUALS pie | ||||
axisTitle {
label: label
value: value
}
description
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
description | multiline string | No | maxLen=4000 |
description {
description: ```
Lorem ipsum dolor sit amet.
```
}
settings
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
appUser | string | Yes | maxLen=255 | |
Applies when savedReport.visibility = PUBLIC | ||||
settings {
appUser: value
}
sort
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
by | enum | Yes | default | enum=[default, valueAsc, valueDesc, labelAsc, labelDesc] |
Applies when savedReport.chart = Y | ||||
sort {
by: default
}
view
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
chart | boolean | Yes | false | |
groupBy | boolean | Yes | false | |
pivot | boolean | Yes | false | |
default | string | Yes | REPORT | |
rowsPerPage | string | No |
view {
chart: false
groupBy: false
pivot: false
default: value
rowsPerPage: value
}
chartAppearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
orientation | enum | Yes | vertical | enum=[vertical, horizontal] |
Applies when savedReport.chart = YsavedReport.type NOT_EQUALS pie | ||||
chartAppearance {
orientation: vertical
}
flashback
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
minutesAgo | number | No | maxLen=22 | |
Applies when actionsMenu.flashback = Y | ||||
enabled | boolean | Yes | true | |
Applies when savedReport.minutesAgo is set | ||||
flashback {
minutesAgo: 1
enabled: false
}
APEXlang Example
savedReport "example" (
visibility: primaryDefault
name: exampleName
staticId: value
chart {
type: bar
label: label
value: value
valueAggregation: sum
}
axisTitle {
label: label
value: value
}
description {
description: ```
Lorem ipsum dolor sit amet.
```
}
settings {
appUser: value
}
sort {
by: default
}
view {
chart: false
groupBy: false
pivot: false
default: value
rowsPerPage: value
}
chartAppearance {
orientation: vertical
}
flashback {
minutesAgo: 1
enabled: false
}
)
aggregate
aggregate
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
function | enum | Yes | sum | enum=[sum, average, count, countDistinct, min, max, median] |
column | string | Yes | maxLen=128 | |
Applies when aggregate.function NOT_IN_LIST COUNT, COUNT_DISTINCT | ||||
column | string | Yes | maxLen=128 | |
Applies when aggregate.function in (COUNT, COUNT_DISTINCT) | ||||
aggregate {
function: sum
column: value
}
APEXlang Example
aggregate "example" (
aggregate {
function: sum
column: value
}
)
computation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
columnName | string | Yes | maxLen=128 | |
identifier | string | Yes | maxLen=3; regex=/^C[0-9]{2}$/ |
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
expression | multiline string | Yes | language=sql; maxLen=4000 | |
dataType | enum | Yes | enum=[string, date, number, clob, other] |
source {
expression: ```
upper(:P1_SEARCH)
```
dataType: string
}
label
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
column | string | Yes | maxLen=4000 |
label {
column: value
}
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
formatMask | string | No | maxLen=255 | |
Applies when computation.dataType = NUMBER | ||||
formatMask | string | No | maxLen=255 | |
Applies when computation.dataType = DATE | ||||
appearance {
formatMask: value
}
APEXlang Example
computation "example" (
columnName: value
identifier: unique-id
source {
expression: ```
upper(:P1_SEARCH)
```
dataType: string
}
label {
column: value
}
appearance {
formatMask: value
}
)
controlBreak
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
column | string | Yes | maxLen=128 |
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | integer | Yes | maxLen=32767; min=1; max=6 |
layout {
sequence: 42
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
enabled | boolean | Yes | true |
advanced {
enabled: false
}
APEXlang Example
controlBreak "example" (
column: value
layout {
sequence: 42
}
advanced {
enabled: false
}
)
displayColumn
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
column | string | Yes | maxLen=128 |
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 |
layout {
sequence: 42
}
APEXlang Example
displayColumn "example" (
column: value
layout {
sequence: 42
}
)
filter
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
Applies when filter.type = ROW | ||||
condition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | column | enum=[column, rowSearch, rowExpression] |
search | string | Yes | maxLen=4000 | |
Applies when filter.type = SEARCH | ||||
rowExpression | multiline string | Yes | maxLen=4000 | |
Applies when filter.type = ROW | ||||
column | string | Yes | maxLen=128 | |
Applies when filter.type = COL | ||||
operator | enum | Yes | = | enum=[=, !=, >, >=, <, <=, between, isNull, isNotNull, like, notLike, in, notIn, contains, doesNotContain, regexp, isInTheLast, isNotInTheLast, isInTheNext, isNotInTheNext] |
Applies when filter.type = COL | ||||
value | string | Yes | maxLen=4000 | |
Applies when filter.type = COL and filter.operator NOT_IN_LIST between, is null, is not null, is in the last, is not in the last, is in the next, is not in the next | ||||
from | string | Yes | maxLen=1900 | |
Applies when filter.type = COL and filter.operator = between | ||||
to | string | Yes | maxLen=1900 | |
Applies when filter.type = COL and filter.operator = between | ||||
value | number | Yes | maxLen=22 | |
Applies when filter.type = COL and filter.operator in (is in the last, is not in the last, is in the next, is not in the next) | ||||
unit | enum | Yes | enum=[min, hours, days, weeks, months, years] | |
Applies when filter.type = COL and filter.operator in (is in the last, is not in the last, is in the next, is not in the next) | ||||
condition {
type: column
search: value
rowExpression: ```
Lorem ipsum dolor sit amet.
```
column: value
operator: "="
value: value
from: value
to: value
unit: min
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
enabled | boolean | Yes | true |
advanced {
staticId: value
enabled: false
}
APEXlang Example
filter "example" (
name: exampleName
condition {
type: column
search: value
rowExpression: ```
Lorem ipsum dolor sit amet.
```
column: value
operator: "="
value: value
from: value
to: value
unit: min
}
advanced {
staticId: value
enabled: false
}
)
groupByAggregate
savedReport.groupBy = Yheading
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
heading | string | No | maxLen=4000 |
heading {
heading: value
}
aggregate
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
function | enum | Yes | sum | enum=[sum, average, max, min, median, count, countDistinct, percentOfTotalSum, percentOfTotalCount] |
column | string | Yes | maxLen=128 | |
Applies when groupByAggregate.function NOT_IN_LIST COUNT, COUNT_DISTINCT, RATIO_TO_REPORT_COUNT | ||||
column | string | No | maxLen=128 | |
Applies when groupByAggregate.function in (COUNT, COUNT_DISTINCT, RATIO_TO_REPORT_COUNT) | ||||
displaySum | boolean | Yes | false | |
aggregate {
function: sum
column: value
displaySum: false
}
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
formatMask | string | No | maxLen=255 |
appearance {
formatMask: value
}
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | integer | Yes | maxLen=32767; min=1; max=8 |
layout {
sequence: 42
}
APEXlang Example
groupByAggregate "example" (
heading {
heading: value
}
aggregate {
function: sum
column: value
displaySum: false
}
appearance {
formatMask: value
}
layout {
sequence: 42
}
)
groupByColumn
savedReport.groupBy = Y| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
column | string | Yes | maxLen=128 |
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 |
layout {
sequence: 42
}
APEXlang Example
groupByColumn "example" (
column: value
layout {
sequence: 42
}
)
groupBySort
savedReport.groupBy = Y| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
column | string | Yes | maxLen=128 |
sort
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
direction | enum | Yes | asc | enum=[asc, desc] |
nulls | enum | No | enum=[first, last] | |
sequence | integer | Yes | maxLen=32767; min=1; max=6 |
sort {
direction: asc
nulls: first
sequence: 42
}
APEXlang Example
groupBySort "example" (
column: value
sort {
direction: asc
nulls: first
sequence: 42
}
)
highlight
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | No | maxLen=255 |
condition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
column | string | Yes | maxLen=128 | |
operator | enum | Yes | = | enum=[=, !=, >, >=, <, <=, between, isNull, isNotNull, like, notLike, in, notIn, contains, doesNotContain, regexp, isInTheLast, isNotInTheLast, isInTheNext, isNotInTheNext] |
value | string | Yes | maxLen=4000 | |
Applies when highlight.operator NOT_IN_LIST between, is null, is not null, is in the last, is not in the last, is in the next, is not in the next | ||||
from | string | Yes | maxLen=1900 | |
Applies when highlight.operator = between | ||||
to | string | Yes | maxLen=1900 | |
Applies when highlight.operator = between | ||||
value | number | Yes | maxLen=22 | |
Applies when highlight.operator in (is in the last, is not in the last, is in the next, is not in the next) | ||||
unit | enum | Yes | enum=[min, hours, days, weeks, months, years] | |
Applies when highlight.operator in (is in the last, is not in the last, is in the next, is not in the next) | ||||
condition {
column: value
operator: "="
value: value
from: value
to: value
unit: min
}
highlight
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | row | enum=[row, cell] |
highlight {
type: row
}
colors
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
background | string | No | maxLen=30 | |
text | string | No | maxLen=30 |
colors {
background: value
text: text
}
execution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 |
execution {
sequence: 42
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
enabled | boolean | Yes | true |
advanced {
staticId: value
enabled: false
}
APEXlang Example
highlight "example" (
name: exampleName
condition {
column: value
operator: "="
value: value
from: value
to: value
unit: min
}
highlight {
type: row
}
colors {
background: value
text: text
}
execution {
sequence: 42
}
advanced {
staticId: value
enabled: false
}
)
pivotAggregate
savedReport.pivot = Yheading
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
heading | string | No | maxLen=4000 Identifies the aggregate column label |
heading {
heading: value
}
aggregate
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
function | enum | Yes | enum=[sum, average, max, min, median, count, countDistinct, ratioToReportSum, ratioToReportCount] | |
column | string | Yes | maxLen=128 | |
Applies when pivotAggregate.function NOT_IN_LIST COUNT, COUNT_DISTINCT, RATIO_TO_REPORT_COUNT | ||||
column | string | No | maxLen=128 | |
Applies when pivotAggregate.function in (COUNT, COUNT_DISTINCT, RATIO_TO_REPORT_COUNT) | ||||
displaySum | boolean | Yes | false | |
aggregate {
function: sum
column: value
displaySum: false
}
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
formatMask | string | No | maxLen=255 |
appearance {
formatMask: value
}
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 |
layout {
sequence: 42
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
APEXlang Example
pivotAggregate "example" (
heading {
heading: value
}
aggregate {
function: sum
column: value
displaySum: false
}
appearance {
formatMask: value
}
layout {
sequence: 42
}
advanced {
staticId: value
}
)
pivotColumn
savedReport.pivot = Y| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
column | string | Yes | maxLen=128 |
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 |
layout {
sequence: 42
}
APEXlang Example
pivotColumn "example" (
column: value
layout {
sequence: 42
}
)
pivotRowColumn
savedReport.pivot = Y| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
column | string | Yes | maxLen=128 |
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 |
layout {
sequence: 42
}
APEXlang Example
pivotRowColumn "example" (
column: value
layout {
sequence: 42
}
)
pivotSort
savedReport.pivot = Y| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
column | string | Yes | maxLen=128 |
sort
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
direction | enum | Yes | asc | enum=[asc, desc] |
nulls | enum | No | enum=[first, last] | |
sequence | integer | Yes | maxLen=32767; min=1; max=6 |
sort {
direction: asc
nulls: first
sequence: 42
}
APEXlang Example
pivotSort "example" (
column: value
sort {
direction: asc
nulls: first
sequence: 42
}
)
sort
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
column | string | Yes | maxLen=128 |
sort
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
direction | enum | Yes | asc | enum=[asc, desc] |
nulls | enum | No | enum=[first, last] | |
sequence | integer | Yes | maxLen=32767; min=1; max=6 |
sort {
direction: asc
nulls: first
sequence: 42
}
APEXlang Example
sort "example" (
column: value
sort {
direction: asc
nulls: first
sequence: 42
}
)
savedReport
region.type = interactiveGrid| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
visibility | enum | Yes | enum=[primary, alternative, public, private] | |
name | string | Yes | maxLen=255 Displays the name of the Saved Report. | |
staticId | string | Yes | maxLen=32767; regex=/^[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0-9-]*$/ |
chart
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | enum=[area, bar, bubble, donut, funnel, line, lineWithArea, pie, polar, radar, range, scatter, stock] | |
Applies when savedReport.chart = Y | ||||
label | string | Yes | ||
Applies when savedReport.chart = Y | ||||
value | string | Yes | ||
Applies when savedReport.chart = YsavedReport.type NOT_IN_LIST bubble, range, scatter, stock | ||||
valueAggregation | enum | No | enum=[sum, average, count, countDistinct, approxCountDistinct, min, max, median] | |
Applies when savedReport.chart = YsavedReport.value is set | ||||
open | string | Yes | ||
Applies when savedReport.chart = YsavedReport.type = stock | ||||
openAggregation | enum | No | enum=[sum, average, count, countDistinct, approxCountDistinct, min, max, median] | |
Applies when savedReport.chart = YsavedReport.open is set | ||||
close | string | Yes | ||
Applies when savedReport.chart = YsavedReport.type = stock | ||||
closeAggregation | enum | No | enum=[sum, average, count, countDistinct, approxCountDistinct, min, max, median] | |
Applies when savedReport.chart = YsavedReport.close is set | ||||
high | string | Yes | ||
Applies when savedReport.chart = YsavedReport.type in (range, stock) | ||||
highAggregation | enum | No | enum=[sum, average, count, countDistinct, approxCountDistinct, min, max, median] | |
Applies when savedReport.chart = YsavedReport.high is set | ||||
low | string | Yes | ||
Applies when savedReport.chart = YsavedReport.type in (range, stock) | ||||
lowAggregation | enum | No | enum=[sum, average, count, countDistinct, approxCountDistinct, min, max, median] | |
Applies when savedReport.chart = YsavedReport.low is set | ||||
volume | string | No | ||
Applies when savedReport.chart = YsavedReport.type = stock | ||||
volumeAggregation | enum | No | enum=[sum, average, count, countDistinct, approxCountDistinct, min, max, median] | |
Applies when savedReport.chart = YsavedReport.volume is set | ||||
target | string | No | ||
Applies when savedReport.chart = YsavedReport.type = funnel | ||||
targetAggregation | enum | No | enum=[sum, average, count, countDistinct, approxCountDistinct, min, max, median] | |
Applies when savedReport.chart = YsavedReport.target is set | ||||
x | string | Yes | ||
Applies when savedReport.chart = YsavedReport.type in (bubble, scatter) | ||||
xAggregation | enum | No | enum=[sum, average, count, countDistinct, approxCountDistinct, min, max, median] | |
Applies when savedReport.chart = YsavedReport.x is set | ||||
y | string | Yes | ||
Applies when savedReport.chart = YsavedReport.type in (bubble, scatter) | ||||
yAggregation | enum | No | enum=[sum, average, count, countDistinct, approxCountDistinct, min, max, median] | |
Applies when savedReport.chart = YsavedReport.y is set | ||||
z | string | Yes | ||
Applies when savedReport.chart = YsavedReport.type in (bubble, bar, range) | ||||
zAggregation | enum | No | enum=[sum, average, count, countDistinct, approxCountDistinct, min, max, median] | |
Applies when savedReport.chart = YsavedReport.type in (bubble, bar, range) and savedReport.z is set | ||||
series | string | No | ||
Applies when savedReport.chart = YsavedReport.type in (area, bar, line, lineWithArea, range, scatter) | ||||
stacked | boolean | Yes | off | |
Applies when savedReport.chart = YsavedReport.series is set | ||||
chart {
type: area
label: label
value: value
valueAggregation: sum
open: value
openAggregation: sum
close: value
closeAggregation: sum
high: value
highAggregation: sum
low: value
lowAggregation: sum
volume: value
volumeAggregation: sum
target: value
targetAggregation: sum
x: value
xAggregation: sum
y: value
yAggregation: sum
z: value
zAggregation: sum
series: value
stacked: false
}
view
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
chart | boolean | Yes | false | |
default | string | Yes | ||
rowsPerPage | string | No | ||
stretchColumns | boolean | Yes | true | |
settingsAreaExpanded | boolean | Yes | true |
view {
chart: false
default: value
rowsPerPage: value
stretchColumns: false
settingsAreaExpanded: false
}
singleRowView
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
excludeNullValues | boolean | Yes | false | |
displayedColumns | boolean | Yes | false |
singleRowView {
excludeNullValues: false
displayedColumns: false
}
flashback
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
minutesAgo | number | No | maxLen=22 | |
enabled | boolean | Yes | true | |
Applies when savedReport.minutesAgo is set | ||||
flashback {
minutesAgo: 1
enabled: false
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No |
security { authorizationScheme:@component}
axisTitle
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
label | string | No | maxLen=255 | |
Applies when savedReport.chart = YsavedReport.type in (area, bar, bubble, line, lineWithArea, range, scatter) | ||||
value | string | No | maxLen=255 | |
Applies when savedReport.chart = YsavedReport.type in (area, bar, bubble, line, lineWithArea, range, scatter) | ||||
decimalPlaces | integer | No | maxLen=32767; min=0 | |
Applies when savedReport.chart = YsavedReport.type in (area, bar, bubble, donut, line, lineWithArea, pie, range, scatter) | ||||
axisTitle {
label: label
value: value
decimalPlaces: 42
}
sort
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
by | string | Yes | LABEL | |
Applies when savedReport.chart = YsavedReport.type NOT_EQUALS stock | ||||
direction | enum | Yes | asc | enum=[asc, desc] |
Applies when savedReport.chart = YsavedReport.type NOT_EQUALS stock | ||||
nulls | enum | Yes | first | enum=[first, last] |
Applies when savedReport.chart = YsavedReport.type NOT_EQUALS stock | ||||
sort {
by: value
direction: asc
nulls: first
}
chartAppearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
orientation | enum | Yes | vertical | enum=[vertical, horizontal] |
Applies when savedReport.chart = YsavedReport.type in (area, bar, funnel, line, lineWithArea, range) | ||||
chartAppearance {
orientation: vertical
}
APEXlang Example
savedReport "example" ( visibility: primary name: exampleName staticId: value chart { type: area label: label value: value valueAggregation: sum open: value openAggregation: sum close: value closeAggregation: sum high: value highAggregation: sum low: value lowAggregation: sum volume: value volumeAggregation: sum target: value targetAggregation: sum x: value xAggregation: sum y: value yAggregation: sum z: value zAggregation: sum series: value stacked: false } view { chart: false default: value rowsPerPage: value stretchColumns: false settingsAreaExpanded: false } singleRowView { excludeNullValues: false displayedColumns: false } flashback { minutesAgo: 1 enabled: false } security { authorizationScheme:@component} axisTitle { label: label value: value decimalPlaces: 42 } sort { by: value direction: asc nulls: first } chartAppearance { orientation: vertical } )
aggregate
aggregate
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
column | string | Yes | ||
function | enum | Yes | sum | enum=[sum, average, count, countDistinct, min, max, median] |
showGrandTotal | boolean | Yes | false | |
tooltip | string | No | maxLen=32767 |
aggregate {
column: value
function: sum
showGrandTotal: false
tooltip: value
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
enabled | boolean | Yes | true |
advanced {
staticId: value
enabled: false
}
APEXlang Example
aggregate "example" (
aggregate {
column: value
function: sum
showGrandTotal: false
tooltip: value
}
advanced {
staticId: value
enabled: false
}
)
controlBreak
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
column | string | Yes |
sort
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
direction | enum | Yes | asc | enum=[asc, desc] |
nulls | enum | No | enum=[first, last] |
sort {
direction: asc
nulls: first
}
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 |
layout {
sequence: 42
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
enabled | boolean | Yes | true |
advanced {
enabled: false
}
APEXlang Example
controlBreak "example" (
column: value
sort {
direction: asc
nulls: first
}
layout {
sequence: 42
}
advanced {
enabled: false
}
)
displayColumn
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
column | string | No |
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
show | boolean | Yes | true | |
frozen | boolean | Yes | false | |
width | number | No | maxLen=22 | |
sequence | number | Yes | maxLen=22 |
layout {
show: false
frozen: false
width: 400
sequence: 42
}
APEXlang Example
displayColumn "example" (
column: value
layout {
show: false
frozen: false
width: 400
sequence: 42
}
)
filter
condition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | column | enum=[column, rowSearch] |
search | string | Yes | maxLen=4000 | |
Applies when filter.type = ROW | ||||
column | string | Yes | ||
Applies when filter.type = COLUMN | ||||
operator | enum | Yes | equals | enum=[equals, notEquals, greaterThan, greaterThanOrEquals, lessThan, lessThanOrEquals, isEmpty, isNotEmpty, in, notIn, between, notBetween, contains, doesNotContain, startsWith, doesNotStartWith, matchesRegexp, inTheLast, notInTheLast, inTheNext, notInTheNext] |
Applies when filter.type = COLUMN | ||||
value | string | Yes | maxLen=4000 | |
Applies when filter.type = COLUMN and filter.operator NOT_IN_LIST N, NN, BETWEEN, NBETWEEN, LAST, NLAST, NEXT, NNEXT | ||||
from | string | Yes | maxLen=1900 | |
Applies when filter.type = COLUMN and filter.operator in (BETWEEN, NBETWEEN) | ||||
to | string | Yes | maxLen=1900 | |
Applies when filter.type = COLUMN and filter.operator in (BETWEEN, NBETWEEN) | ||||
value | number | Yes | maxLen=22 | |
Applies when filter.type = COLUMN and filter.operator in (LAST, NLAST, NEXT, NNEXT) | ||||
unit | enum | Yes | enum=[min, hours, days, weeks, months, years] | |
Applies when filter.type = COLUMN and filter.operator in (LAST, NLAST, NEXT, NNEXT) | ||||
caseSensitive | boolean | Yes | false | |
Applies when filter.type = ROW or filter.operator in (C, NC, S, NS, REGEXP) | ||||
condition {
type: column
search: value
column: value
operator: equals
value: value
from: value
to: value
unit: min
caseSensitive: false
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
enabled | boolean | Yes | true |
advanced {
enabled: false
}
APEXlang Example
filter "example" (
condition {
type: column
search: value
column: value
operator: equals
value: value
from: value
to: value
unit: min
caseSensitive: false
}
advanced {
enabled: false
}
)
highlight
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=40 |
condition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | column | enum=[column, rowSearch] |
search | string | Yes | maxLen=4000 | |
Applies when highlight.type = ROW | ||||
column | string | Yes | ||
Applies when highlight.type = COLUMN | ||||
operator | enum | Yes | equals | enum=[equals, notEquals, greaterThan, greaterThanOrEquals, lessThan, lessThanOrEquals, isEmpty, isNotEmpty, in, notIn, between, notBetween, contains, doesNotContain, startsWith, doesNotStartWith, matchesRegexp, inTheLast, notInTheLast, inTheNext, notInTheNext] |
Applies when highlight.type = COLUMN | ||||
value | string | Yes | maxLen=4000 | |
Applies when highlight.type = COLUMN and highlight.operator NOT_IN_LIST N, NN, BETWEEN, NBETWEEN, LAST, NLAST, NEXT, NNEXT | ||||
from | string | Yes | maxLen=1900 | |
Applies when highlight.type = COLUMN and highlight.operator in (BETWEEN, NBETWEEN) | ||||
to | string | Yes | maxLen=1900 | |
Applies when highlight.type = COLUMN and highlight.operator in (BETWEEN, NBETWEEN) | ||||
value | number | Yes | maxLen=22 | |
Applies when highlight.type = COLUMN and highlight.operator in (LAST, NLAST, NEXT, NNEXT) | ||||
unit | enum | Yes | enum=[min, hours, days, weeks, months, years] | |
Applies when highlight.type = COLUMN and highlight.operator in (LAST, NLAST, NEXT, NNEXT) | ||||
caseSensitive | boolean | Yes | false | |
Applies when highlight.type = ROW or highlight.operator in (C, NC, S, NS, REGEXP) | ||||
condition {
type: column
search: value
column: value
operator: equals
value: value
from: value
to: value
unit: min
caseSensitive: false
}
highlight
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | row | enum=[row, cell] |
column | string | Yes | ||
Applies when highlight.type = COLUMN | ||||
highlight {
type: row
column: value
}
colors
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
background | string | No | maxLen=30 | |
text | string | No | maxLen=30 |
colors {
background: value
text: text
}
execution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 |
execution {
sequence: 42
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
enabled | boolean | Yes | true |
advanced {
staticId: value
enabled: false
}
APEXlang Example
highlight "example" (
name: exampleName
condition {
type: column
search: value
column: value
operator: equals
value: value
from: value
to: value
unit: min
caseSensitive: false
}
highlight {
type: row
column: value
}
colors {
background: value
text: text
}
execution {
sequence: 42
}
advanced {
staticId: value
enabled: false
}
)
sort
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
column | string | Yes |
sort
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
direction | enum | Yes | asc | enum=[asc, desc] |
nulls | enum | Yes | enum=[first, last] | |
sequence | number | Yes | maxLen=22 |
sort {
direction: asc
nulls: first
sequence: 42
}
APEXlang Example
sort "example" (
column: value
sort {
direction: asc
nulls: first
sequence: 42
}
)
searchSource
region.type = searchRegion| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 Enter a descriptive name for this search source. | |
searchConfig | string | Yes | ||
useAsInitialResult | boolean | Yes | false |
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 Enter the display sequence for this search configuration. The display sequence determines the order in which search configurations are searched and results are ordered. Note: If two search configurations have the same sequence value then results might be displayed in a different order when the application is exported and imported into another environment, such as a test or production environment. To ensure consistency, Oracle recommends you specify unique sequence numbers for every search configuration, or at least for those within the same search region. |
layout {
sequence: 42
}
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
overrideLabel | string | No | maxLen=32767 | |
maxResults | integer | No | maxLen=32767; min=1 |
appearance {
overrideLabel: unique-id
maxResults: 5
}
iconAndBadge
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
iconCssClasses | string | No | maxLen=255 The icon or media, which is displayed with a search result, is specified in the Search Configuration, within Shared Components. This attribute allows to specify Icon CSS classes which override the Search Configuration settings. |
iconAndBadge {
iconCssClasses: fa-check
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when searchSource.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when searchSource.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when searchSource.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when searchSource.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when searchSource.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when searchSource.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when searchSource.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when searchSource.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when searchSource.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when searchSource.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when searchSource.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when searchSource.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when searchSource.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when searchSource.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when searchSource.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when searchSource.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when searchSource.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when searchSource.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
searchSource "example" ( name: exampleName searchConfig:@componentuseAsInitialResult: false layout { sequence: 42 } appearance { overrideLabel: unique-id maxResults: 5 } iconAndBadge { iconCssClasses: fa-check } advanced { staticId: value } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
series
region.type = chart| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
type | enum | Yes | bar | enum=[area, bar, line, lineWithArea, barRange, areaRange] |
Applies when chart.type = combo | ||||
type | enum | Yes | barRange | enum=[barRange, areaRange] |
Applies when chart.type = range | ||||
type | enum | Yes | bar | enum=[area, bar, line, lineWithArea, scatter, bubble, barRange, areaRange] |
Applies when chart.type = polar | ||||
type | enum | Yes | area | enum=[area, areaRange, line] |
Applies when chart.type = radar | ||||
type | enum | Yes | boxPlot | enum=[area, bar, boxPlot, line, lineWithArea] |
Applies when chart.type = boxPlot | ||||
execution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 |
execution {
sequence: 42
}
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
location | enum | Yes | localDatabase | enum=[localDatabase, restEnabledSql, restSource, jsonDualityView, jsonSource, regionSource, sampleData] |
remoteServer | string | Yes | ||
Applies when series.location = REMOTE | ||||
sampleData | enum | Yes | enum=[employees, tasks, products, projects] | |
Applies when series.location = SAMPLE_DATA | ||||
type | string | Yes | TABLE | |
Applies when series.location in (LOCAL, REMOTE) | ||||
tableOwner | string | No | maxLen=32767 | |
Applies when series.type = TABLE | ||||
tableName | string | Yes | maxLen=128 | |
Applies when series.type = TABLE | ||||
includeRowidColumn | boolean | Yes | false | |
Applies when series.type = TABLE and series.remoteServer supports IS_ORACLE or not set | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when series.type = TABLE | ||||
graphOwner | string | No | maxLen=32767 | |
Applies when series.type = GRAPH | ||||
graphName | string | Yes | maxLen=32767 | |
Applies when series.type = GRAPH | ||||
matchClause | multiline string | Yes | maxLen=4000 | |
Applies when series.type = GRAPH | ||||
columnsClause | multiline string | Yes | maxLen=4000 | |
Applies when series.type = GRAPH | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when series.type = GRAPH | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=32767 | |
Applies when series.type = SQL | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when series.type = FUNC_BODY_RETURNING_SQL | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when series.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when series.language = JAVASCRIPT | ||||
restSource | string | Yes | ||
Applies when series.location = WEB_SOURCE | ||||
jsonDualityView | string | Yes | ||
Applies when series.location = DUALITY_VIEW | ||||
jsonSource | string | Yes | ||
Applies when series.location = JSON_COLLECTION | ||||
pageItemsToSubmit | array of strings | No | maxLen=4000 Enter a comma separated list of page items on the current page to be set into session state when the chart data gets read with a separate request. | |
Applies when series.location NOT_EQUALS REGION_SOURCE | ||||
optimizerHint | string | No | maxLen=255 | |
Applies when series.location in (LOCAL, REMOTE, WEB_SOURCE, DUALITY_VIEW, JSON_COLLECTION) | ||||
source { location: localDatabase remoteServer:@componentsampleData: employees type: value tableOwner: value tableName: value includeRowidColumn: false whereClause: ``` status = 'ACTIVE' ``` graphOwner: value graphName: value matchClause: ``` Lorem ipsum dolor sit amet. ``` columnsClause: ``` Lorem ipsum dolor sit amet. ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` restSource:@componentjsonDualityView:@componentjsonSource:@componentpageItemsToSubmit: [ value1 value2 ] optimizerHint: value }
orderBy
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[staticValue, item] | |
Applies when series.location in (LOCAL, REMOTE, SAMPLE_DATA) and series.type in (TABLE, GRAPH, SQL, FUNC_BODY_RETURNING_SQL, $NULL$) or not set | ||||
orderByClause | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when series.type = STATIC and series.type in (TABLE, SQL, FUNC_BODY_RETURNING_SQL, $NULL$) or not set | ||||
item | complex | Yes | maxLen=32767 | |
Applies when series.type = ITEM and series.type in (TABLE, SQL, FUNC_BODY_RETURNING_SQL, $NULL$) or not set | ||||
orderByClause | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when series.type = STATIC and series.type = GRAPH | ||||
item | complex | Yes | maxLen=32767 | |
Applies when series.type = ITEM and series.type = GRAPH | ||||
orderBy {
type: staticValue
orderByClause: ```
created_on desc
```
item: value
}
dataProfile
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
nestedRows | string | No | ||
Applies when series.restSource supports HAS_ARRAY_COLUMNS | ||||
nestedRows | string | No | ||
Applies when series.jsonDualityView supports HAS_ARRAY_COLUMNS | ||||
nestedRows | string | No | ||
Applies when series.jsonSource supports HAS_ARRAY_COLUMNS | ||||
dataProfile { nestedRows:@component}
restSynchronization
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
useLocalTable | boolean | Yes | false | |
Applies when series.restSource supports HAS_SYNC_HAS_NO_ARRAY_COLUMNS or condition matches or series.nestedRows supports IS_SYNCED | ||||
restSynchronization {
useLocalTable: false
}
externalFilterAndOrderBy
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
enabled | boolean | Yes | false | |
Applies when series.restSource is set and series.useLocalTable in (N, $NULL$) or not set | ||||
filter | multiline string | No | maxLen=4000 | |
Applies when series.enabled = Y | ||||
orderByType | enum | No | enum=[staticValue, item] | |
Applies when series.enabled = Y | ||||
orderBy | multiline string | Yes | maxLen=255 | |
Applies when series.orderByType = STATIC | ||||
item | complex | Yes | maxLen=4000 | |
Applies when series.orderByType = ITEM | ||||
externalFilterAndOrderBy {
enabled: false
filter: ```
Lorem ipsum dolor sit amet.
```
orderByType: staticValue
orderBy: ```
Lorem ipsum dolor sit amet.
```
item: value
}
localPostProcessing
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[whereOrderByClause, sqlQuery, plsqlFunctionBody] | |
Applies when series.restSource is set | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when series.type = WHERE_ORDER_BY_CLAUSE | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=32767 | |
Applies when series.type = SQL | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when series.type = FUNC_BODY_RETURNING_SQL | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when series.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when series.language = JAVASCRIPT | ||||
orderByType | enum | No | enum=[staticValue, item] | |
Applies when series.type = WHERE_ORDER_BY_CLAUSE | ||||
orderByClause | multiline string | Yes | language=sql; maxLen=255 | |
Applies when series.orderByType = STATIC | ||||
item | complex | Yes | maxLen=32767 | |
Applies when series.orderByType = ITEM | ||||
orderByItem | complex | No | maxLen=32767 | |
Applies when series.type in (SQL, FUNC_BODY_RETURNING_SQL) | ||||
type | enum | No | enum=[whereOrderByClause, sqlQuery, plsqlFunctionBody] | |
Applies when series.jsonDualityView is set | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when series.type = WHERE_ORDER_BY_CLAUSE | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=32767 | |
Applies when series.type = SQL | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when series.type = FUNC_BODY_RETURNING_SQL | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when series.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when series.language = JAVASCRIPT | ||||
orderByType | enum | No | enum=[staticValue, item] | |
Applies when series.type = WHERE_ORDER_BY_CLAUSE | ||||
orderByClause | multiline string | Yes | language=sql; maxLen=255 | |
Applies when series.orderByType = STATIC | ||||
item | complex | Yes | maxLen=32767 | |
Applies when series.orderByType = ITEM | ||||
orderByItem | complex | No | maxLen=32767 | |
Applies when series.type in (SQL, FUNC_BODY_RETURNING_SQL) | ||||
type | enum | No | enum=[whereOrderByClause, sqlQuery, plsqlFunctionBody] | |
Applies when series.jsonSource is set | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when series.type = WHERE_ORDER_BY_CLAUSE | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=32767 | |
Applies when series.type = SQL | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when series.type = FUNC_BODY_RETURNING_SQL | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when series.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when series.language = JAVASCRIPT | ||||
orderByType | enum | No | enum=[staticValue, item] | |
Applies when series.type = WHERE_ORDER_BY_CLAUSE | ||||
orderByClause | multiline string | Yes | language=sql; maxLen=255 | |
Applies when series.orderByType = STATIC | ||||
item | complex | Yes | maxLen=32767 | |
Applies when series.orderByType = ITEM | ||||
orderByItem | complex | No | maxLen=32767 | |
Applies when series.type in (SQL, FUNC_BODY_RETURNING_SQL) | ||||
localPostProcessing {
type: whereOrderByClause
whereClause: ```
status = 'ACTIVE'
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: plsql
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
orderByType: staticValue
orderByClause: ```
created_on desc
```
item: value
orderByItem: value
}
remoteCache
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
caching | enum | No | enum=[allUsers, user, session] | |
Applies when series.location = REMOTE | ||||
timeout | multiline string | Yes | maxLen=255 | |
Applies when series.caching is set | ||||
remoteCache {
caching: allUsers
timeout: ```
Lorem ipsum dolor sit amet.
```
}
timeline
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
startDateSourceType | enum | Yes | enum=[databaseColumn, item] | |
Applies when chart.type = gantt | ||||
startDateColumn | string | No | maxLen=32767 | |
Applies when chart.type = gantt and series.startDateSourceType = DB_COLUMN | ||||
startDateItem | string | No | maxLen=255 | |
Applies when chart.type = gantt and series.startDateSourceType = ITEM | ||||
endDateSourceType | enum | Yes | enum=[databaseColumn, item] | |
Applies when chart.type = gantt | ||||
endDateColumn | string | No | maxLen=32767 | |
Applies when chart.type = gantt and series.endDateSourceType = DB_COLUMN | ||||
endDateItem | string | No | maxLen=255 | |
Applies when chart.type = gantt and series.endDateSourceType = ITEM | ||||
timeline {
startDateSourceType: databaseColumn
startDateColumn: value
startDateItem: value
endDateSourceType: databaseColumn
endDateColumn: value
endDateItem: value
}
columnMapping
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
seriesName | string | No | maxLen=32767 | |
Applies when chart.type NOT_IN_LIST dial, stock, gantt | ||||
label | string | Yes | maxLen=32767 | |
Applies when chart.type NOT_IN_LIST dial, gantt | ||||
label | string | No | maxLen=32767 | |
Applies when chart.type = dial | ||||
valueAggregation | enum | No | enum=[count, sum, average, median, min, max, countDistinct, approxCountDistinct] | |
Applies when condition matches and series.type NOT_IN_LIST SQL, FUNC_BODY_RETURNING_SQL or not set | ||||
value | string | Yes | maxLen=32767 | |
Applies when condition matches and series.valueAggregation in ($NULL$, SUM, AVG, MEDIAN, MIN, MAX, COUNT_DISTINCT, APPROX_COUNT_DISTINCT) or not set | ||||
open | string | Yes | maxLen=32767 | |
Applies when chart.type = stock | ||||
low | string | Yes | maxLen=32767 | |
Applies when chart.type = stock or series.type in (barRange, areaRange) or series.type in (barRange, areaRange) or series.type in (barRange, areaRange) or series.type = areaRange | ||||
high | string | Yes | maxLen=32767 | |
Applies when chart.type = stock or series.type in (barRange, areaRange) or series.type in (barRange, areaRange) or series.type in (barRange, areaRange) or series.type = areaRange | ||||
low | string | No | maxLen=32767 | |
Applies when series.type = boxPlot | ||||
high | string | No | maxLen=32767 | |
Applies when series.type = boxPlot | ||||
close | string | Yes | maxLen=32767 | |
Applies when chart.type = stock | ||||
volume | string | No | maxLen=32767 | |
Applies when chart.type = stock | ||||
x | string | Yes | maxLen=32767 | |
Applies when chart.type in (bubble, scatter) or series.type in (bubble, scatter) | ||||
y | string | Yes | maxLen=32767 | |
Applies when chart.type in (bubble, scatter) or series.type in (bubble, scatter) | ||||
z | string | No | maxLen=32767 | |
Applies when chart.type in (bar, bubble) or series.type in (bar, barRange) or series.type = barRange or series.type in (bar, bubble, barRange) or series.type in (bar, boxPlot) | ||||
targetValue | string | No | maxLen=32767 | |
Applies when chart.type = funnel | ||||
minValue | string | No | maxLen=32767 | |
Applies when chart.type = dial | ||||
maxValue | string | Yes | maxLen=32767 | |
Applies when chart.type = dial | ||||
rowId | string | No | maxLen=32767 | |
Applies when chart.type = gantt | ||||
rowName | string | No | maxLen=32767 | |
Applies when chart.type = gantt | ||||
taskId | string | Yes | maxLen=32767 | |
Applies when chart.type = gantt | ||||
taskName | string | Yes | maxLen=32767 | |
Applies when chart.type = gantt | ||||
taskStartDate | string | No | maxLen=32767 | |
Applies when chart.type = gantt | ||||
taskEndDate | string | No | maxLen=32767 | |
Applies when chart.type = gantt | ||||
progress | string | No | maxLen=32767 | |
Applies when chart.type = gantt | ||||
baselineStartDate | string | No | maxLen=32767 | |
Applies when chart.type = gantt | ||||
baselineEndDate | string | No | maxLen=32767 | |
Applies when chart.type = gantt | ||||
customTooltip | string | No | maxLen=32767 | |
legendTooltip | string | No | maxLen=32767 | |
Applies when chart.type in (area, bar, bubble, line, lineWithArea, scatter, stock) or series.type in (area, bar, line, lineWithArea) or series.type in (area, bar, line, lineWithArea, bubble, scatter) or series.type in (area, line) or series.type in (area, bar, line, lineWithArea, boxPlot) | ||||
labelTooltip | string | No | maxLen=32767 | |
Applies when chart.type in (area, bar, bubble, line, lineWithArea, scatter, stock) or series.type in (area, bar, line, lineWithArea) or series.type in (area, bar, line, lineWithArea, bubble, scatter) or series.type in (area, line) or series.type in (area, bar, line, lineWithArea, boxPlot) | ||||
customColumn | string | No | maxLen=32767 | |
Applies when chart.type NOT_EQUALS gantt | ||||
columnMapping {
seriesName: value
label: label
valueAggregation: count
value: value
open: value
low: value
high: value
close: value
volume: value
x: value
y: value
z: value
targetValue: value
minValue: value
maxValue: value
rowId: value
rowName: value
taskId: value
taskName: value
taskStartDate: value
taskEndDate: value
progress: value
baselineStartDate: value
baselineEndDate: value
customTooltip: value
legendTooltip: value
labelTooltip: label
customColumn: value
}
viewport
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
startDateSourceType | enum | No | enum=[databaseColumn, item] | |
Applies when chart.type = gantt | ||||
startDateColumn | string | No | maxLen=32767 | |
Applies when chart.type = gantt and series.startDateSourceType = DB_COLUMN | ||||
startDateItem | string | No | maxLen=255 | |
Applies when chart.type = gantt and series.startDateSourceType = ITEM | ||||
endDateSourceType | enum | No | enum=[databaseColumn, item] | |
Applies when chart.type = gantt | ||||
endDateColumn | string | No | maxLen=32767 | |
Applies when chart.type = gantt and series.endDateSourceType = DB_COLUMN | ||||
endDateItem | string | No | maxLen=255 | |
Applies when chart.type = gantt and series.endDateSourceType = ITEM | ||||
viewport {
startDateSourceType: databaseColumn
startDateColumn: value
startDateItem: value
endDateSourceType: databaseColumn
endDateColumn: value
endDateItem: value
}
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
taskCssClasses | array of strings | No | maxLen=255 | |
Applies when chart.type = gantt | ||||
progressCssClasses | array of strings | No | maxLen=255 | |
Applies when chart.type = gantt | ||||
baselineCssClasses | array of strings | No | maxLen=255 | |
Applies when chart.type = gantt | ||||
color | string | No | maxLen=255 | |
Applies when chart.type NOT_IN_LIST gantt | ||||
plotAreaColor | string | No | maxLen=255 | |
Applies when chart.type = dial | ||||
q2Color | string | No | maxLen=255 | |
Applies when chart.type = boxPlot | ||||
q3Color | string | No | maxLen=255 | |
Applies when chart.type = boxPlot | ||||
assignedToY2Axis | boolean | Yes | off | |
Applies when chart.type in (area, bar, line, lineWithArea, boxPlot, combo) | ||||
stackCategory | string | No | maxLen=100 | |
Applies when chart.type in (area, bar, line, lineWithArea, combo) | ||||
appearance {
taskCssClasses: [
value1
value2
]
progressCssClasses: [
value1
value2
]
baselineCssClasses: [
value1
value2
]
color: "#007bff"
plotAreaColor: value
q2Color: value
q3Color: value
assignedToY2Axis: false
stackCategory: value
}
link
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[redirectThisApp, redirectOtherApp, redirectUrl, redirectUrlReturnedByFirstCol] | |
Applies when chart.type NOT_IN_LIST dial, gantt | ||||
target | complex | Yes | maxLen=32767 | |
Applies when series.type = REDIRECT_PAGE | ||||
target | complex | Yes | maxLen=32767 | |
Applies when series.type = REDIRECT_APP | ||||
targetUrl | string | Yes | maxLen=4000 | |
Applies when series.type = REDIRECT_URL | ||||
link {
type: redirectThisApp
target: value
targetUrl: value
}
thresholds
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
values | string | No | maxLen=4000 | |
Applies when chart.type = dial | ||||
colors | string | No | maxLen=4000 | |
Applies when chart.type = dial | ||||
display | enum | No | enum=[all, onIndicator, currentThresholdOnly] | |
Applies when chart.type = dial | ||||
thresholds {
values: value
colors: "#007bff"
display: all
}
referenceLines
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
values | string | No | maxLen=4000 | |
Applies when chart.type = dial | ||||
colors | string | No | maxLen=4000 | |
Applies when chart.type = dial | ||||
referenceLines {
values: value
colors: "#007bff"
}
line
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
style | enum | Yes | solid | enum=[dotted, dashed, solid] |
Applies when chart.type in (line, lineWithArea, bubble, scatter, combo) | ||||
width | integer | No | maxLen=32767 | |
Applies when chart.type in (line, lineWithArea, bubble, scatter, combo) | ||||
type | enum | Yes | auto | enum=[centeredStepped, curved, centeredSegmented, stepped, segmented, straight, auto, none] |
Applies when chart.type in (line, lineWithArea, area, scatter) or series.type = areaRange or series.type in (line, lineWithArea, area, areaRange) or series.type in (line, lineWithArea, area) or series.type in (line, lineWithArea, area, scatter, areaRange) or series.type in (line, areaRange, area) | ||||
line {
style: dotted
width: 400
type: centeredStepped
}
marker
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
show | enum | Yes | auto | enum=[auto, true, false] |
Applies when chart.type in (line, lineWithArea, scatter, area, bubble, boxPlot) or series.type = areaRange or series.type in (line, lineWithArea, area, areaRange) or series.type in (line, lineWithArea, area) or series.type in (line, lineWithArea, area, scatter, areaRange) or series.type in (line, areaRange, area) | ||||
shape | enum | Yes | auto | enum=[auto, circle, diamond, human, plus, square, star, triangleDown, triangleUp] |
Applies when chart.type in (line, lineWithArea, scatter, area, bubble, boxPlot, combo, range) and series.show NOT_EQUALS off | ||||
marker {
show: auto
shape: auto
}
label
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
show | boolean | Yes | false | |
position | enum | Yes | auto | enum=[center, outsideSlice, aboveMarker, belowMarker, beforeMarker, afterMarker, insideBarEdge, outsideBarEdge, auto, none, start]For range series, if an array of two values are provided, the first and second value will apply to the low and high point respectively. The Outside Slice value only applies to pie charts. The Above Marker, Below Marker, Before Marker, and After Marker values only apply to line, area, scatter, and bubble series. The Inside Bar Edge and Outside Bar Edge values only apply to non-polar bar series. Stacked bars do not support Outside Bar Edge. The Start value only applies to horizontal and vertical Status Meter Gauge charts. The chart does not currently adjust layout to fit labels within the plot area or deal with any overlaps between labels. |
Applies when series.show = Y and chart.type NOT_IN_LIST gantt | ||||
displayAs | enum | Yes | label | enum=[label, percentage, value, labelValue, labelPercentage, labelPercentageValue, percentageValue] |
Applies when series.show = Y and chart.type in (pie, donut) | ||||
cssStyling | array of strings | No | maxLen=255 | |
Applies when series.show = Y and chart.type NOT_IN_LIST dial, gantt | ||||
fontFamily | enum | No | enum=[arial, arialBlack, bookman, comicSansMs, courier, courierNew, garamond, georgia, helvetica, impact, palatino, times, timesNewRoman, trebuchetMs, verdana] | |
Applies when series.show = Y | ||||
fontStyle | enum | No | enum=[normal, italic, oblique] | |
Applies when series.show = Y | ||||
fontSize | enum | No | enum=[8, 10, 12, 14, 16, 18, 20, 22] | |
Applies when series.show = Y | ||||
fontColor | string | No | maxLen=255 | |
Applies when series.show = Y | ||||
taskLabelPosition | enum | Yes | end | enum=[start, end, innerCenter, innerStart, innerEnd] |
Applies when chart.type = gantt and series.show = Y | ||||
label {
show: false
position: center
displayAs: label
cssStyling: [
value1
value2
]
fontFamily: arial
fontStyle: normal
fontSize: "8"
fontColor: value
taskLabelPosition: start
}
performance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
maxRowsToProcess | integer | No | maxLen=32767; min=1 | |
Applies when chart.type NOT_EQUALS dial | ||||
performance {
maxRowsToProcess: 5
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
javaScriptStaticId | string | No | maxLen=255 | |
staticId | string | No | maxLen=255 Enter a unique Static ID for the chart series. The Static ID can be useful when developing custom JavaScript behavior for the chart series or to refer it in application export files. Be cautious when changing it after creation. |
advanced {
javaScriptStaticId: value
staticId: value
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when series.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when series.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when series.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when series.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when series.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when series.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when series.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when series.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when series.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when series.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when series.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when series.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when series.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when series.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when series.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when series.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when series.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when series.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No |
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
APEXlang Example
series "example" ( name: exampleName type: area execution { sequence: 42 } source { location: localDatabase remoteServer:@componentsampleData: employees type: value tableOwner: value tableName: value includeRowidColumn: false whereClause: ``` status = 'ACTIVE' ``` graphOwner: value graphName: value matchClause: ``` Lorem ipsum dolor sit amet. ``` columnsClause: ``` Lorem ipsum dolor sit amet. ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` restSource:@componentjsonDualityView:@componentjsonSource:@componentpageItemsToSubmit: [ value1 value2 ] optimizerHint: value } orderBy { type: staticValue orderByClause: ``` created_on desc ``` item: value } dataProfile { nestedRows:@component} restSynchronization { useLocalTable: false } externalFilterAndOrderBy { enabled: false filter: ``` Lorem ipsum dolor sit amet. ``` orderByType: staticValue orderBy: ``` Lorem ipsum dolor sit amet. ``` item: value } localPostProcessing { type: whereOrderByClause whereClause: ``` status = 'ACTIVE' ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` orderByType: staticValue orderByClause: ``` created_on desc ``` item: value orderByItem: value } remoteCache { caching: allUsers timeout: ``` Lorem ipsum dolor sit amet. ``` } timeline { startDateSourceType: databaseColumn startDateColumn: value startDateItem: value endDateSourceType: databaseColumn endDateColumn: value endDateItem: value } columnMapping { seriesName: value label: label valueAggregation: count value: value open: value low: value high: value close: value volume: value x: value y: value z: value targetValue: value minValue: value maxValue: value rowId: value rowName: value taskId: value taskName: value taskStartDate: value taskEndDate: value progress: value baselineStartDate: value baselineEndDate: value customTooltip: value legendTooltip: value labelTooltip: label customColumn: value } viewport { startDateSourceType: databaseColumn startDateColumn: value startDateItem: value endDateSourceType: databaseColumn endDateColumn: value endDateItem: value } appearance { taskCssClasses: [ value1 value2 ] progressCssClasses: [ value1 value2 ] baselineCssClasses: [ value1 value2 ] color: "#007bff" plotAreaColor: value q2Color: value q3Color: value assignedToY2Axis: false stackCategory: value } link { type: redirectThisApp target: value targetUrl: value } thresholds { values: value colors: "#007bff" display: all } referenceLines { values: value colors: "#007bff" } line { style: dotted width: 400 type: centeredStepped } marker { show: auto shape: auto } label { show: false position: center displayAs: label cssStyling: [ value1 value2 ] fontFamily: arial fontStyle: normal fontSize: "8" fontColor: value taskLabelPosition: start } performance { maxRowsToProcess: 5 } advanced { javaScriptStaticId: value staticId: value } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@component} config { buildOption:@component} )
parameter
series.restSource is set and series.useLocalTable = N or not set| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes |
parameter
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
ignoreOutput | boolean | Yes | true | |
Applies when parameter.name supports IN_OUT_PARAMETER and parameter.name NOT_FEATURES FETCH_COLLECTION_OPERATION_PRM | ||||
parameter {
ignoreOutput: false
}
value
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | enum=[staticValue, restSourceDefault, item, sqlQuery, expression, functionBody, collectionClob, preference, parentColumn, null] | |
staticValue | multiline string | Yes | maxLen=4000 | |
Applies when parameter.type = STATIC and parameter.name NOT_FEATURES BOOLEAN_PARAMETER | ||||
staticValue | enum | Yes | enum=[true, false] | |
Applies when parameter.type = STATIC and parameter.name supports BOOLEAN_PARAMETER | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.type = SQL_QUERY | ||||
item | string | Yes | maxLen=255 | |
Applies when parameter.type = ITEM | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when parameter.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when parameter.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
preference | string | Yes | maxLen=255 | |
Applies when parameter.type = PREFERENCE | ||||
name | string | Yes | maxLen=255 | |
Applies when parameter.type = COLLECTION | ||||
formatMask | string | No | maxLen=255 Format mask to convert the Static, Item or Preference value to the data type of the REST Source Parameter. | |
Applies when parameter.name supports NUMBER_PARAMETER, DATE_PARAMETER, TIMESTAMP_PARAMETER, TIMESTAMP_TZ_PARAMETER and parameter.type in (STATIC, ITEM, PREFERENCE) | ||||
trueValue | string | No | maxLen=10 | |
Applies when parameter.name supports BOOLEAN_PARAMETER and parameter.type in (ITEM, PREFERENCE) | ||||
falseValue | string | No | maxLen=10 | |
Applies when parameter.name supports BOOLEAN_PARAMETER and parameter.type in (ITEM, PREFERENCE) | ||||
column | string | Yes | ||
Applies when parameter.type = PARENT_COLUMN | ||||
value { type: staticValue staticValue: ``` Lorem ipsum dolor sit amet. ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` item: value language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` preference: value name: exampleName formatMask: value trueValue: value falseValue: value column:@component}
APEXlang Example
parameter "example" ( name:@componentparameter { ignoreOutput: false } value { type: staticValue staticValue: ``` Lorem ipsum dolor sit amet. ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` item: value language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` preference: value name: exampleName formatMask: value trueValue: value falseValue: value column:@component} )
validation
app.globalPage NOT_EQUALS #COMPONENT_PAGE_ID#| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 Enter the name for the validation. This name should be descriptive so that developers can easily identify conditions being checked. |
execution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 |
execution {
sequence: 42
}
validation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
editableRegion | string | No | ||
type | enum | Yes | expression | enum=[rowsReturned, noRowsReturned, expression, plsqlError, functionBodyReturningBoolean, functionBody, itemIsNotNull, itemIsNotNullOrZero, itemIsNotZero, itemContainsNoSpaces, itemIsAlphanumeric, itemIsNumeric, itemIsAValidDate, itemIsAValidTimestamp, item=Value, item!=Value, itemIsContainedInValue, itemIsNotContainedInValue, itemContainsOnlyCharsInValue, itemContainsAtLeastOneOfCharsInValue, itemContainsNoneOfCharsInValue, itemMatchesRegexp] |
Applies when validation.editableRegion NULL | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when validation.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when validation.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when validation.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when validation.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when validation.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when validation.type = FUNC_BODY_RETURNING_BOOLEAN | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when validation.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when validation.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when validation.type = FUNC_BODY_RETURNING_ERR_TEXT | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when validation.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when validation.language = JAVASCRIPT | ||||
plsqlCodeRaisingError | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when validation.type = PLSQL_ERROR | ||||
item | string | Yes | maxLen=255 | |
Applies when validation.type STARTS_WITH_ANY ITEM, REGULAR_EXPRESSION | ||||
regexp | string | Yes | maxLen=4000 | |
Applies when validation.type = REGULAR_EXPRESSION | ||||
value | multiline string | Yes | maxLen=4000 | |
Applies when validation.type in (ITEM_IN_VALIDATION_EQ_STRING2, ITEM_IN_VALIDATION_NOT_EQ_STRING2, ITEM_IN_VALIDATION_IN_STRING2, ITEM_IN_VALIDATION_NOT_IN_STRING2, ITEM_IN_VALIDATION_CONTAINS_AT_LEAST_ONE_CHAR_IN_STRING2, ITEM_IN_VALIDATION_CONTAINS_ONLY_CHAR_IN_STRING2, ITEM_IN_VALIDATION_CONTAINS_NO_CHAR_IN_STRING2) | ||||
type | enum | Yes | expression | enum=[rowsReturned, noRowsReturned, expression, plsqlError, functionBodyReturningBoolean, functionBody, columnIsNotNull, columnIsNotNullOrZero, columnIsNotZero, columnContainsNoSpaces, columnIsAlphanumeric, columnIsNumeric, columnIsAValidDate, columnIsAValidTimestamp, column=Value, column!=Value, columnIsContainedInValue, columnIsNotContainedInValue, columnContainsOnlyCharsInValue, columnContainsAtLeastOneOfCharsInValue, columnContainsNoneOfCharsInValue, columnMatchesRegexp] |
Applies when validation.editableRegion is set | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when validation.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when validation.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when validation.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when validation.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when validation.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when validation.type = FUNC_BODY_RETURNING_BOOLEAN | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when validation.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when validation.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when validation.type = FUNC_BODY_RETURNING_ERR_TEXT | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when validation.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when validation.language = JAVASCRIPT | ||||
plsqlCodeRaisingError | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when validation.type = PLSQL_ERROR | ||||
column | string | Yes | maxLen=128 | |
Applies when validation.type STARTS_WITH_ANY ITEM, REGULAR_EXPRESSION | ||||
regexp | string | Yes | maxLen=4000 | |
Applies when validation.type = REGULAR_EXPRESSION | ||||
value | multiline string | Yes | maxLen=4000 | |
Applies when validation.type in (ITEM_IN_VALIDATION_EQ_STRING2, ITEM_IN_VALIDATION_NOT_EQ_STRING2, ITEM_IN_VALIDATION_IN_STRING2, ITEM_IN_VALIDATION_NOT_IN_STRING2, ITEM_IN_VALIDATION_CONTAINS_AT_LEAST_ONE_CHAR_IN_STRING2, ITEM_IN_VALIDATION_CONTAINS_ONLY_CHAR_IN_STRING2, ITEM_IN_VALIDATION_CONTAINS_NO_CHAR_IN_STRING2) | ||||
alwaysExecute | boolean | Yes | false | |
validation { editableRegion:@componenttype: rowsReturned sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` plsqlCodeRaisingError: ``` apex_debug.message('Processing APEXlang component'); apex_collection.create_or_truncate_collection( p_collection_name => 'EXAMPLE_ROWS' ); ``` item: value regexp: value value: ``` Lorem ipsum dolor sit amet. ``` column: value alwaysExecute: false }
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
error
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
errorMessage | multiline string | Yes | maxLen=4000 | |
Applies when validation.type NOT_EQUALS FUNC_BODY_RETURNING_ERR_TEXT or not set and validation.type NOT_EQUALS FUNC_BODY_RETURNING_ERR_TEXT or not set | ||||
displayLocation | enum | Yes | inlineWithFieldAndInNotification | enum=[inlineWithFieldAndInNotification, inlineWithField, inlineInNotification, onErrorPage] |
associatedItem | string | No | ||
Applies when validation.editableRegion NULL | ||||
associatedColumn | string | No | maxLen=255 | |
Applies when validation.editableRegion is set | ||||
error { errorMessage: ``` Lorem ipsum dolor sit amet. ``` displayLocation: inlineWithFieldAndInNotification associatedItem:@componentassociatedColumn: value }
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
whenButtonPressed | string | No | ||
executionScope | enum | Yes | forCreatedAndModifiedRows | enum=[forCreatedAndModifiedRows, allSubmittedRows] |
Applies when validation.editableRegion is set | ||||
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when validation.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when validation.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when validation.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when validation.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when validation.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when validation.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when validation.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when validation.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when validation.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when validation.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when validation.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when validation.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when validation.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when validation.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when validation.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when validation.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when validation.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when validation.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
executeCondition | enum | Yes | forEachRow | enum=[forEachRow, once] |
Applies when validation.editableRegion is set and validation.type is set and validation.type NOT_EQUALS NEVER | ||||
serverSideCondition { whenButtonPressed:@componentexecutionScope: forCreatedAndModifiedRows type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] executeCondition: forEachRow }
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No |
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
validation "example" ( name: exampleName execution { sequence: 42 } validation { editableRegion:@componenttype: rowsReturned sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` plsqlCodeRaisingError: ``` apex_debug.message('Processing APEXlang component'); apex_collection.create_or_truncate_collection( p_collection_name => 'EXAMPLE_ROWS' ); ``` item: value regexp: value value: ``` Lorem ipsum dolor sit amet. ``` column: value alwaysExecute: false } advanced { staticId: value } error { errorMessage: ``` Lorem ipsum dolor sit amet. ``` displayLocation: inlineWithFieldAndInNotification associatedItem:@componentassociatedColumn: value } serverSideCondition { whenButtonPressed:@componentexecutionScope: forCreatedAndModifiedRows type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] executeCondition: forEachRow } security { authorizationScheme:@component} config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
pageGroup
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
staticId | string | Yes | maxLen=255 | |
sequence | integer | No | maxLen=32767 |
description
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
description | multiline string | No | maxLen=4000 |
description {
description: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
pageGroup "example" (
name: exampleName
staticId: value
sequence: 42
description {
description: ```
Lorem ipsum dolor sit amet.
```
}
)
plugin
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
apexlangName | string | Yes | maxLen=40; regex=/^([abcdefghijklmnopqrstuvwxyz0-9][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0-9]*|APEXLANG\$[0-9]+)$/ | |
staticId | string | Yes | maxLen=45 | |
type | enum | Yes | templateComponent | enum=[templateComponent, item, region, dynamicAction, genAITool, process, authenticationScheme, authorizationScheme, restDataSource, interactiveReportColumn] |
theme | string | No | ||
Applies when plugin.type = TEMPLATE COMPONENT | ||||
templateComponent
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
availableAs | array of enums | No | enum=[partial, report, regionOnly] | |
Applies when plugin.type = TEMPLATE COMPONENT | ||||
partial | multiline string | No | language=html; maxLen=32767 | |
Applies when plugin.type = TEMPLATE COMPONENT | ||||
reportBody | multiline string | No | language=html; maxLen=32767 | |
Applies when plugin.availableAs = REPORT | ||||
reportGroup | multiline string | No | language=html; maxLen=32767 | |
Applies when plugin.availableAs = REPORT | ||||
reportRow | multiline string | No | language=html; maxLen=32767 | |
Applies when plugin.availableAs = REPORT | ||||
reportContainer | multiline string | No | language=html; maxLen=32767 | |
Applies when plugin.availableAs = REPORT | ||||
translateTemplates | boolean | Yes | false | |
Applies when plugin.type = TEMPLATE COMPONENT | ||||
defaultEscapeMode | enum | Yes | html | enum=[html, htmlAttribute, stripHtml, raw] |
Applies when plugin.type = TEMPLATE COMPONENT | ||||
numberOfLazyLoadingSkeletons | integer | No | maxLen=32767; min=0; max=100 | |
Applies when plugin.availableAs = REPORT | ||||
templateComponent {
availableAs: [
partial
report
]
partial: ```
Lorem ipsum dolor sit amet.
```
reportBody: ```
Lorem ipsum dolor sit amet.
```
reportGroup: ```
Lorem ipsum dolor sit amet.
```
reportRow: ```
Lorem ipsum dolor sit amet.
```
reportContainer: ```
Lorem ipsum dolor sit amet.
```
translateTemplates: false
defaultEscapeMode: html
numberOfLazyLoadingSkeletons: 42
}
defaultSlots
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
regions | string | No | ||
Applies when plugin.type = TEMPLATE COMPONENT | ||||
items | string | No | ||
Applies when plugin.type = TEMPLATE COMPONENT | ||||
buttons | string | No | ||
Applies when plugin.type = TEMPLATE COMPONENT | ||||
defaultSlots {
regions: value
items: value
buttons: value
}
aiTool
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
executionLocation | enum | Yes | serverSide | enum=[clientSide, serverSide] |
Applies when plugin.type = AI TOOL | ||||
supportedExecutionPoints | array of enums | Yes | onDemand | enum=[augmentSystemPrompt, onDemand] |
Applies when plugin.type = AI TOOL | ||||
aiTool {
executionLocation: clientSide
supportedExecutionPoints: [
augmentSystemPrompt
onDemand
]
}
onDemand
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
description | multiline string | No | maxLen=32767 | |
Applies when plugin.supportedExecutionPoints = ON_DEMAND | ||||
parameters | enum | Yes | noParameters | enum=[noParameters, definedByAiTool, definedByPlugIn] |
Applies when plugin.supportedExecutionPoints = ON_DEMAND | ||||
parametersJsonSchema | multiline string | Yes | language=json; maxLen=32767 | |
Applies when plugin.parameters = PARAMETERS_DEFINED_BY_PLUGIN | ||||
onDemand {
description: ```
Lorem ipsum dolor sit amet.
```
parameters: noParameters
parametersJsonSchema: ```
{
"type": "object",
"properties": {
"status": { "type": "string" }
}
}
```
}
component
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
supports | array of enums | Yes | pageItems interactiveGridColumns | enum=[pageItems, interactiveGridColumns, facets, facetGroupItems, filters, filterGroupItems] |
Applies when plugin.type = ITEM TYPE | ||||
supports | array of enums | Yes | pageProcesses automationActions taskDefinitionActions workflowActivities | enum=[pageProcesses, automationActions, taskDefinitionActions, workflowActivities] |
Applies when plugin.type = PROCESS TYPE | ||||
supportsSessionStateDataTypes | array of enums | Yes | varchar2 | enum=[varchar2, clob, boolean] |
Applies when plugin.type = ITEM TYPE | ||||
standardAttributes | array of enums | No | enum=[visibleWidget, standardFormElement, sessionStateChangeable, readOnlyAttr, escapeSpecialCharsAttr, quickPickAttrs, sourceAttrs, formatMaskDateOnly, formatMaskNumberOnly, elementAttrs, widthAttrs, heightAttr, elementOptionAttr, placeholderAttr, iconAttr, encryptSessionStateAttr, listOfValues, lovDisplayNullAttrs, cascadingLovAttrs, joinLovforColumnDisplay, filter, link, initJavascriptCodeAttr, facetGatherOccurrences, facetShowSelectedFirst, facetMaxDisplayedEntries, facetClientSideFiltering, facetLovDisplayNullValue, aiEnabled, configurableAiEnabled, configurableAiSystemPrompt, requiresAiChatWidget, alwaysMultipleValues, optionalMultipleValues] | |
Applies when plugin.type = ITEM TYPE | ||||
standardAttributes | array of enums | No | enum=[rowSelection, regionTemplateAttr] | |
Applies when plugin.type = TEMPLATE COMPONENT | ||||
standardAttributes | array of enums | No | enum=[regionSourceSupportsDifferentDataSources, regionSourceIsSqlQuery, regionSourceIsPlsqlCode, regionSourceIsPlsqlFunctionBody, regionSourceIsHtml, regionSourceIsPlainText, pageItemsToSubmitAttr, orderByAttr, noOfFetchedRowsAttr, noDataFoundMessageAttr, escapeSpecialCharsRegionAttr, initJavascriptCodeAttr, regionColumns, headingColumnAttr, headingAlignmentColumnAttr, alignmentColumnAttr, cssClassColumnAttr, customAttrsColumnAttr, escapeSpecialCharsColumnAttr, supportsFacetedSearchSmartFilters, lazyLoading, lazyLoadingAlways, isEditable, aiEnabled, configurableAiEnabled, configurableAiSystemPrompt, requiresAiChatWidget] | |
Applies when plugin.type = REGION TYPE | ||||
standardAttributes | array of enums | No | enum=[forItem, forButton, forRegion, forJquerySelector, forJavaScriptExpression, forTriggeringElement, forEventSource, affectedElementRequired, defaultFireOnInitialization, stopExecutionOnErrorAttr, waitForResultAttr, initJavascriptCodeAttr, aiEnabled, configurableAiEnabled, configurableAiSystemPrompt, requiresAiChatWidget] | |
Applies when plugin.type = DYNAMIC ACTION | ||||
standardAttributes | array of enums | No | enum=[sessionNotValidAttr, hasLoginPage] | |
Applies when plugin.type = AUTHENTICATION TYPE | ||||
standardAttributes | array of enums | No | enum=[defaultEndpoint, doNotTestEndpoint] | |
Applies when plugin.type = WEB SOURCE TYPE | ||||
standardAttributes | array of enums | No | enum=[region, regionRequired, waitForCompletion, form, aiEnabled, configurableAiEnabled, configurableAiSystemPrompt] | |
Applies when plugin.type = PROCESS TYPE | ||||
component {
supports: [
pageItems
interactiveGridColumns
]
supportsSessionStateDataTypes: [
varchar2
clob
]
standardAttributes: [
visibleWidget
standardFormElement
]
}
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
plsqlCode | multiline string | No | language=plsql; maxLen=32767 | |
Applies when plugin.type in (REGION TYPE, DYNAMIC ACTION, PROCESS TYPE, AUTHORIZATION TYPE, AUTHENTICATION TYPE, ITEM TYPE, WEB SOURCE TYPE, AI TOOL) | ||||
sampleData | enum | No | enum=[employees, tasks, products, projects] | |
Applies when plugin.type in (REGION TYPE, TEMPLATE COMPONENT) | ||||
source {
plsqlCode: ```
apex_debug.message('Processing APEXlang component');
apex_collection.create_or_truncate_collection(
p_collection_name => 'EXAMPLE_ROWS'
);
```
sampleData: employees
}
callbacks
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
apiInterface | string | Yes | 3 | |
Applies when plugin.type NOT_IN_LIST TEMPLATE COMPONENT, AI TOOL | ||||
renderProcedureName | string | No | maxLen=255 | |
Applies when plugin.type in (DYNAMIC ACTION, ITEM TYPE, REGION TYPE) or condition matches | ||||
metaDataProcedureName | string | No | maxLen=255 | |
Applies when plugin.type = ITEM TYPE | ||||
sessionSentryProcedureName | string | No | maxLen=255 | |
Applies when plugin.type = AUTHENTICATION TYPE | ||||
invalidSessionProcedureName | string | No | maxLen=255 | |
Applies when plugin.type = AUTHENTICATION TYPE | ||||
authenticationProcedureName | string | No | maxLen=255 | |
Applies when plugin.type = AUTHENTICATION TYPE | ||||
postLogoutProcedureName | string | No | maxLen=255 | |
Applies when plugin.type = AUTHENTICATION TYPE | ||||
ajaxProcedureName | string | No | maxLen=255 | |
Applies when plugin.type in (AUTHENTICATION TYPE, DYNAMIC ACTION, REGION TYPE, ITEM TYPE) | ||||
validationProcedureName | string | No | maxLen=255 | |
Applies when plugin.type = ITEM TYPE | ||||
executionFunctionProcedureName | string | No | maxLen=255 | |
Applies when plugin.type in (AUTHORIZATION TYPE, PROCESS TYPE) or condition matches | ||||
completionFunctionProcedureName | string | No | maxLen=255 | |
Applies when plugin.standardAttributes = WAIT_FOR_COMPLETION | ||||
terminationFunctionProcedureName | string | No | maxLen=255 | |
Applies when plugin.standardAttributes = WAIT_FOR_COMPLETION | ||||
restSourceCapabilitiesProcedure | string | No | maxLen=255 | |
Applies when plugin.type = WEB SOURCE TYPE | ||||
restSourceFetchProcedure | string | No | maxLen=255 | |
Applies when plugin.type = WEB SOURCE TYPE | ||||
restSourceDmlProcedure | string | No | maxLen=255 | |
Applies when plugin.type = WEB SOURCE TYPE | ||||
restSourceExecuteProcedure | string | No | maxLen=255 | |
Applies when plugin.type = WEB SOURCE TYPE | ||||
aiRequestHandlerProcedure | string | No | maxLen=255 | |
Applies when condition matches or condition matches or condition matches | ||||
aiResponseHandlerProcedure | string | No | maxLen=255 | |
Applies when condition matches or condition matches or condition matches | ||||
restSourceDiscoverProcedure | string | No | maxLen=255 | |
Applies when plugin.type = WEB SOURCE TYPE | ||||
callbacks {
apiInterface: value
renderProcedureName: value
metaDataProcedureName: value
sessionSentryProcedureName: value
invalidSessionProcedureName: unique-id
authenticationProcedureName: value
postLogoutProcedureName: value
ajaxProcedureName: value
validationProcedureName: unique-id
executionFunctionProcedureName: value
completionFunctionProcedureName: value
terminationFunctionProcedureName: value
restSourceCapabilitiesProcedure: value
restSourceFetchProcedure: value
restSourceDmlProcedure: value
restSourceExecuteProcedure: value
aiRequestHandlerProcedure: value
aiResponseHandlerProcedure: value
restSourceDiscoverProcedure: value
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
filePrefix | string | No | maxLen=255 | |
Applies when plugin.type in (REGION TYPE, DYNAMIC ACTION, ITEM TYPE, TEMPLATE COMPONENT) or condition matches | ||||
category | enum | No | enum=[component, effect, execute, initialize, miscellaneous, navigation, notification, style, builtInComponents, appComponents, themeComponents, ai] | |
Applies when plugin.type = DYNAMIC ACTION | ||||
quickPick | boolean | Yes | false | |
Applies when plugin.type = TEMPLATE COMPONENT | ||||
substituteAttributeValues | boolean | Yes | false | |
Applies when plugin.apiInterface in (1, 2) or not set and plugin.type NOT_IN_LIST TEMPLATE COMPONENT, AI TOOL | ||||
deprecated | boolean | Yes | false | |
legacy | boolean | Yes | false | |
advanced {
filePrefix: value
category: component
quickPick: false
substituteAttributeValues: false
deprecated: false
legacy: false
}
css
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
fileUrls | array of strings | No | maxLen=4000 | |
Applies when plugin.type in (REGION TYPE, DYNAMIC ACTION, ITEM TYPE, TEMPLATE COMPONENT) or condition matches | ||||
css {
fileUrls: [
value1
value2
]
}
javaScript
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
fileUrls | array of strings | No | maxLen=4000 | |
Applies when plugin.type in (REGION TYPE, DYNAMIC ACTION, ITEM TYPE, TEMPLATE COMPONENT) or condition matches | ||||
javaScript {
fileUrls: [
value1
value2
]
}
information
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
version | string | No | maxLen=30 | |
aboutUrl | string | No | maxLen=255 | |
helpText | multiline string | No | maxLen=4000 |
information {
version: value
aboutUrl: value
helpText: ```
Lorem ipsum dolor sit amet.
```
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No | ||
subscribeComponentSettings | boolean | Yes | true | |
Applies when plugin.master is set | ||||
subscription {
master: value
subscribeComponentSettings: false
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
plugin "example" ( name: exampleName apexlangName: value staticId: value type: templateComponent theme:@componenttemplateComponent { availableAs: [ partial report ] partial: ``` Lorem ipsum dolor sit amet. ``` reportBody: ``` Lorem ipsum dolor sit amet. ``` reportGroup: ``` Lorem ipsum dolor sit amet. ``` reportRow: ``` Lorem ipsum dolor sit amet. ``` reportContainer: ``` Lorem ipsum dolor sit amet. ``` translateTemplates: false defaultEscapeMode: html numberOfLazyLoadingSkeletons: 42 } defaultSlots { regions: value items: value buttons: value } aiTool { executionLocation: clientSide supportedExecutionPoints: [ augmentSystemPrompt onDemand ] } onDemand { description: ``` Lorem ipsum dolor sit amet. ``` parameters: noParameters parametersJsonSchema: ``` { "type": "object", "properties": { "status": { "type": "string" } } } ``` } component { supports: [ pageItems interactiveGridColumns ] supportsSessionStateDataTypes: [ varchar2 clob ] standardAttributes: [ visibleWidget standardFormElement ] } source { plsqlCode: ``` apex_debug.message('Processing APEXlang component'); apex_collection.create_or_truncate_collection( p_collection_name => 'EXAMPLE_ROWS' ); ``` sampleData: employees } callbacks { apiInterface: value renderProcedureName: value metaDataProcedureName: value sessionSentryProcedureName: value invalidSessionProcedureName: unique-id authenticationProcedureName: value postLogoutProcedureName: value ajaxProcedureName: value validationProcedureName: unique-id executionFunctionProcedureName: value completionFunctionProcedureName: value terminationFunctionProcedureName: value restSourceCapabilitiesProcedure: value restSourceFetchProcedure: value restSourceDmlProcedure: value restSourceExecuteProcedure: value aiRequestHandlerProcedure: value aiResponseHandlerProcedure: value restSourceDiscoverProcedure: value } advanced { filePrefix: value category: component quickPick: false substituteAttributeValues: false deprecated: false legacy: false } css { fileUrls: [ value1 value2 ] } javaScript { fileUrls: [ value1 value2 ] } information { version: value aboutUrl: value helpText: ``` Lorem ipsum dolor sit amet. ``` } subscription { master: value subscribeComponentSettings: false } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
actionPosition
plugin.type = TEMPLATE COMPONENT| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
apexlangName | string | Yes | maxLen=40; regex=/^([abcdefghijklmnopqrstuvwxyz0-9][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0-9]*|APEXLANG\$[0-9]+)$/ | |
staticId | string | Yes | maxLen=255 | |
sequence | integer | Yes | maxLen=32767 |
position
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | link | enum=[link, template] |
predefinedTemplate | string | No | ||
Applies when actionPosition.type = TEMPLATE | ||||
position {
type: link
predefinedTemplate: value
}
help
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
helpText | multiline string | No | maxLen=4000 |
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
quickPick | boolean | Yes | false |
advanced {
quickPick: false
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
actionPosition "example" (
name: exampleName
apexlangName: value
staticId: value
sequence: 42
position {
type: link
predefinedTemplate: value
}
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
advanced {
quickPick: false
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
actionTemplate
plugin.type = TEMPLATE COMPONENT| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
apexlangName | string | Yes | maxLen=40; regex=/^([abcdefghijklmnopqrstuvwxyz0-9][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0-9]*|APEXLANG\$[0-9]+)$/ | |
type | enum | Yes | enum=[button, menu] |
template
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
actionTemplate | multiline string | Yes | language=html; maxLen=30000 |
template {
actionTemplate: ```
Lorem ipsum dolor sit amet.
```
}
help
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
helpText | multiline string | No | maxLen=4000 |
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
translatable | boolean | Yes | false | |
staticId | string | Yes | maxLen=255 |
advanced {
translatable: false
staticId: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
actionTemplate "example" (
name: exampleName
apexlangName: value
type: button
template {
actionTemplate: ```
Lorem ipsum dolor sit amet.
```
}
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
advanced {
translatable: false
staticId: value
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
attributeGroup
plugin.type in (ITEM TYPE, REGION TYPE, PROCESS TYPE, DYNAMIC ACTION, TEMPLATE COMPONENT, AI TOOL)| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
apexlangName | string | Yes | maxLen=40; regex=/^([abcdefghijklmnopqrstuvwxyz0-9][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0-9]*|APEXLANG\$[0-9]+)$/ | |
sequence | integer | Yes | maxLen=32767 |
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
APEXlang Example
attributeGroup "example" (
name: exampleName
apexlangName: value
sequence: 42
advanced {
staticId: value
}
)
customAttribute
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
apexlangName | string | Yes | maxLen=40; regex=/^([abcdefghijklmnopqrstuvwxyz0-9][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0-9]*|APEXLANG\$[0-9]+)$/ | |
attribute | integer | Yes | maxLen=32767; min=1; max=999 | |
name | string | Yes | maxLen=255 | |
scope | string | Yes | COMPONENT | |
type | string | Yes | TEXT |
componentLov
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | static | enum=[static, component] |
Applies when customAttribute.type in (SELECT LIST, CHECKBOXES) | ||||
componentType | enum | No | enum=[credential, remoteDatabase, authenticationServer, printServer, restServer, staticWorkspaceFile, appGroup, fileServer, genAI, vectorProvider, app, theme, themeStyle, themeFile, templateOptionGroup, globalTemplateOption, pageTemplate, pageTemplateOption, pageTemplateDisplayPoint, fieldTemplate, fieldTemplateOption, buttonTemplate, buttonTemplateOption, regionTemplate, regionTemplateOption, regionTemplateDisplayPoint, listTemplate, listTemplateOption, breadcrumbTemplate, breadcrumbTemplateOption, calendarTemplate, reportTemplate, reportTemplateOption, popupLovTemplate, plugin, pluginStdAttribute, pluginAttributeGroup, pluginCustomAttribute, pluginAttributeLovEntry, pluginActionTemplate, pluginActionPosition, pluginEvent, pluginFile, pluginSlot, pluginSetting, appItem, appComputation, appProcess, buildOption, authentication, authorization, aclRole, webSrcModule, webSrcOperation, webSrcModuleParam, webSrcModuleDataProfile, webSrcModuleDataProfileColumn, webSrcSyncStep, webSrcSyncStepWsParam, shortcut, appSubstitution, staticAppFile, textMessage, appSetting, pwaShortcut, pwaScreenshot, dualityViewSource, jsonDocumentSource, dualityViewDataProfile, dualityViewDataProfileColumn, jsonCollectionDataProfile, jsonCollectionDataProfileColumn, aiAgent, aiAgentTool, aiAgentToolParam, classicNavBar, breadcrumb, breadcrumbEntry, list, listEntry, lov, lovWsParam, lovEntry, lovColumn, webServiceReference, webServiceReferenceOperation, webServiceRefOperParamI, webServiceRefOperParamO, webServiceRefOperParamA, webServiceRefOperParamH, dataLoadTable, dataLoadRule, dataLoadLookup, tabSet, reportLayout, reportQuery, reportQueryStatement, reportQueryStmtWsParam, automation, automationWsParam, automationAction, emailTemplate, dataLoadDefinition, dataLoadDefDataProfile, dataLoadDefDataProfileColumn, taskDef, taskDefParam, taskDefAction, taskDefParticipant, languageMap, dynamicTranslation, concatenatedFile, searchConfig, searchConfigWsParam, pageGroup, tree, developerComment, supportObjects, supportObjectsSubstitution, supportObjectsBuildOption, supportObjectsValidation, supportObjectsInstall, supportObjectsInstallObject, supportObjectsUpgrade, page, region, pageItem, button, dynamicActionEvent, dynamicActionAction, pageMetaTag, validation, pageComputation, pageProcess, pageProcessWsParam, branch, regionPluginAttributes, irAttributes, irColumnGroup, irColumn, irPrintAttr, irSavedReport, irSavedReportColumn, irSavedReportCompute, irSavedReportSort, irSavedReportAggregate, irSavedReportFilter, irSavedReportCtrlBreak, irSavedReportHighlight, irSavedReportChart, irSavedReportGroupBy, irSavedReportGroupByCol, irSavedReportGroupByAgg, irSavedReportGroupBySort, irSavedReportPivot, irSavedReportPivotCol, irSavedReportPivotRow, irSavedReportPivotAgg, irSavedReportPivotSort, pageProcessWsParamIn, pageProcessWsParamOut, pageProcessWsParamAuth, pageProcessInvokeApiParam, classicReport, classicReportColumn, classicReportPrintAttr, tabularForm, tabularFormColumn, tabularFormPrintAttr, classicCalendar, regionColumn, regionTmplColumn, jetChart, jetChartSeries, jetChartAxes, jetChartWsParam, igAttributes, igColumnGroup, igColumn, igPrintAttr, igSavedReport, igSavedReportColumn, igSavedReportFilter, igSavedReportSort, igSavedReportAggregate, igSavedReportCtrlBreak, igSavedReportHighlight, igSavedReportChart, regionWsParam, facet, facetGroup, facetGroupItem, sfilter, sfilterGroup, sfilterGroupItem, card, cardAction, mapRegion, mapLayer, mapLayerWsParam, mapBackground, pageProcessTaskParam, searchRegionSources, regionAction, irColumnAction, regionActionMenuEntry, irColumnActionMenuEntry, buttonMenuEntry, regionActionMenuEntryAction, regionActionButtonAction, pageButtonAction, cardButtonAction, buttonActionMenuEntryAction, irActionButtonAction, irActionMenuEntryAction, workflow, workflowParam, workflowVersion, workflowActivity, workflowVariable, workflowActivityVariable, workflowParticipant, workflowTransition, workflowBranch, workflowParallelBranch, pageProcessWfParam, wfActivityTaskParam, wfActivityInvokeApiParam, wfActivityWsParam, wfActivityWfParam, componentGroup, compGrpComponent] | |
Applies when customAttribute.type = COMPONENT | ||||
onDeleteBehavior | enum | No | enum=[cascade, setToNull] | |
Applies when customAttribute.componentType is set | ||||
nullText | string | No | maxLen=255 | |
Applies when customAttribute.type in (SELECT LIST, COMPONENT) and customAttribute.required = N | ||||
componentLov {
type: static
componentType: credential
onDeleteBehavior: cascade
nullText: value
}
validation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
required | boolean | Yes | false | |
Applies when customAttribute.type NOT_EQUALS CHECKBOX | ||||
maxLength | number | No | maxLen=5; min=1; max=99999 | |
Applies when customAttribute.type in (TEXT, TEXTAREA, NUMBER, INTEGER) | ||||
minColumns | number | No | maxLen=3; min=1; max=999 | |
Applies when customAttribute.type = SQL | ||||
maxColumns | number | No | maxLen=3; min=1; max=999 | |
Applies when customAttribute.type = SQL | ||||
textCase | enum | No | enum=[uppercase, lowercase] | |
Applies when customAttribute.type in (TEXT, TEXTAREA) | ||||
validation {
required: false
maxLength: 5
minColumns: 1
maxColumns: 5
textCase: uppercase
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
escapeMode | enum | Yes | html | enum=[html, htmlAttribute, stripHtml, raw] |
Applies when plugin.type = TEMPLATE COMPONENT | ||||
security {
escapeMode: html
}
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
attributeGroup | string | No | ||
Applies when plugin.type in (TEMPLATE COMPONENT, DYNAMIC ACTION, ITEM TYPE, REGION TYPE, PROCESS TYPE, AI TOOL) | ||||
sequence | number | Yes | maxLen=22 | |
appearance {
attributeGroup: value
sequence: 42
}
builder
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
common | boolean | Yes | true | |
showInWizard | boolean | Yes | true | |
Applies when plugin.type NOT_EQUALS TEMPLATE COMPONENT | ||||
unit | string | No | maxLen=30 | |
Applies when customAttribute.type in (TEXT, NUMBER, INTEGER) | ||||
translatable | boolean | Yes | false | |
Applies when customAttribute.type in (TEXT, TEXTAREA, HTML, XML) | ||||
includeColumnsInItemsPicker | boolean | Yes | COMPONENT | |
Applies when plugin.type in (REGION TYPE, PROCESS TYPE) and customAttribute.type in (TEXT, TEXTAREA, HTML, XML, SQL, PLSQL, PLSQL EXPRESSION, PLSQL EXPRESSION BOOLEAN, PLSQL FUNCTION BODY, PLSQL FUNCTION BODY BOOLEAN, JAVASCRIPT, PAGE ITEM, PAGE ITEMS, LINK) | ||||
displayWidth | number | No | maxLen=4; min=1; max=9999 | |
Applies when plugin.type NOT_EQUALS TEMPLATE COMPONENT and customAttribute.type in (TEXT, TEXTAREA, NUMBER, INTEGER) | ||||
builder {
common: false
showInWizard: false
unit: value
translatable: false
includeColumnsInItemsPicker: false
displayWidth: 42
}
templateSupport
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[substitutions, templateDirectivesClient, templateDirectivesServer] | |
Applies when plugin.type NOT_EQUALS TEMPLATE COMPONENT | ||||
customSubstitutions | array of strings | No | maxLen=32767 | |
Applies when customAttribute.type in (TD_C, TD_S) and customAttribute.type in (HTML, TEXTAREA) | ||||
templateSupport {
type: substitutions
customSubstitutions: [
value1
value2
]
}
accessibility
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
importantForAccessibility | boolean | Yes | false | |
helpText | multiline string | No | maxLen=4000 | |
Applies when customAttribute.importantForAccessibility = Y | ||||
accessibility {
importantForAccessibility: false
helpText: ```
Lorem ipsum dolor sit amet.
```
}
default
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
value | boolean | Yes | false | |
Applies when customAttribute.type = CHECKBOX | ||||
value | multiline string | Yes | maxLen=4000 | |
Applies when customAttribute.type NOT_IN_LIST MEDIA, CHECKBOX | ||||
sampleDataValue | multiline string | No | maxLen=4000 | |
Applies when plugin.type in (TEMPLATE COMPONENT, REGION TYPE) | ||||
default {
value: false
sampleDataValue: ```
Lorem ipsum dolor sit amet.
```
}
supports
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
components | array of enums | No | enum=[pageItems, interactiveGridColumns, facets, facetGroupItems, filters, filterGroupItems] | |
Applies when plugin.type = ITEM TYPE and customAttribute.scope NOT_EQUALS APPLICATION | ||||
components | array of enums | No | enum=[pageProcesses, automationActions, taskDefinitionActions, workflowActivities] | |
Applies when plugin.type = PROCESS TYPE and customAttribute.scope NOT_EQUALS APPLICATION | ||||
dataTypes | array of strings | Yes | VARCHAR2 | |
Applies when customAttribute.type in (REGION SOURCE COLUMN, COLUMN, SESSION STATE VALUE) | ||||
supports {
components: [
pageItems
interactiveGridColumns
]
dataTypes: [
value1
value2
]
}
dependingOn
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
attribute | string | No | ||
conditionType | enum | Yes | enum=[=, !=, inList, notInList, isNull, isNotNull] | |
Applies when customAttribute.attribute is set | ||||
value | string | Yes | maxLen=4000 | |
Applies when customAttribute.conditionType in (EQUALS, NOT_EQUALS) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when customAttribute.conditionType in (IN_LIST, NOT_IN_LIST) | ||||
alwaysEvaluate | boolean | Yes | true | |
Applies when customAttribute.attribute is set | ||||
parentAttribute | string | No | ||
Applies when customAttribute.type in (TABLE, COLUMN, PLSQL PACKAGE, PLSQL METHOD, REST OPERATION ID) | ||||
dependingOn {
attribute: value
conditionType: "="
value: value
list: [
value1
value2
]
alwaysEvaluate: false
parentAttribute: value
}
help
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
helpText | multiline string | No | maxLen=4000 |
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
examples
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
examples | multiline string | No | maxLen=4000 |
examples {
examples: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
showDeprecatedAttributeForValues | array of strings | No | maxLen=30 |
advanced {
showDeprecatedAttributeForValues: [
value1
value2
]
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
customAttribute "example" (
staticId: value
apexlangName: value
attribute: 42
name: exampleName
scope: value
type: value
componentLov {
type: static
componentType: credential
onDeleteBehavior: cascade
nullText: value
}
validation {
required: false
maxLength: 5
minColumns: 1
maxColumns: 5
textCase: uppercase
}
security {
escapeMode: html
}
appearance {
attributeGroup: value
sequence: 42
}
builder {
common: false
showInWizard: false
unit: value
translatable: false
includeColumnsInItemsPicker: false
displayWidth: 42
}
templateSupport {
type: substitutions
customSubstitutions: [
value1
value2
]
}
accessibility {
importantForAccessibility: false
helpText: ```
Lorem ipsum dolor sit amet.
```
}
default {
value: false
sampleDataValue: ```
Lorem ipsum dolor sit amet.
```
}
supports {
components: [
pageItems
interactiveGridColumns
]
dataTypes: [
value1
value2
]
}
dependingOn {
attribute: value
conditionType: "="
value: value
list: [
value1
value2
]
alwaysEvaluate: false
parentAttribute: value
}
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
examples {
examples: ```
Lorem ipsum dolor sit amet.
```
}
advanced {
showDeprecatedAttributeForValues: [
value1
value2
]
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
entry
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
apexlangName | string | Yes | maxLen=40; regex=/^([abcdefghijklmnopqrstuvwxyz0-9][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0-9]*|APEXLANG\$[0-9]+)$/ |
entry
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 | |
display | string | Yes | maxLen=255 | |
return | string | Yes | maxLen=255 |
entry {
sequence: 42
display: value
return: value
}
help
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
helpText | multiline string | No | maxLen=4000 |
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
quickPick | boolean | Yes | false | |
deprecated | boolean | Yes | false |
advanced {
quickPick: false
deprecated: false
}
APEXlang Example
entry "example" (
apexlangName: value
entry {
sequence: 42
display: value
return: value
}
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
advanced {
quickPick: false
deprecated: false
}
)
event
plugin.type in (ITEM TYPE, REGION TYPE, DYNAMIC ACTION)| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=100 | |
internalName | string | Yes | maxLen=45 |
APEXlang Example
event "example" (
name: exampleName
internalName: value
)
file
plugin.type in (REGION TYPE, DYNAMIC ACTION, ITEM TYPE, TEMPLATE COMPONENT) or condition matchesfile
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
fileName | string | Yes | maxLen=255 | |
content | blob | No | maxLen=32767 | |
mimeType | string | Yes | maxLen=255 | |
charSet | enum | No | enum=[iso-8859-6, windows-1256, big5, gbk, iso-8859-5, koi8-r, koi8-u, windows-1251, iso-8859-2, windows-1250, iso-8859-7, windows-1253, iso-8859-8-i, windows-1255, euc-jp, shift-jis, euc-kr, iso-8859-4, windows-1257, iso-8859-3, tis-620, iso-8859-9, windows-1254, us-ascii, utf-16be, utf-16le, utf-8, windows-1258, iso-8859-1, windows-1252]; maxLen=128 |
file {
fileName: value
content: value
mimeType: value
charSet: iso-8859-6
}
APEXlang Example
file "example" (
file {
fileName: value
content: value
mimeType: value
charSet: iso-8859-6
}
)
slot
plugin.type = TEMPLATE COMPONENT| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=30 | |
apexlangName | string | Yes | maxLen=40; regex=/^([abcdefghijklmnopqrstuvwxyz0-9][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0-9]*|APEXLANG\$[0-9]+)$/ | |
staticId | string | Yes | maxLen=30; regex=/^[ABCDEFGHIJKLMNOPQRSTUVWXYZ0-9_]*$/ |
supports
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
regions | boolean | Yes | true | |
regionTypes | multiline string | No | language=json; maxLen=32767 | |
Applies when slot.regions = Y | ||||
items | boolean | Yes | false | |
itemTypes | multiline string | No | language=json; maxLen=32767 | |
Applies when slot.items = Y | ||||
buttons | boolean | Yes | false | |
supports {
regions: false
regionTypes: ```
{
"type": "object",
"properties": {
"status": { "type": "string" }
}
}
```
items: false
itemTypes: ```
{
"type": "object",
"properties": {
"status": { "type": "string" }
}
}
```
buttons: false
}
gridLayout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
gridSupport | boolean | Yes | false | |
maxFixedColumns | integer | No | maxLen=32767 | |
newRow | boolean | Yes | true |
gridLayout {
gridSupport: false
maxFixedColumns: 5
newRow: false
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
slot "example" (
name: exampleName
apexlangName: value
staticId: value
supports {
regions: false
regionTypes: ```
{
"type": "object",
"properties": {
"status": { "type": "string" }
}
}
```
items: false
itemTypes: ```
{
"type": "object",
"properties": {
"status": { "type": "string" }
}
}
```
buttons: false
}
gridLayout {
gridSupport: false
maxFixedColumns: 5
newRow: false
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
standardAttributeConfig
plugin.type in (ITEM TYPE, REGION TYPE, PROCESS TYPE, DYNAMIC ACTION, WEB SOURCE TYPE)| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | ||
Applies when plugin.type in (DYNAMIC ACTION, ITEM TYPE, REGION TYPE, WEB SOURCE TYPE) | ||||
validation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
required | boolean | Yes | false |
validation {
required: false
}
sqlQuery
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
minColumns | integer | No | maxLen=3; min=1; max=999 | |
Applies when standardAttributeConfig.name in (LOV, SOURCE_PLSQL_FUNCTION, SOURCE_SQL, SOURCE_PLSQL) | ||||
maxColumns | integer | No | maxLen=3; min=1; max=999 | |
Applies when standardAttributeConfig.name in (LOV, SOURCE_PLSQL_FUNCTION, SOURCE_SQL, SOURCE_PLSQL) | ||||
sqlQuery {
minColumns: 1
maxColumns: 5
}
default
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
value | multiline string | No | maxLen=4000 |
default {
value: ```
Lorem ipsum dolor sit amet.
```
}
help
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
helpText | multiline string | No | maxLen=4000 |
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
examples
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
examples | multiline string | No | maxLen=4000 |
examples {
examples: ```
Lorem ipsum dolor sit amet.
```
}
dependingOn
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
attribute | string | No | ||
conditionType | enum | Yes | enum=[=, !=, inList, notInList, isNull, isNotNull] | |
Applies when standardAttributeConfig.attribute is set | ||||
value | string | Yes | maxLen=4000 | |
Applies when standardAttributeConfig.conditionType in (EQUALS, NOT_EQUALS) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when standardAttributeConfig.conditionType in (IN_LIST, NOT_IN_LIST) | ||||
alwaysEvaluate | boolean | Yes | true | |
Applies when standardAttributeConfig.attribute is set | ||||
dependingOn {
attribute: value
conditionType: "="
value: value
list: [
value1
value2
]
alwaysEvaluate: false
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
standardAttributeConfig "example" (
name: exampleName
validation {
required: false
}
sqlQuery {
minColumns: 1
maxColumns: 5
}
default {
value: ```
Lorem ipsum dolor sit amet.
```
}
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
examples {
examples: ```
Lorem ipsum dolor sit amet.
```
}
dependingOn {
attribute: value
conditionType: "="
value: value
list: [
value1
value2
]
alwaysEvaluate: false
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
pwaScreenshot
label
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
label | string | Yes | maxLen=255 |
label {
label: label
}
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 |
layout {
sequence: 42
}
screenshot
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
url | string | Yes | maxLen=32767 | |
sizes | string | No | maxLen=32767; regex=/^\d+x\d+$/ | |
formFactor | enum | No | enum=[narrow, wide] |
screenshot {
url: value
sizes: value
formFactor: narrow
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
pwaScreenshot "example" ( label { label: label } layout { sequence: 42 } screenshot { url: value sizes: value formFactor: narrow } advanced { staticId: value } config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
pwaShortcut
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
sequence | integer | Yes | maxLen=32767 |
shortcut
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
target | complex | Yes | maxLen=32767 | |
iconUrl | string | No | maxLen=32767 | |
description | multiline string | No | maxLen=4000 |
shortcut {
target: value
iconUrl: fa-check
description: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
pwaShortcut "example" ( name: exampleName sequence: 42 shortcut { target: value iconUrl: fa-check description: ``` Lorem ipsum dolor sit amet. ``` } advanced { staticId: value } config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
reportLayout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=4000 | |
type | enum | Yes | rtf | enum=[xslGeneric, rtf, xsl, docx, xlsx, pptx, html, markdown, csv, txt, odt, ods, odp] |
file
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
fileName | string | Yes | maxLen=255 | |
Applies when reportLayout.type NOT_IN_LIST RTF_FILE, XSL_FILE, XSL_GENERIC | ||||
mimeType | string | Yes | maxLen=255 | |
Applies when reportLayout.type NOT_IN_LIST RTF_FILE, XSL_FILE, XSL_GENERIC | ||||
content | blob | Yes | maxLen=32767 | |
Applies when reportLayout.type NOT_IN_LIST RTF_FILE, XSL_FILE, XSL_GENERIC | ||||
file {
fileName: value
mimeType: value
content: value
}
dataLoop
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | No | maxLen=255 | |
Applies when reportLayout.type NOT_IN_LIST RTF_FILE, XSL_FILE, XSL_GENERIC | ||||
dataLoop {
name: exampleName
}
templates
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
page | multiline string | Yes | maxLen=32767 | |
Applies when reportLayout.type in (RTF_FILE, XSL_FILE, XSL_GENERIC) | ||||
columnHeading | multiline string | Yes | maxLen=4000 | |
Applies when reportLayout.type = XSL_GENERIC | ||||
column | multiline string | Yes | maxLen=4000 | |
Applies when reportLayout.type = XSL_GENERIC | ||||
columnWidth | multiline string | Yes | maxLen=4000 | |
Applies when reportLayout.type = XSL_GENERIC | ||||
templates {
page: ```
value
```
columnHeading: ```
Lorem ipsum dolor sit amet.
```
column: ```
Lorem ipsum dolor sit amet.
```
columnWidth: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=500 |
advanced {
staticId: value
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No |
subscription {
master: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
reportLayout "example" (
name: exampleName
type: xslGeneric
file {
fileName: value
mimeType: value
content: value
}
dataLoop {
name: exampleName
}
templates {
page: ```
value
```
columnHeading: ```
Lorem ipsum dolor sit amet.
```
column: ```
Lorem ipsum dolor sit amet.
```
columnWidth: ```
Lorem ipsum dolor sit amet.
```
}
advanced {
staticId: value
}
subscription {
master: value
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
reportQuery
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 |
output
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
fileName | string | Yes | maxLen=4000 | |
format | enum | Yes | pdf | enum=[pdf, word, excel, html, xml] |
Applies when app.type = INSTANCE or app.remotePrintServer NOT_FEATURES AOP_SERVER | ||||
format | enum | Yes | pdf | enum=[pdf, word, excel, html, powerpoint, markdown, csv, openDocumentText, openDocumentSpreadsheet, openDocumentPresentation] |
Applies when app.remotePrintServer supports AOP_SERVER | ||||
formatItem | string | No | maxLen=255 | |
Applies when reportQuery.format NULL or not set and reportQuery.format NULL or not set | ||||
layout | string | No | ||
viewFileAs | enum | Yes | attachment | enum=[attachment, inline] |
output { fileName: value format: pdf formatItem: value layout:@componentviewFileAs: attachment }
sessionState
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
include | boolean | Yes | false | |
items | array of strings | No | maxLen=2000 | |
Applies when reportQuery.include = Y | ||||
sessionState {
include: false
items: [
value1
value2
]
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
APEXlang Example
reportQuery "example" ( name: exampleName output { fileName: value format: pdf formatItem: value layout:@componentviewFileAs: attachment } sessionState { include: false items: [ value1 value2 ] } advanced { staticId: value } )
sourceQuery
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
sequence | integer | Yes | maxLen=32767 |
dataLoop
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
Applies when app.type = INSTANCE or app.remotePrintServer supports AOP_SERVER | ||||
dataLoop {
name: exampleName
}
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
location | enum | Yes | localDatabase | enum=[localDatabase, restEnabledSql, restSource, jsonDualityView, jsonSource, sampleData] |
remoteServer | string | Yes | ||
Applies when sourceQuery.location = REMOTE | ||||
sampleData | enum | Yes | enum=[employees, tasks, products, projects] | |
Applies when sourceQuery.location = SAMPLE_DATA | ||||
type | string | Yes | TABLE | |
Applies when sourceQuery.location in (LOCAL, REMOTE) | ||||
tableOwner | string | No | maxLen=32767 | |
Applies when sourceQuery.type = TABLE | ||||
tableName | string | Yes | maxLen=128 | |
Applies when sourceQuery.type = TABLE | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when sourceQuery.type = TABLE | ||||
graphOwner | string | No | maxLen=32767 | |
Applies when sourceQuery.type = GRAPH | ||||
graphName | string | Yes | maxLen=32767 | |
Applies when sourceQuery.type = GRAPH | ||||
matchClause | multiline string | Yes | maxLen=4000 | |
Applies when sourceQuery.type = GRAPH | ||||
columnsClause | multiline string | Yes | maxLen=4000 | |
Applies when sourceQuery.type = GRAPH | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when sourceQuery.type = GRAPH | ||||
orderByClause | multiline string | No | language=sql; maxLen=255 | |
Applies when sourceQuery.type = TABLE | ||||
orderByClause | multiline string | No | language=sql; maxLen=255 | |
Applies when sourceQuery.type = GRAPH | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=32767 | |
Applies when sourceQuery.type = SQL | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when sourceQuery.type = FUNC_BODY_RETURNING_SQL | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when sourceQuery.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when sourceQuery.language = JAVASCRIPT | ||||
restSource | string | Yes | ||
Applies when sourceQuery.location = WEB_SOURCE | ||||
jsonDualityView | string | Yes | ||
Applies when sourceQuery.location = DUALITY_VIEW | ||||
jsonSource | string | Yes | ||
Applies when sourceQuery.location = JSON_COLLECTION | ||||
optimizerHint | string | No | maxLen=255 | |
Applies when sourceQuery.location in (LOCAL, REMOTE, WEB_SOURCE, DUALITY_VIEW, JSON_COLLECTION) | ||||
source { location: localDatabase remoteServer:@componentsampleData: employees type: value tableOwner: value tableName: value whereClause: ``` status = 'ACTIVE' ``` graphOwner: value graphName: value matchClause: ``` Lorem ipsum dolor sit amet. ``` columnsClause: ``` Lorem ipsum dolor sit amet. ``` orderByClause: ``` created_on desc ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` restSource:@componentjsonDualityView:@componentjsonSource:@componentoptimizerHint: value }
dataProfile
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
nestedRows | string | No | ||
Applies when sourceQuery.restSource supports HAS_ARRAY_COLUMNS | ||||
nestedRows | string | No | ||
Applies when sourceQuery.jsonDualityView supports HAS_ARRAY_COLUMNS | ||||
nestedRows | string | No | ||
Applies when sourceQuery.jsonSource supports HAS_ARRAY_COLUMNS | ||||
dataProfile { nestedRows:@component}
restSynchronization
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
useLocalTable | boolean | Yes | false | |
Applies when sourceQuery.restSource supports HAS_SYNC_HAS_NO_ARRAY_COLUMNS or condition matches or sourceQuery.nestedRows supports IS_SYNCED | ||||
restSynchronization {
useLocalTable: false
}
externalFilterAndOrderBy
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
enabled | boolean | Yes | false | |
Applies when sourceQuery.restSource is set and sourceQuery.useLocalTable in (N, $NULL$) or not set | ||||
filter | multiline string | No | maxLen=4000 | |
Applies when sourceQuery.enabled = Y | ||||
orderBy | multiline string | No | maxLen=255 | |
Applies when sourceQuery.enabled = Y | ||||
externalFilterAndOrderBy {
enabled: false
filter: ```
Lorem ipsum dolor sit amet.
```
orderBy: ```
Lorem ipsum dolor sit amet.
```
}
localPostProcessing
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[whereOrderByClause, sqlQuery, plsqlFunctionBody] | |
Applies when sourceQuery.restSource is set | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when sourceQuery.type = WHERE_ORDER_BY_CLAUSE | ||||
orderByClause | multiline string | No | language=sql; maxLen=255 | |
Applies when sourceQuery.type = WHERE_ORDER_BY_CLAUSE | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=32767 | |
Applies when sourceQuery.type = SQL | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when sourceQuery.type = FUNC_BODY_RETURNING_SQL | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when sourceQuery.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when sourceQuery.language = JAVASCRIPT | ||||
type | enum | No | enum=[whereOrderByClause, sqlQuery, plsqlFunctionBody] | |
Applies when sourceQuery.jsonDualityView is set | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when sourceQuery.type = WHERE_ORDER_BY_CLAUSE | ||||
orderByClause | multiline string | No | language=sql; maxLen=255 | |
Applies when sourceQuery.type = WHERE_ORDER_BY_CLAUSE | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=32767 | |
Applies when sourceQuery.type = SQL | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when sourceQuery.type = FUNC_BODY_RETURNING_SQL | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when sourceQuery.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when sourceQuery.language = JAVASCRIPT | ||||
type | enum | No | enum=[whereOrderByClause, sqlQuery, plsqlFunctionBody] | |
Applies when sourceQuery.jsonSource is set | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when sourceQuery.type = WHERE_ORDER_BY_CLAUSE | ||||
orderByClause | multiline string | No | language=sql; maxLen=255 | |
Applies when sourceQuery.type = WHERE_ORDER_BY_CLAUSE | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=32767 | |
Applies when sourceQuery.type = SQL | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when sourceQuery.type = FUNC_BODY_RETURNING_SQL | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when sourceQuery.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when sourceQuery.language = JAVASCRIPT | ||||
localPostProcessing {
type: whereOrderByClause
whereClause: ```
status = 'ACTIVE'
```
orderByClause: ```
created_on desc
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: plsql
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
}
remoteCache
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
caching | enum | No | enum=[allUsers, user, session] | |
Applies when sourceQuery.location = REMOTE | ||||
timeout | multiline string | Yes | maxLen=255 | |
Applies when sourceQuery.caching is set | ||||
remoteCache {
caching: allUsers
timeout: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
sourceQuery "example" ( name: exampleName sequence: 42 dataLoop { name: exampleName } source { location: localDatabase remoteServer:@componentsampleData: employees type: value tableOwner: value tableName: value whereClause: ``` status = 'ACTIVE' ``` graphOwner: value graphName: value matchClause: ``` Lorem ipsum dolor sit amet. ``` columnsClause: ``` Lorem ipsum dolor sit amet. ``` orderByClause: ``` created_on desc ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` restSource:@componentjsonDualityView:@componentjsonSource:@componentoptimizerHint: value } dataProfile { nestedRows:@component} restSynchronization { useLocalTable: false } externalFilterAndOrderBy { enabled: false filter: ``` Lorem ipsum dolor sit amet. ``` orderBy: ``` Lorem ipsum dolor sit amet. ``` } localPostProcessing { type: whereOrderByClause whereClause: ``` status = 'ACTIVE' ``` orderByClause: ``` created_on desc ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` } remoteCache { caching: allUsers timeout: ``` Lorem ipsum dolor sit amet. ``` } )
parameter
sourceQuery.restSource is set and sourceQuery.useLocalTable = N or not set| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes |
value
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | enum=[staticValue, restSourceDefault, item, sqlQuery, expression, functionBody, collectionClob, preference, null] | |
staticValue | multiline string | Yes | maxLen=4000 | |
Applies when parameter.type = STATIC and parameter.name NOT_FEATURES BOOLEAN_PARAMETER | ||||
staticValue | enum | Yes | enum=[true, false] | |
Applies when parameter.type = STATIC and parameter.name supports BOOLEAN_PARAMETER | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.type = SQL_QUERY | ||||
item | string | Yes | maxLen=255 | |
Applies when parameter.type = ITEM | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when parameter.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when parameter.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
preference | string | Yes | maxLen=255 | |
Applies when parameter.type = PREFERENCE | ||||
name | string | Yes | maxLen=255 | |
Applies when parameter.type = COLLECTION | ||||
formatMask | string | No | maxLen=255 | |
Applies when parameter.name supports NUMBER_PARAMETER, DATE_PARAMETER, TIMESTAMP_PARAMETER, TIMESTAMP_TZ_PARAMETER and parameter.type in (STATIC, ITEM, PREFERENCE) | ||||
trueValue | string | No | maxLen=10 | |
Applies when parameter.name supports BOOLEAN_PARAMETER and parameter.type in (ITEM, PREFERENCE) | ||||
falseValue | string | No | maxLen=10 | |
Applies when parameter.name supports BOOLEAN_PARAMETER and parameter.type in (ITEM, PREFERENCE) | ||||
value {
type: staticValue
staticValue: ```
Lorem ipsum dolor sit amet.
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
item: value
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
preference: value
name: exampleName
formatMask: value
trueValue: value
falseValue: value
}
APEXlang Example
parameter "example" ( name:@componentvalue { type: staticValue staticValue: ``` Lorem ipsum dolor sit amet. ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` item: value language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` preference: value name: exampleName formatMask: value trueValue: value falseValue: value } )
restDataSource
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 |
dataProfile
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
format | enum | Yes | json | enum=[csv, json, xml] |
rowSelector | string | No | maxLen=255 | |
Applies when restDataSource.format in (JSON, XML) | ||||
containsSingleRow | boolean | Yes | false | |
Applies when restDataSource.format in (JSON, XML) | ||||
singleRowSelector | string | No | maxLen=255 | |
Applies when restDataSource.containsSingleRow = N and restDataSource.format NOT_EQUALS CSV | ||||
useRawSelectors | boolean | Yes | false | |
Applies when restDataSource.format = JSON | ||||
comments | multiline string | No | maxLen=4000 | |
dataProfile {
name: exampleName
format: csv
rowSelector: value
containsSingleRow: false
singleRowSelector: value
useRawSelectors: false
comments: ```
Lorem ipsum dolor sit amet.
```
}
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | enum=[http, oci, odataRestService, oracleCloudAppsBoss, oracleCloudAppsSaas, ords, plugin/<pluginName>, restEnabledSqlQuery] | |
remoteServer | string | Yes | ||
Applies when restDataSource.type NOT_EQUALS restEnabledSqlQuery | ||||
remoteServer | string | Yes | ||
Applies when restDataSource.type = restEnabledSqlQuery | ||||
urlPathPrefix | string | Yes | maxLen=500 | |
source { type: staticContent remoteServer:@componenturlPathPrefix: value }
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
encoding | enum | No | enum=[iso-8859-6, windows-1256, big5, gbk, iso-8859-5, koi8-r, koi8-u, windows-1251, iso-8859-2, windows-1250, iso-8859-7, windows-1253, iso-8859-8-i, windows-1255, euc-jp, shift-jis, euc-kr, iso-8859-4, windows-1257, iso-8859-3, tis-620, iso-8859-9, windows-1254, us-ascii, utf-16be, utf-16le, utf-8, windows-1258, iso-8859-1, windows-1252] | |
numericChars | string | No | maxLen=2 | |
xmlNamespaces | multiline string | No | maxLen=4000 | |
Applies when restDataSource.format = XML | ||||
csvSeparator | string | No | maxLen=5 | |
Applies when restDataSource.format = CSV | ||||
csvEnclosedBy | string | No | maxLen=1 | |
Applies when restDataSource.format = CSV | ||||
skipRows | number | No | maxLen=5; min=1 | |
Applies when restDataSource.format = CSV | ||||
firstLineContainsHeaders | boolean | Yes | true | |
Applies when restDataSource.format = CSV | ||||
staticId | string | Yes | maxLen=255 | |
passEcid | string | No | maxLen=32767 | |
httpTransferTimeout | integer | No | maxLen=32767; min=1; max=3600 | |
openapiUrl | string | No | maxLen=4000 | |
advanced {
encoding: iso-8859-6
numericChars: value
xmlNamespaces: ```
Lorem ipsum dolor sit amet.
```
csvSeparator: value
csvEnclosedBy: value
skipRows: 42
firstLineContainsHeaders: false
staticId: value
passEcid: unique-id
httpTransferTimeout: 42
openapiUrl: value
}
authentication
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
credentials | string | No | ||
server | string | No | ||
Applies when restDataSource.credentials is set | ||||
urlPathPrefix | string | No | maxLen=500 | |
Applies when restDataSource.server is set | ||||
authentication { credentials:@componentserver:@componenturlPathPrefix: value }
synchronization
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
jobIsActive | boolean | Yes | false | |
localTableOwner | string | No | maxLen=32767 | |
localTableName | string | No | maxLen=128 | |
nestedRows | string | No | ||
Applies when restDataSource.localTableName is set | ||||
type | enum | Yes | append | enum=[append, merge, fullRefreshDelete, fullRefreshTruncate] |
Applies when restDataSource.localTableName is set | ||||
schedule | multiline string | No | maxLen=255 | |
Applies when restDataSource.localTableName is set | ||||
commitInterval | integer | No | maxLen=32767; min=100 | |
Applies when restDataSource.localTableName is set | ||||
httpRequestLimit | integer | No | maxLen=32767; min=1 | |
Applies when restDataSource.localTableName is set | ||||
synchronization { jobIsActive: false localTableOwner: value localTableName: value nestedRows:@componenttype: append schedule: ``` Lorem ipsum dolor sit amet. ``` commitInterval: 42 httpRequestLimit: 42 }
synchronizationRateLimit
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
timeframe | integer | No | maxLen=32767; min=5; max=300 | |
Applies when restDataSource.localTableName is set | ||||
httpRequests | integer | Yes | maxLen=32767; min=1 | |
Applies when restDataSource.timeframe is set | ||||
whenExceeded | enum | Yes | raiseError | enum=[raiseError, wait] |
Applies when restDataSource.timeframe is set | ||||
synchronizationRateLimit {
timeframe: 42
httpRequests: 42
whenExceeded: raiseError
}
invocationScope
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[staticValue, item, sqlQuery, expression, functionBody] | |
Applies when restDataSource.credentials is set | ||||
text | multiline string | Yes | maxLen=32767 | |
Applies when restDataSource.type = STATIC | ||||
item | string | Yes | maxLen=255 | |
Applies when restDataSource.type = STATIC | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when restDataSource.type = SQL_QUERY | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when restDataSource.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when restDataSource.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when restDataSource.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when restDataSource.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when restDataSource.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when restDataSource.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when restDataSource.language = JAVASCRIPT | ||||
invocationScope {
type: staticValue
text: ```
Lorem ipsum dolor sit amet.
```
item: value
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: plsql
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
}
restSourceCatalog
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | No | maxLen=32767 | |
service | string | No | maxLen=32767 | |
version | string | No | maxLen=32767 |
restSourceCatalog {
name: exampleName
service: value
version: value
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No |
subscription {
master: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
restDataSource "example" ( name: exampleName dataProfile { name: exampleName format: csv rowSelector: value containsSingleRow: false singleRowSelector: value useRawSelectors: false comments: ``` Lorem ipsum dolor sit amet. ``` } source { type: staticContent remoteServer:@componenturlPathPrefix: value } advanced { encoding: iso-8859-6 numericChars: value xmlNamespaces: ``` Lorem ipsum dolor sit amet. ``` csvSeparator: value csvEnclosedBy: value skipRows: 42 firstLineContainsHeaders: false staticId: value passEcid: unique-id httpTransferTimeout: 42 openapiUrl: value } authentication { credentials:@componentserver:@componenturlPathPrefix: value } synchronization { jobIsActive: false localTableOwner: value localTableName: value nestedRows:@componenttype: append schedule: ``` Lorem ipsum dolor sit amet. ``` commitInterval: 42 httpRequestLimit: 42 } synchronizationRateLimit { timeframe: 42 httpRequests: 42 whenExceeded: raiseError } invocationScope { type: staticValue text: ``` Lorem ipsum dolor sit amet. ``` item: value sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` } restSourceCatalog { name: exampleName service: value version: value } subscription { master: value } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
dataProfileColumn
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
columnName | string | Yes | maxLen=128 |
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22; min=0 | |
type | enum | Yes | data | enum=[data, lookup, sqlExpression, sqlQuery] |
parentColumn | string | No | ||
Applies when restDataSource.format = JSON | ||||
lineNumber | boolean | Yes | false | |
Applies when restDataSource.containsSingleRow = N or not set and dataProfileColumn.type = DATA | ||||
dataType | enum | Yes | enum=[varchar2, number, date, timestamp, timestampWithLocalTimeZone, timestampWithTimeZone, clob, boolean, blob, geometrySdoGeometry, array, jsonDocument] | |
Applies when dataProfileColumn.lineNumber = N or not set | ||||
regexPattern | string | No | maxLen=255 | |
Applies when dataProfileColumn.dataType = VARCHAR2 and dataProfileColumn.type = DATA | ||||
maxLength | integer | Yes | 4000 | maxLen=5; min=1; max=32767 |
Applies when dataProfileColumn.dataType = VARCHAR2 | ||||
primaryKey | boolean | Yes | false | |
source {
sequence: 42
type: data
parentColumn: value
lineNumber: false
dataType: varchar2
regexPattern: value
maxLength: 5
primaryKey: false
}
settings
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
filterable | boolean | Yes | true |
settings {
filterable: false
}
parsing
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
selectorType | enum | Yes | name | enum=[name, sequence, regexp] |
Applies when dataProfileColumn.type = DATA and restDataSource.format in (CSV) | ||||
selector | string | Yes | maxLen=255 | |
Applies when dataProfileColumn.selectorType in (NAME, REGEXP) | ||||
columnNumber | integer | Yes | maxLen=32767; min=1 | |
Applies when dataProfileColumn.selectorType = SEQ | ||||
pathExpression | string | Yes | maxLen=255 | |
Applies when restDataSource.format in (JSON, XML) and dataProfileColumn.type = DATA and dataProfileColumn.lineNumber = N or not set | ||||
formatMask | string | No | maxLen=255 | |
Applies when dataProfileColumn.dataType in (NUMBER, DATE, TIMESTAMP, TIMESTAMP WITH TIME ZONE, TIMESTAMP WITH LOCAL TIME ZONE) and dataProfileColumn.type = DATA and dataProfileColumn.lineNumber = N or not set | ||||
hasTimeZone | boolean | Yes | true | |
Applies when dataProfileColumn.dataType in (DATE, TIMESTAMP, TIMESTAMP WITH TIME ZONE, TIMESTAMP WITH LOCAL TIME ZONE) and dataProfileColumn.type = DATA | ||||
decimalChar | string | No | maxLen=1 | |
Applies when dataProfileColumn.dataType = NUMBER | ||||
groupChar | string | No | maxLen=1 | |
Applies when dataProfileColumn.dataType = NUMBER | ||||
parsing {
selectorType: name
selector: value
columnNumber: 42
pathExpression: value
formatMask: value
hasTimeZone: false
decimalChar: value
groupChar: value
}
computation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when dataProfileColumn.type = SQL_EXPRESSION | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when dataProfileColumn.type = SQL_QUERY | ||||
computation {
sqlExpression: ```
upper(:P1_SEARCH)
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
}
lookup
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
tableOwner | string | No | maxLen=32767 | |
Applies when dataProfileColumn.type = LOOKUP | ||||
tableName | string | Yes | maxLen=128 | |
Applies when dataProfileColumn.type = LOOKUP | ||||
returnColumn | string | Yes | maxLen=32767 | |
Applies when dataProfileColumn.type = LOOKUP | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when dataProfileColumn.type = LOOKUP | ||||
tableColumn1 | string | Yes | maxLen=32767 | |
Applies when dataProfileColumn.type = LOOKUP | ||||
dataColumn1 | string | Yes | maxLen=32767 | |
Applies when dataProfileColumn.type = LOOKUP | ||||
tableColumn2 | string | No | maxLen=32767 | |
Applies when dataProfileColumn.tableColumn1 is set | ||||
dataColumn2 | string | Yes | maxLen=32767 | |
Applies when dataProfileColumn.tableColumn2 is set | ||||
tableColumn3 | string | No | maxLen=32767 | |
Applies when dataProfileColumn.tableColumn2 is set | ||||
dataColumn3 | string | Yes | maxLen=32767 | |
Applies when dataProfileColumn.tableColumn3 is set | ||||
lookup {
tableOwner: value
tableName: value
returnColumn: value
whereClause: ```
status = 'ACTIVE'
```
tableColumn1: value
dataColumn1: value
tableColumn2: value
dataColumn2: value
tableColumn3: value
dataColumn3: value
}
transformation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[leftTrim, rightTrim, trim, replace, lower, upper, nullIf, regexpReplace, regexpNullIf] | |
Applies when dataProfileColumn.dataType NOT_IN_LIST BLOB, SDO_GEOMETRY, ARRAY and dataProfileColumn.type = DATA and dataProfileColumn.lineNumber = N or not set | ||||
trimChars | string | No | maxLen=4000 | |
Applies when dataProfileColumn.type in (LTRIM, RTRIM, TRIM) | ||||
find | string | Yes | maxLen=4000 | |
Applies when dataProfileColumn.type = REPLACE | ||||
regexp | string | Yes | maxLen=4000 | |
Applies when dataProfileColumn.type in (REGEXP_REPLACE, REGEXP_NULLIF) | ||||
replaceWith | string | No | maxLen=4000 | |
Applies when dataProfileColumn.type in (REPLACE, REGEXP_REPLACE) | ||||
value | string | Yes | maxLen=4000 | |
Applies when dataProfileColumn.type = NULLIF | ||||
transformation {
type: leftTrim
trimChars: value
find: value
regexp: value
replaceWith: value
value: value
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
sourceDataType | string | No | maxLen=255 | |
Applies when dataProfileColumn.type = DATA and dataProfileColumn.lineNumber = N or not set | ||||
sourceAttributeName | string | No | maxLen=255 | |
Applies when dataProfileColumn.type = DATA | ||||
additionalInformation | string | No | maxLen=4000 | |
Applies when dataProfileColumn.type = DATA | ||||
common | boolean | Yes | true | |
hidden | boolean | Yes | false | |
advanced {
staticId: value
sourceDataType: value
sourceAttributeName: value
additionalInformation: value
common: false
hidden: false
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
dataProfileColumn "example" (
columnName: value
source {
sequence: 42
type: data
parentColumn: value
lineNumber: false
dataType: varchar2
regexPattern: value
maxLength: 5
primaryKey: false
}
settings {
filterable: false
}
parsing {
selectorType: name
selector: value
columnNumber: 42
pathExpression: value
formatMask: value
hasTimeZone: false
decimalChar: value
groupChar: value
}
computation {
sqlExpression: ```
upper(:P1_SEARCH)
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
}
lookup {
tableOwner: value
tableName: value
returnColumn: value
whereClause: ```
status = 'ACTIVE'
```
tableColumn1: value
dataColumn1: value
tableColumn2: value
dataColumn2: value
tableColumn3: value
dataColumn3: value
}
transformation {
type: leftTrim
trimChars: value
find: value
regexp: value
replaceWith: value
value: value
}
advanced {
staticId: value
sourceDataType: value
sourceAttributeName: value
additionalInformation: value
common: false
hidden: false
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
operation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | No | maxLen=255 | |
label | string | No | maxLen=255 |
operation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
urlPattern | string | Yes | maxLen=500 | |
httpMethod | enum | Yes | enum=[get, post, put, delete, patch] | |
databaseOperation | enum | No | enum=[fetchRows, fetchSingleRow, insert, update, delete] |
operation {
urlPattern: value
httpMethod: get
databaseOperation: fetchRows
}
requestBody
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
template | multiline string | No | maxLen=32760 | |
Applies when operation.httpMethod NOT_EQUALS GET | ||||
versionNumber | enum | Yes | 2 | enum=[1, 2] |
Applies when operation.httpMethod NOT_EQUALS GET | ||||
requestBody {
template: ```
Lorem ipsum dolor sit amet.
```
versionNumber: "1"
}
dataProfile
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
nestedRows | string | No |
dataProfile { nestedRows:@component}
remoteCache
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
caching | enum | No | enum=[allUsers, user, session] | |
Applies when operation.httpMethod in (GET, POST) and operation.databaseOperation in (FETCH_COLLECTION, FETCH_SINGLE_ROW) or not set | ||||
timeout | multiline string | No | maxLen=255 | |
Applies when operation.caching is set | ||||
remoteCache {
caching: allUsers
timeout: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
fixedPageSize | integer | No | maxLen=32767; min=1; max=10000 | |
allowFetchingAllRows | boolean | Yes | false | |
Applies when operation.databaseOperation = FETCH_COLLECTION | ||||
fetchAllRowsTimeout | integer | No | maxLen=32767; min=1 | |
Applies when operation.allowFetchingAllRows = Y | ||||
forceRaiseHttp404Error | boolean | Yes | false | |
Applies when operation.databaseOperation = FETCH_COLLECTION | ||||
staticId | string | No | maxLen=255 | |
advanced {
fixedPageSize: 42
allowFetchingAllRows: false
fetchAllRowsTimeout: 42
forceRaiseHttp404Error: false
staticId: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
operation "example" ( name: exampleName label: label operation { urlPattern: value httpMethod: get databaseOperation: fetchRows } requestBody { template: ``` Lorem ipsum dolor sit amet. ``` versionNumber: "1" } dataProfile { nestedRows:@component} remoteCache { caching: allUsers timeout: ``` Lorem ipsum dolor sit amet. ``` } advanced { fixedPageSize: 42 allowFetchingAllRows: false fetchAllRowsTimeout: 42 forceRaiseHttp404Error: false staticId: value } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
parameter
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
operation | string | No |
parameter
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | urlPattern | enum=[urlPattern, urlQueryString, httpHeader, dataProfileColumn, requestOrResponseBody, httpStatusCode, httpReasonPhrase, httpCookie] |
dataType | enum | Yes | string | enum=[string, numeric, date, timestamp, timestampWithTimeZone, boolean, binary] |
Applies when parameter.type in (HEADER, COOKIE, URL_PATTERN, QUERY_STRING, BODY) | ||||
direction | string | Yes | IN | |
omitWhenValueIsEmpty | boolean | Yes | false | |
Applies when parameter.type in (HEADER, COOKIE, QUERY_STRING) and parameter.static = N | ||||
parameter {
type: urlPattern
dataType: string
direction: value
omitWhenValueIsEmpty: false
}
value
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
formatMask | string | No | maxLen=255 | |
Applies when parameter.dataType in (BOOLEAN, NUMBER, DATE, TIMESTAMP, TIMESTAMP WITH TIME ZONE) | ||||
static | boolean | Yes | false | |
Applies when parameter.type in (URL_PATTERN, QUERY_STRING, BODY, HEADER, COOKIE) and parameter.direction NOT_EQUALS OUT or not set | ||||
defaultValueType | enum | Yes | enum=[staticValue, item, sqlQuery, expression, functionBody] | |
Applies when parameter.direction NOT_EQUALS OUT | ||||
staticValue | multiline string | Yes | maxLen=4000 | |
Applies when parameter.defaultValueType = STATIC | ||||
item | string | Yes | maxLen=255 | |
Applies when parameter.defaultValueType = ITEM | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.defaultValueType = SQL_QUERY | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when parameter.defaultValueType = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when parameter.defaultValueType = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
value {
formatMask: value
static: false
defaultValueType: staticValue
staticValue: ```
Lorem ipsum dolor sit amet.
```
item: value
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: plsql
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
}
validation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
required | boolean | Yes | false | |
Applies when parameter.static = N | ||||
regexPattern | string | No | maxLen=255 | |
Applies when parameter.dataType = VARCHAR2 and parameter.direction NOT_EQUALS OUT or not set | ||||
validation {
required: false
regexPattern: value
}
multipleValues
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
multipleValues | boolean | Yes | false | |
Applies when parameter.type = QUERY_STRING and parameter.omitWhenValueIsEmpty = Y | ||||
separator | string | No | maxLen=5; regex=/^(?!\\$)(?!\"$)(?:(?!\\005[Cc]|\\0022|").)*$/ | |
Applies when parameter.multipleValues = Y | ||||
multipleValues {
multipleValues: false
separator: value
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
useForRowSearch | boolean | Yes | false | |
Applies when parameter.static = N | ||||
staticId | string | Yes | maxLen=255 | |
advanced {
useForRowSearch: false
staticId: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
parameter "example" ( name: exampleName operation:@componentparameter { type: urlPattern dataType: string direction: value omitWhenValueIsEmpty: false } value { formatMask: value static: false defaultValueType: staticValue staticValue: ``` Lorem ipsum dolor sit amet. ``` item: value sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` } validation { required: false regexPattern: value } multipleValues { multipleValues: false separator: value } advanced { useForRowSearch: false staticId: value } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
synchronizationStep
restDataSource.localTableName is set| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
execution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 | |
active | boolean | Yes | true |
execution {
sequence: 42
active: false
}
externalFilter
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
filter | multiline string | No | maxLen=4000 |
externalFilter {
filter: ```
Lorem ipsum dolor sit amet.
```
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
synchronizationStep "example" (
staticId: value
execution {
sequence: 42
active: false
}
externalFilter {
filter: ```
Lorem ipsum dolor sit amet.
```
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
parameter
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes |
value
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | enum=[staticValue, restSourceDefault, sqlQuery, expression, functionBody, null] | |
staticValue | multiline string | Yes | maxLen=4000 | |
Applies when parameter.type = STATIC and parameter.name NOT_FEATURES BOOLEAN_PARAMETER | ||||
staticValue | enum | Yes | enum=[true, false] | |
Applies when parameter.type = STATIC and parameter.name supports BOOLEAN_PARAMETER | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.type = SQL_QUERY | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when parameter.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when parameter.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
formatMask | string | No | maxLen=255 | |
Applies when parameter.name supports NUMBER_PARAMETER, DATE_PARAMETER, TIMESTAMP_PARAMETER, TIMESTAMP_TZ_PARAMETER and parameter.type in (STATIC) | ||||
value {
type: staticValue
staticValue: ```
Lorem ipsum dolor sit amet.
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
formatMask: value
}
APEXlang Example
parameter "example" ( name:@componentvalue { type: staticValue staticValue: ``` Lorem ipsum dolor sit amet. ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` formatMask: value } )
role
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 |
description
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
description | multiline string | No | maxLen=4000 |
description {
description: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No |
subscription {
master: value
}
APEXlang Example
role "example" (
name: exampleName
description {
description: ```
Lorem ipsum dolor sit amet.
```
}
advanced {
staticId: value
}
subscription {
master: value
}
)
searchConfig
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
searchQueryPrefix | string | No | maxLen=255 | |
type | enum | Yes | simple | enum=[simple, vector, text, ubiquitous, apexList] |
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
list | string | Yes | ||
Applies when searchConfig.type = APEX_LIST | ||||
location | enum | Yes | localDatabase | enum=[localDatabase, restEnabledSql, restSource, jsonDualityView, jsonSource, sampleData] |
Applies when searchConfig.type = SIMPLE | ||||
remoteServer | string | Yes | ||
Applies when searchConfig.location = REMOTE | ||||
sampleData | enum | Yes | enum=[employees, tasks, products, projects] | |
Applies when searchConfig.location = SAMPLE_DATA | ||||
type | string | Yes | TABLE | |
Applies when searchConfig.location in (LOCAL, REMOTE) | ||||
tableOwner | string | No | maxLen=32767 | |
Applies when searchConfig.type = TABLE | ||||
tableName | string | Yes | maxLen=128 | |
Applies when searchConfig.type = TABLE | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when searchConfig.type = TABLE | ||||
graphOwner | string | No | maxLen=32767 | |
Applies when searchConfig.type = GRAPH | ||||
graphName | string | Yes | maxLen=32767 | |
Applies when searchConfig.type = GRAPH | ||||
matchClause | multiline string | Yes | maxLen=4000 | |
Applies when searchConfig.type = GRAPH | ||||
columnsClause | multiline string | Yes | maxLen=4000 | |
Applies when searchConfig.type = GRAPH | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when searchConfig.type = GRAPH | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=32767 | |
Applies when searchConfig.type = SQL | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when searchConfig.type = FUNC_BODY_RETURNING_SQL | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when searchConfig.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when searchConfig.language = JAVASCRIPT | ||||
restSource | string | Yes | ||
Applies when searchConfig.location = WEB_SOURCE | ||||
tableOwner | string | No | maxLen=32767 | |
Applies when searchConfig.type = TEXT_MANUAL and searchConfig.type = TABLE | ||||
tableName | string | Yes | maxLen=32767 | |
Applies when searchConfig.type = TEXT_MANUAL and searchConfig.type = TABLE | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when searchConfig.tableName is set or searchConfig.tableName is set | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when searchConfig.type = TEXT_MANUAL and searchConfig.type = SQL | ||||
oracleTextIndexColumn | string | Yes | maxLen=32767 | |
Applies when searchConfig.type = TEXT_MANUAL | ||||
searchIndexOwner | string | No | maxLen=32767 | |
Applies when searchConfig.type = TEXT_DBMS_SEARCH | ||||
searchIndexName | string | No | maxLen=32767 | |
Applies when searchConfig.type = TEXT_DBMS_SEARCH | ||||
searchSourceOwner | string | No | maxLen=32767 | |
Applies when searchConfig.type = TEXT_DBMS_SEARCH | ||||
searchSourceName | string | Yes | maxLen=32767 | |
Applies when searchConfig.type = TEXT_DBMS_SEARCH | ||||
jsonDualityView | string | Yes | ||
Applies when searchConfig.location = DUALITY_VIEW | ||||
jsonSource | string | Yes | ||
Applies when searchConfig.location = JSON_COLLECTION | ||||
optimizerHint | string | No | maxLen=255 | |
Applies when searchConfig.location in (LOCAL, REMOTE, WEB_SOURCE, DUALITY_VIEW, JSON_COLLECTION) | ||||
searchableColumns | array of strings | No | maxLen=32767 | |
Applies when searchConfig.type = SIMPLE | ||||
restSourceQueryFunction | string | No | maxLen=32767 | |
Applies when searchConfig.type = SIMPLE and searchConfig.location = WEB_SOURCE | ||||
type | enum | Yes | tableView | enum=[tableView, sqlQuery] |
Applies when searchConfig.type in (TEXT_MANUAL, VECTOR) | ||||
tableOwner | string | No | maxLen=32767 | |
Applies when searchConfig.type = VECTOR and searchConfig.type = TABLE | ||||
tableName | string | Yes | maxLen=32767 | |
Applies when searchConfig.type = VECTOR and searchConfig.type = TABLE | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=32767 | |
Applies when searchConfig.type = VECTOR and searchConfig.type = SQL | ||||
source { list:@componentlocation: localDatabase remoteServer:@componentsampleData: employees type: value tableOwner: value tableName: value whereClause: ``` status = 'ACTIVE' ``` graphOwner: value graphName: value matchClause: ``` Lorem ipsum dolor sit amet. ``` columnsClause: ``` Lorem ipsum dolor sit amet. ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` restSource:@componentoracleTextIndexColumn: value searchIndexOwner: value searchIndexName: value searchSourceOwner: value searchSourceName: value jsonDualityView:@componentjsonSource:@componentoptimizerHint: value searchableColumns: [ value1 value2 ] restSourceQueryFunction: value }
dataProfile
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
nestedRows | string | No | ||
Applies when searchConfig.restSource supports HAS_ARRAY_COLUMNS | ||||
nestedRows | string | No | ||
Applies when searchConfig.jsonDualityView supports HAS_ARRAY_COLUMNS | ||||
nestedRows | string | No | ||
Applies when searchConfig.jsonSource supports HAS_ARRAY_COLUMNS | ||||
dataProfile { nestedRows:@component}
externalFilter
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
enabled | boolean | Yes | false | |
Applies when searchConfig.restSource is set | ||||
filter | multiline string | No | maxLen=4000 | |
Applies when searchConfig.enabled = Y | ||||
externalFilter {
enabled: false
filter: ```
Lorem ipsum dolor sit amet.
```
}
localPostProcessing
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[whereOrderByClause, sqlQuery, plsqlFunctionBody] | |
Applies when searchConfig.restSource is set | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when searchConfig.type = WHERE_ORDER_BY_CLAUSE | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=32767 | |
Applies when searchConfig.type = SQL | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when searchConfig.type = FUNC_BODY_RETURNING_SQL | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when searchConfig.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when searchConfig.language = JAVASCRIPT | ||||
type | enum | No | enum=[whereOrderByClause, sqlQuery, plsqlFunctionBody] | |
Applies when searchConfig.jsonDualityView is set | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when searchConfig.type = WHERE_ORDER_BY_CLAUSE | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=32767 | |
Applies when searchConfig.type = SQL | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when searchConfig.type = FUNC_BODY_RETURNING_SQL | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when searchConfig.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when searchConfig.language = JAVASCRIPT | ||||
type | enum | No | enum=[whereOrderByClause, sqlQuery, plsqlFunctionBody] | |
Applies when searchConfig.jsonSource is set | ||||
whereClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when searchConfig.type = WHERE_ORDER_BY_CLAUSE | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=32767 | |
Applies when searchConfig.type = SQL | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when searchConfig.type = FUNC_BODY_RETURNING_SQL | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when searchConfig.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when searchConfig.language = JAVASCRIPT | ||||
localPostProcessing {
type: whereOrderByClause
whereClause: ```
status = 'ACTIVE'
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: plsql
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
}
rowSearch
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
textQueryFunction | enum | No | enum=[searchEngine, expertSearch, custom] | |
Applies when searchConfig.type in (TEXT_MANUAL, TEXT_DBMS_SEARCH) | ||||
customFunctionName | string | Yes | maxLen=255 | |
Applies when searchConfig.type in (TEXT_MANUAL, TEXT_DBMS_SEARCH) and searchConfig.textQueryFunction = CUSTOM | ||||
rowSearch {
textQueryFunction: searchEngine
customFunctionName: value
}
vectorAttributes
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
provider | string | Yes | ||
Applies when searchConfig.type = VECTOR | ||||
columnName | string | Yes | maxLen=128 | |
Applies when searchConfig.type = VECTOR | ||||
searchType | enum | Yes | exact | enum=[exact, approx] |
Applies when searchConfig.type = VECTOR | ||||
distanceMetric | enum | Yes | cosine | enum=[cosine, dot, euclidean, euclideanSquared, hamming, manhattan] |
Applies when searchConfig.type = VECTOR | ||||
targetAccuracy | integer | Yes | 85 | maxLen=255; min=1; max=100 |
Applies when searchConfig.type = VECTOR and searchConfig.searchType = APPROX | ||||
vectorAttributes {
provider: unique-id
columnName: value
searchType: exact
distanceMetric: cosine
targetAccuracy: 42
}
orderBy
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
orderByClause | multiline string | No | language=sql; maxLen=4000 | |
Applies when searchConfig.type NOT_EQUALS VECTOR | ||||
orderBy {
orderByClause: ```
created_on desc
```
}
columnMapping
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
primaryKey1Column | string | Yes | maxLen=32767 | |
primaryKey2Column | string | No | maxLen=32767 | |
titleColumn | string | Yes | maxLen=32767 | |
subtitleColumn | string | No | maxLen=32767 | |
descriptionColumn | string | No | maxLen=32767 | |
badgeColumn | string | No | maxLen=32767 | |
mimeTypeColumn | string | No | maxLen=32767 | |
Applies when searchConfig.imageColumn is set | ||||
lastModifiedColumn | string | No | maxLen=32767 | |
customColumn1 | string | No | maxLen=32767 | |
customColumn2 | string | No | maxLen=32767 | |
customColumn3 | string | No | maxLen=32767 | |
scoreColumn | string | No | maxLen=32767 | |
columnMapping {
primaryKey1Column: value
primaryKey2Column: value
titleColumn: "Page title"
subtitleColumn: "Page title"
descriptionColumn: "Lorem ipsum dolor sit amet."
badgeColumn: value
mimeTypeColumn: value
lastModifiedColumn: value
customColumn1: value
customColumn2: value
customColumn3: value
scoreColumn: value
}
link
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[redirectThisApp, redirectOtherApp, redirectUrl, redirectUrlReturnedByFirstCol] | |
target | complex | Yes | maxLen=32767 | |
Applies when searchConfig.type = REDIRECT_PAGE | ||||
target | complex | Yes | maxLen=32767 | |
Applies when searchConfig.type = REDIRECT_APP | ||||
targetUrl | string | Yes | maxLen=4000 | |
Applies when searchConfig.type = REDIRECT_URL | ||||
link {
type: redirectThisApp
target: value
targetUrl: value
}
iconAndBadge
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
iconSource | enum | No | enum=[initials, iconClass, iconClassColumn, imageUrl, imageBlobColumn] | |
iconColumn | string | Yes | maxLen=32767 | |
Applies when searchConfig.iconSource = DYNAMIC_CLASS | ||||
imageColumn | string | Yes | maxLen=32767 | |
Applies when searchConfig.iconSource = BLOB | ||||
imageUrl | string | Yes | maxLen=4000 | |
Applies when searchConfig.iconSource = URL | ||||
iconCssClasses | string | No | maxLen=255 | |
Applies when searchConfig.iconSource = STATIC_CLASS | ||||
iconAndBadge {
iconSource: initials
iconColumn: fa-check
imageColumn: value
imageUrl: value
iconCssClasses: fa-check
}
columnFormatting
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
htmlExpression | multiline string | No | language=html; maxLen=4000 |
columnFormatting {
htmlExpression: ```
Lorem ipsum dolor sit amet.
```
}
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
cssClasses | array of strings | No | maxLen=255 | |
maxVectorDistance | integer | No | maxLen=255 | |
Applies when searchConfig.type = VECTOR | ||||
appearance {
cssClasses: [
value1
value2
]
maxVectorDistance: 5
}
performance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
maxRowsToReturn | integer | No | maxLen=32767; min=1 |
performance {
maxRowsToReturn: 5
}
messages
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
whenNoDataFound | multiline string | No | maxLen=4000 |
messages {
whenNoDataFound: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, request=Value, request!=Value, requestIsContainedInValue, requestIsNotContainedInValue, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, userPreference=value, userPreference!=value, currentPage=page, currentPage!=page, currentPageInList, currentPageNotInList, currentPage=pageSubmitted, currentPage!=pageSubmitted, currentPageIsInPrinterFriendlyMode, currentPageIsNotInPrinterFriendlyMode, pageRegionIsReadOnly, pageRegionIsNotReadOnly, userIsAuthenticated, userIsPublicUser, inlineValidationErrorsDisplayed, inlineValidationErrorsNotDisplayed, sqlReportsOkToShowForwardButton, sqlReportsOkToShowBackButton, currentLanguage=value, currentLanguage!=value, currentLanguageIsContainedInValue, currentLanguageIsNotContainedInValue, clientBrowserIsMozilla, clientBrowserIsIE7higher, clientBrowserIsXhtmlCssCapable, clientBrowserIsOther, cgiEnvDadName=value, cgiEnvDadName!=value, cgiEnvServerName=value, cgiEnvServerName!=value, cgiEnvHttpHost=value, cgiEnvHttpHost!=value, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when searchConfig.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when searchConfig.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when searchConfig.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when searchConfig.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when searchConfig.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when searchConfig.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when searchConfig.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when searchConfig.language = JAVASCRIPT | ||||
value | string | Yes | maxLen=4000 | |
Applies when searchConfig.type in (REQUEST_EQUALS_CONDITION, REQUEST_NOT_EQUAL_CONDITION, REQUEST_IN_CONDITION, REQUEST_NOT_IN_CONDITION, CURRENT_LANG_IN_COND1, CURRENT_LANG_NOT_IN_COND1, CURRENT_LANG_NOT_EQ_COND1, CURRENT_LANG_EQ_COND1, DAD_NAME_EQ_CONDITION, DAD_NAME_NOT_EQ_CONDITION, SERVER_NAME_EQ_CONDITION, SERVER_NAME_NOT_EQ_CONDITION, HTTP_HOST_EQ_CONDITION, HTTP_HOST_NOT_EQ_CONDITION) | ||||
item | string | Yes | maxLen=4000 | |
Applies when searchConfig.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
preference | string | Yes | maxLen=4000 | |
Applies when searchConfig.type in (USER_PREF_IN_COND_EQ_COND2, USER_PREF_IN_COND_NOT_EQ_COND2) | ||||
page | integer | Yes | maxLen=4000 | |
Applies when searchConfig.type in (CURRENT_PAGE_EQUALS_CONDITION, CURRENT_PAGE_NOT_EQUAL_CONDITION) | ||||
pages | array of integers | Yes | maxLen=4000 | |
Applies when searchConfig.type in (CURRENT_PAGE_IN_CONDITION, CURRENT_PAGE_NOT_IN_CONDITION) | ||||
text | string | Yes | maxLen=4000 | |
Applies when searchConfig.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when searchConfig.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when searchConfig.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when searchConfig.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when searchConfig.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
value: value
item: value
preference: value
page: 42
pages: [1, 2]
text: text
list: [
value1
value2
]
}
security
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
authorizationScheme | string | No |
security { authorizationScheme:@component}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No |
subscription {
master: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
searchConfig "example" ( name: exampleName searchQueryPrefix: value type: simple source { list:@componentlocation: localDatabase remoteServer:@componentsampleData: employees type: value tableOwner: value tableName: value whereClause: ``` status = 'ACTIVE' ``` graphOwner: value graphName: value matchClause: ``` Lorem ipsum dolor sit amet. ``` columnsClause: ``` Lorem ipsum dolor sit amet. ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` restSource:@componentoracleTextIndexColumn: value searchIndexOwner: value searchIndexName: value searchSourceOwner: value searchSourceName: value jsonDualityView:@componentjsonSource:@componentoptimizerHint: value searchableColumns: [ value1 value2 ] restSourceQueryFunction: value } dataProfile { nestedRows:@component} externalFilter { enabled: false filter: ``` Lorem ipsum dolor sit amet. ``` } localPostProcessing { type: whereOrderByClause whereClause: ``` status = 'ACTIVE' ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` } rowSearch { textQueryFunction: searchEngine customFunctionName: value } vectorAttributes { provider: unique-id columnName: value searchType: exact distanceMetric: cosine targetAccuracy: 42 } orderBy { orderByClause: ``` created_on desc ``` } columnMapping { primaryKey1Column: value primaryKey2Column: value titleColumn: "Page title" subtitleColumn: "Page title" descriptionColumn: "Lorem ipsum dolor sit amet." badgeColumn: value mimeTypeColumn: value lastModifiedColumn: value customColumn1: value customColumn2: value customColumn3: value scoreColumn: value } link { type: redirectThisApp target: value targetUrl: value } iconAndBadge { iconSource: initials iconColumn: fa-check imageColumn: value imageUrl: value iconCssClasses: fa-check } columnFormatting { htmlExpression: ``` Lorem ipsum dolor sit amet. ``` } appearance { cssClasses: [ value1 value2 ] maxVectorDistance: 5 } performance { maxRowsToReturn: 5 } messages { whenNoDataFound: ``` Lorem ipsum dolor sit amet. ``` } advanced { staticId: value } serverSideCondition { type: always sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` value: value item: value preference: value page: 42 pages: [1, 2] text: text list: [ value1 value2 ] } security { authorizationScheme:@component} config { buildOption:@component} subscription { master: value } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
parameter
searchConfig.restSource is set| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes |
value
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | enum=[staticValue, restSourceDefault, item, sqlQuery, expression, functionBody, collectionClob, preference, null] | |
staticValue | multiline string | Yes | maxLen=4000 | |
Applies when parameter.type = STATIC and parameter.name NOT_FEATURES BOOLEAN_PARAMETER | ||||
staticValue | enum | Yes | enum=[true, false] | |
Applies when parameter.type = STATIC and parameter.name supports BOOLEAN_PARAMETER | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.type = SQL_QUERY | ||||
item | string | Yes | maxLen=255 | |
Applies when parameter.type = ITEM | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when parameter.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when parameter.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
preference | string | Yes | maxLen=255 | |
Applies when parameter.type = PREFERENCE | ||||
name | string | Yes | maxLen=255 | |
Applies when parameter.type = COLLECTION | ||||
formatMask | string | No | maxLen=255 | |
Applies when parameter.name supports NUMBER_PARAMETER, DATE_PARAMETER, TIMESTAMP_PARAMETER, TIMESTAMP_TZ_PARAMETER and parameter.type in (STATIC, ITEM, PREFERENCE) | ||||
trueValue | string | No | maxLen=10 | |
Applies when parameter.name supports BOOLEAN_PARAMETER and parameter.type in (ITEM, PREFERENCE) | ||||
falseValue | string | No | maxLen=10 | |
Applies when parameter.name supports BOOLEAN_PARAMETER and parameter.type in (ITEM, PREFERENCE) | ||||
value {
type: staticValue
staticValue: ```
Lorem ipsum dolor sit amet.
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
item: value
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
preference: value
name: exampleName
formatMask: value
trueValue: value
falseValue: value
}
APEXlang Example
parameter "example" ( name:@componentvalue { type: staticValue staticValue: ``` Lorem ipsum dolor sit amet. ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` item: value language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` preference: value name: exampleName formatMask: value trueValue: value falseValue: value } )
shortcut
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | htmlText | enum=[functionBody, htmlText, htmlEscapeSpecialChars, image, jsEscapeSingleQuotes, message, jsMessageEscapeSingleQuotes] |
htmlCode | multiline string | Yes | language=html; maxLen=32767 | |
Applies when shortcut.type in (HTML_TEXT, HTML_TEXT_ESCAPE_SC) | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when shortcut.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when shortcut.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when shortcut.language = JAVASCRIPT | ||||
text | multiline string | Yes | maxLen=32767 | |
Applies when shortcut.type = TEXT_ESCAPE_JS | ||||
messageName | string | Yes | maxLen=255 | |
Applies when shortcut.type in (MESSAGE, MESSAGE_ESCAPE_JS) | ||||
imageUrl | string | Yes | maxLen=255 | |
Applies when shortcut.type = IMAGE | ||||
source {
type: functionBody
htmlCode: ```
Lorem ipsum dolor sit amet.
```
language: plsql
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
text: ```
Lorem ipsum dolor sit amet.
```
messageName: value
imageUrl: value
}
error
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
errorMessage | multiline string | No | maxLen=4000 |
error {
errorMessage: ```
Lorem ipsum dolor sit amet.
```
}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No |
subscription {
master: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
shortcut "example" ( staticId: value source { type: functionBody htmlCode: ``` Lorem ipsum dolor sit amet. ``` language: plsql plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` text: ``` Lorem ipsum dolor sit amet. ``` messageName: value imageUrl: value } error { errorMessage: ``` Lorem ipsum dolor sit amet. ``` } config { buildOption:@component} subscription { master: value } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
substitution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 |
value
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticValue | multiline string | No | maxLen=4000 |
value {
staticValue: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
substitution "example" (
name: exampleName
value {
staticValue: ```
Lorem ipsum dolor sit amet.
```
}
)
supportingObject
prerequisites
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
freeSpace | integer | No | maxLen=32767; min=1 | |
systemPrivileges | array of enums | No | enum=[createDatabaseLink, createMaterializedView, createProcedure, createSequence, createSynonym, createTable, createTrigger, createType, createView] |
prerequisites {
freeSpace: 42
systemPrivileges: [
createDatabaseLink
createMaterializedView
]
}
installation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
objectNames | array of multiline strings | No | maxLen=32767 |
installation {
objectNames: [
value1
value2
]
}
installationMessages
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
welcome | multiline string | No | maxLen=4000 | |
confirmation | multiline string | No | maxLen=4000 | |
installSuccess | multiline string | No | maxLen=4000 | |
installFailure | multiline string | No | maxLen=4000 |
installationMessages {
welcome: ```
Lorem ipsum dolor sit amet.
```
confirmation: ```
Lorem ipsum dolor sit amet.
```
installSuccess: ```
Lorem ipsum dolor sit amet.
```
installFailure: ```
Lorem ipsum dolor sit amet.
```
}
upgrade
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
upgradeWhenSqlQuery | multiline string | No | language=sql; maxLen=32767 |
upgrade {
upgradeWhenSqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
}
upgradeMessages
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
welcome | multiline string | No | maxLen=4000 | |
confirmation | multiline string | No | maxLen=4000 | |
success | multiline string | No | maxLen=4000 | |
failure | multiline string | No | maxLen=4000 |
upgradeMessages {
welcome: ```
Lorem ipsum dolor sit amet.
```
confirmation: ```
Lorem ipsum dolor sit amet.
```
success: ```
Lorem ipsum dolor sit amet.
```
failure: ```
Lorem ipsum dolor sit amet.
```
}
deinstall
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
script | multiline string | No | maxLen=32767 |
deinstall {
script: ```
value
```
}
deinstallationMessages
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
confirmation | multiline string | No | maxLen=4000 | |
postDeinstall | multiline string | No | maxLen=4000 |
deinstallationMessages {
confirmation: ```
Lorem ipsum dolor sit amet.
```
postDeinstall: ```
Lorem ipsum dolor sit amet.
```
}
messages
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
license | multiline string | No | maxLen=4000 | |
validations | multiline string | No | maxLen=4000 | |
appSubstitutions | multiline string | No | maxLen=4000 | |
buildOptions | multiline string | No | maxLen=4000 |
messages {
license: ```
Lorem ipsum dolor sit amet.
```
validations: ```
Lorem ipsum dolor sit amet.
```
appSubstitutions: ```
Lorem ipsum dolor sit amet.
```
buildOptions: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
includeInAppExport | enum | No | enum=[true, false, autoInstall] |
advanced {
includeInAppExport: true
}
APEXlang Example
supportingObject "example" (
prerequisites {
freeSpace: 42
systemPrivileges: [
createDatabaseLink
createMaterializedView
]
}
installation {
objectNames: [
value1
value2
]
}
installationMessages {
welcome: ```
Lorem ipsum dolor sit amet.
```
confirmation: ```
Lorem ipsum dolor sit amet.
```
installSuccess: ```
Lorem ipsum dolor sit amet.
```
installFailure: ```
Lorem ipsum dolor sit amet.
```
}
upgrade {
upgradeWhenSqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
}
upgradeMessages {
welcome: ```
Lorem ipsum dolor sit amet.
```
confirmation: ```
Lorem ipsum dolor sit amet.
```
success: ```
Lorem ipsum dolor sit amet.
```
failure: ```
Lorem ipsum dolor sit amet.
```
}
deinstall {
script: ```
value
```
}
deinstallationMessages {
confirmation: ```
Lorem ipsum dolor sit amet.
```
postDeinstall: ```
Lorem ipsum dolor sit amet.
```
}
messages {
license: ```
Lorem ipsum dolor sit amet.
```
validations: ```
Lorem ipsum dolor sit amet.
```
appSubstitutions: ```
Lorem ipsum dolor sit amet.
```
buildOptions: ```
Lorem ipsum dolor sit amet.
```
}
advanced {
includeInAppExport: true
}
)
buildOption
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | Yes |
config { buildOption:@component}
APEXlang Example
buildOption "example" ( config { buildOption:@component} )
installScript
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 |
execution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 |
execution {
sequence: 42
}
script
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[packageSpec, packageBody, table] | |
content | multiline string | Yes | maxLen=32767 |
script {
type: packageSpec
content: ```
value
```
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when installScript.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when installScript.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when installScript.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when installScript.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when installScript.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when installScript.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when installScript.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when installScript.language = JAVASCRIPT | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
}
APEXlang Example
installScript "example" (
name: exampleName
execution {
sequence: 42
}
script {
type: packageSpec
content: ```
value
```
}
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
}
)
databaseObject
dbObject
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
owner | string | No | maxLen=32767 | |
type | enum | Yes | enum=[databaseLink, function, index, materializedView, mleEnvironment, mleModule, package, procedure, sequence, synonym, table, trigger, type, view] | |
name | string | Yes | maxLen=128 |
dbObject {
owner: value
type: databaseLink
name: exampleName
}
APEXlang Example
databaseObject "example" (
dbObject {
owner: value
type: databaseLink
name: exampleName
}
)
substitution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 |
installation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
promptSubstitution | boolean | Yes | false | |
installationPrompt | string | No | maxLen=255 | |
Applies when substitution.promptSubstitution = Y | ||||
installation {
promptSubstitution: false
installationPrompt: value
}
APEXlang Example
substitution "example" (
name: exampleName
installation {
promptSubstitution: false
installationPrompt: value
}
)
upgradeScript
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 |
execution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 |
execution {
sequence: 42
}
script
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[packageSpec, packageBody, table] | |
content | multiline string | Yes | maxLen=32767 |
script {
type: packageSpec
content: ```
value
```
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when upgradeScript.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when upgradeScript.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when upgradeScript.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when upgradeScript.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when upgradeScript.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when upgradeScript.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when upgradeScript.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when upgradeScript.language = JAVASCRIPT | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
}
APEXlang Example
upgradeScript "example" (
name: exampleName
execution {
sequence: 42
}
script {
type: packageSpec
content: ```
value
```
}
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
}
)
validation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 |
execution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 |
execution {
sequence: 42
}
validation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when validation.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when validation.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when validation.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when validation.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when validation.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when validation.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when validation.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when validation.language = JAVASCRIPT | ||||
validation {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
}
error
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
errorMessage | multiline string | Yes | maxLen=4000 |
error {
errorMessage: ```
Lorem ipsum dolor sit amet.
```
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[always, rowsReturned, noRowsReturned, expression, functionBody, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when validation.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when validation.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when validation.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when validation.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when validation.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when validation.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when validation.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when validation.language = JAVASCRIPT | ||||
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
}
APEXlang Example
validation "example" (
name: exampleName
execution {
sequence: 42
}
validation {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
}
error {
errorMessage: ```
Lorem ipsum dolor sit amet.
```
}
serverSideCondition {
type: always
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
}
)
taskDefinition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
type | enum | Yes | enum=[approval, action] |
task
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
subject | string | Yes | maxLen=400 | |
priority | enum | Yes | 3 | enum=[1, 2, 3, 4, 5] |
initiatorCanComplete | boolean | Yes | false | |
Applies when taskDefinition.type = APPROVAL | ||||
task {
subject: value
priority: "1"
initiatorCanComplete: false
}
deadline
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
dueOnType | enum | No | enum=[interval, sqlQuery, expression, functionBody, schedulerExpression] | |
interval | string | Yes | maxLen=255 | |
Applies when taskDefinition.dueOnType = INTERVAL | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when taskDefinition.dueOnType = SQL_QUERY | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when taskDefinition.dueOnType = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when taskDefinition.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when taskDefinition.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when taskDefinition.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when taskDefinition.dueOnType = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when taskDefinition.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when taskDefinition.language = JAVASCRIPT | ||||
schedulerExpression | multiline string | Yes | maxLen=255 | |
Applies when taskDefinition.dueOnType = SCHEDULER_EXPRESSION | ||||
expirationPolicy | enum | Yes | none | enum=[none, expire, renew] |
Applies when taskDefinition.dueOnType is set | ||||
maxRenewalCount | number | Yes | maxLen=22; min=1; max=99 | |
Applies when taskDefinition.expirationPolicy = RENEW | ||||
deadline {
dueOnType: interval
interval: value
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
schedulerExpression: ```
Lorem ipsum dolor sit amet.
```
expirationPolicy: none
maxRenewalCount: 5
}
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | none | enum=[none, tableView, sqlQuery] |
tableOwner | string | No | maxLen=32767 | |
Applies when taskDefinition.type = TABLE | ||||
tableName | string | Yes | maxLen=128 | |
Applies when taskDefinition.type = TABLE | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=32767 | |
Applies when taskDefinition.type = SQL | ||||
source {
type: none
tableOwner: value
tableName: value
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
}
columnMapping
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
primaryKeyColumn | string | No | maxLen=32767 | |
Applies when taskDefinition.type = TABLE | ||||
columnMapping {
primaryKeyColumn: value
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
vacationRuleProcedureName | string | No | maxLen=500 | |
detailsPage | complex | No | maxLen=32767 |
advanced {
staticId: value
vacationRuleProcedureName: value
detailsPage: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
taskDefinition "example" (
name: exampleName
type: approval
task {
subject: value
priority: "1"
initiatorCanComplete: false
}
deadline {
dueOnType: interval
interval: value
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
schedulerExpression: ```
Lorem ipsum dolor sit amet.
```
expirationPolicy: none
maxRenewalCount: 5
}
source {
type: none
tableOwner: value
tableName: value
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
}
columnMapping {
primaryKeyColumn: value
}
advanced {
staticId: value
vacationRuleProcedureName: value
detailsPage: value
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
action
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
type | enum | Yes | enum=[autoRowFetch, autoRowProcessing, clearSessionState, closeDialog, dataLoading, download, executeCode, executionChain, formAutoRowProcessing, formInitialization, formPagination, generateTextWithAi, humanTaskCreate, humanTaskManage, interactiveGridAutoRowProcessing, invokeApi, invokeWorkflow, legacyAutoRowProcessing, legacyWebService, loadUploadedData, parallelFlow, parseUploadedData, plugin/<pluginName>, prepareUploadedData, printReport, resetPagination, sendEMail, sendPushNotification, serverSideGeocoding, switch, tabformAddRows, tabformDelete, tabformUpdate, userPreferences, wait, webService, workflow, workflowEnd, workflowStart] |
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
location | enum | Yes | localDatabase | enum=[localDatabase, restEnabledSql] |
Applies when action.type = plsql | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when action.location = LOCAL | ||||
plsqlCode | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when action.language = PLSQL | ||||
javaScriptCode | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when action.language = JAVASCRIPT | ||||
remoteServer | string | Yes | ||
Applies when action.location = REMOTE | ||||
plsqlCode | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when action.location = REMOTE | ||||
source { location: localDatabase language: plsql plsqlCode: ``` apex_debug.message('Processing APEXlang component'); apex_collection.create_or_truncate_collection( p_collection_name => 'EXAMPLE_ROWS' ); ``` javaScriptCode: ``` apex.message.alert( "Load complete." ); ``` remoteServer:@component}
execution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
onEvent | enum | Yes | claim | enum=[claim, complete, delegate, updateComment, updatePriority, updateParameter, release, cancel, create, requestInformation, submitInformation, beforeExpire, expire] |
outcome | enum | No | enum=[approved, rejected] | |
Applies when action.onEvent = COMPLETE and taskDefinition.type = APPROVAL | ||||
beforeExpirationInterval | string | No | maxLen=32767 | |
Applies when action.onEvent = BEFORE_EXPIRE | ||||
sequence | number | Yes | maxLen=22 | |
execution {
onEvent: claim
outcome: approved
beforeExpirationInterval: value
sequence: 42
}
successMessage
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
successMessage | multiline string | No | maxLen=4000 |
successMessage {
successMessage: ```
Lorem ipsum dolor sit amet.
```
}
error
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
errorMessage | multiline string | No | maxLen=4000 | |
logging | enum | Yes | none | enum=[none, success, failure, all] |
stopExecutionOnError | boolean | Yes | true |
error {
errorMessage: ```
Lorem ipsum dolor sit amet.
```
logging: none
stopExecutionOnError: false
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[rowsReturned, noRowsReturned, expression, functionBody, item=value, item!=value, itemIsNull, itemIsNotNull, itemIsZero, itemIsNotZero, itemIsNullOrZero, itemIsNotNullAndNotZero, itemContainsNoSpaces, itemIsNumeric, itemIsNotNumeric, itemIsAlphanumeric, itemIsInColonDelimitedList, itemIsNotInColonDelimitedList, textIsContainedInItem, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, never] | |
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when action.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when action.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when action.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when action.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when action.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when action.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when action.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when action.language = JAVASCRIPT | ||||
item | string | Yes | maxLen=4000 | |
Applies when action.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
text | string | Yes | maxLen=4000 | |
Applies when action.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when action.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when action.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when action.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when action.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: rowsReturned
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
item: value
text: text
value: value
list: [
value1
value2
]
}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No |
config { buildOption:@component}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
action "example" ( name: exampleName type: staticContent source { location: localDatabase language: plsql plsqlCode: ``` apex_debug.message('Processing APEXlang component'); apex_collection.create_or_truncate_collection( p_collection_name => 'EXAMPLE_ROWS' ); ``` javaScriptCode: ``` apex.message.alert( "Load complete." ); ``` remoteServer:@component} execution { onEvent: claim outcome: approved beforeExpirationInterval: value sequence: 42 } successMessage { successMessage: ``` Lorem ipsum dolor sit amet. ``` } error { errorMessage: ``` Lorem ipsum dolor sit amet. ``` logging: none stopExecutionOnError: false } advanced { staticId: value } serverSideCondition { type: rowsReturned sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` item: value text: text value: value list: [ value1 value2 ] } config { buildOption:@component} comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
parameter
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
label | string | Yes | maxLen=255 | |
dataType | enum | Yes | string | enum=[string] |
validation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
required | boolean | Yes | true |
validation {
required: false
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
showOnTaskDetails | boolean | Yes | true | |
updatable | boolean | Yes | false |
advanced {
showOnTaskDetails: false
updatable: false
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
parameter "example" (
staticId: value
label: label
dataType: string
validation {
required: false
}
advanced {
showOnTaskDetails: false
updatable: false
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
participant
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | potentialOwner | enum=[potentialOwner, businessAdministrator, excludedOwner, excludedAdmin] |
identityType | enum | Yes | user | enum=[user, authorizationScheme] |
value
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | staticValue | enum=[staticValue, sqlQuery, expression, functionBody] |
staticValue | multiline string | Yes | maxLen=4000 | |
Applies when participant.type = STATIC | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when participant.type = SQL_QUERY | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when participant.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when participant.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when participant.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when participant.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when participant.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when participant.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when participant.language = JAVASCRIPT | ||||
value {
type: staticValue
staticValue: ```
Lorem ipsum dolor sit amet.
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
}
APEXlang Example
participant "example" (
type: potentialOwner
identityType: user
value {
type: staticValue
staticValue: ```
Lorem ipsum dolor sit amet.
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
}
)
textMessage
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
message
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
text | multiline string | Yes | maxLen=4000 | |
language | enum | Yes | enum=[af, sq, ar-dz, ar-bh, ar-eg, ar-iq, ar-jo, ar-kw, ar-lb, ar-ly, ar-ma, ar-om, ar-qa, ar-sa, ar-sy, ar-tn, ar-ae, ar-ye, ar, hy, as, az, eu, be, bn, ba, bg, km, ca, zh-cn, zh-hk, zh-mo, zh-sg, zh-tw, zh, hr, cs, da, nl-be, nl, en-au, en-bz, en-ca, en-ie, en-jm, en-nz, en-ph, en-za, en-tt, en-gb, en-us, en-zw, en, et, mk, fo, fa, fi, fr-be, fr-ca, fr, fr-lu, fr-mc, fr-ch, gd, gl, de-at, de, de-li, de-lu, de-ch, el, gu, he, hi, hu, is, id, ga, it, it-ch, ja, kn, kk, kok, ko, kz, lv, lt, ms, ml, mt, mr, me, ne, nb-no, no, nn-no, or, pl, pt-br, pt, pa, ro, ru-md, ru, sr-cyrl, sr-latn, sr, sk, sl, es-ar, es-bo, es-cl, es-co, es-cr, es-do, es-ec, es-sv, es-gt, es-hn, es-mx, es-ni, es-pa, es-py, es-pe, es-pr, es, es-us, es-uy, es-ve, sw, sv-fi, sv, ta, te, th, tr, uk, ur, uz, vi, cy] | |
usedInJavaScript | boolean | Yes | false |
message {
text: ```
Lorem ipsum dolor sit amet.
```
language: af
usedInJavaScript: false
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
metadata | multiline string | No | maxLen=32767 |
advanced {
metadata: ```
Lorem ipsum dolor sit amet.
```
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No |
subscription {
master: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
textMessage "example" (
staticId: value
message {
text: ```
Lorem ipsum dolor sit amet.
```
language: af
usedInJavaScript: false
}
advanced {
metadata: ```
Lorem ipsum dolor sit amet.
```
}
subscription {
master: value
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
theme
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
themeNumber | integer | No | maxLen=10; min=1 | |
baseTheme | enum | No | enum=[ut-24.2, ut-26.1] | |
version | string | No | maxLen=30 | |
Applies when theme.baseTheme NULL or theme.master is set | ||||
style
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
currentThemeStyle | string | No |
style {
currentThemeStyle: value
}
javaScript
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
fileUrls | array of strings | No | maxLen=4000 |
javaScript {
fileUrls: [
value1
value2
]
}
css
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
fileUrls | array of strings | No | maxLen=4000 |
css {
fileUrls: [
value1
value2
]
}
navigation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | list | enum=[tabs, list] |
navigationBarType | enum | Yes | list | enum=[classic, list] |
navigation {
type: tabs
navigationBarType: classic
}
componentDefaults
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
page | string | No | ||
navigationBarList | string | No | ||
navigationMenuListPosition | enum | Yes | top | enum=[top, side] |
navigationMenuListTop | string | No | ||
navigationMenuListSide | string | No | ||
loginPage | string | No | ||
errorPage | string | No | ||
printerFriendlyPage | string | No | ||
breadcrumb | string | No | ||
button | string | No | ||
defaultLabel | string | No | ||
optionalLabel | string | No | ||
requiredLabel | string | No | ||
list | string | No | ||
region | string | No | ||
classicReport | string | No | ||
headerToolbar | string | No | ||
footerToolbar | string | No |
componentDefaults {
page: value
navigationBarList: value
navigationMenuListPosition: top
navigationMenuListTop: value
navigationMenuListSide: unique-id
loginPage: value
errorPage: value
printerFriendlyPage: value
breadcrumb: value
button: value
defaultLabel: value
optionalLabel: value
requiredLabel: value
list: value
region: value
classicReport: custom-class
headerToolbar: value
footerToolbar: value
}
regionDefaults
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
breadcrumbs | string | No | ||
charts | string | No | ||
forms | string | No | ||
lists | string | No | ||
reports | string | No | ||
wizards | string | No | ||
interactiveReports | string | No |
regionDefaults {
breadcrumbs: value
charts: value
forms: value
lists: value
reports: value
wizards: value
interactiveReports: value
}
dialogDefaults
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
dialogContentRegion | string | No | ||
dialogButtonRegion | string | No | ||
dialogPage | string | No |
dialogDefaults {
dialogContentRegion: value
dialogButtonRegion: value
dialogPage: value
}
icons
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
library | enum | No | enum=[fontApex, fontApexLatest] | |
customLibraryFileUrls | multiline string | No | maxLen=4000 | |
customClasses | multiline string | No | maxLen=4000 | |
customPrefixClass | string | No | maxLen=30 | |
datePickerIconName | string | No | maxLen=255 | |
datePickerIconAttributes | string | No | maxLen=4000 |
icons {
library: fontApex
customLibraryFileUrls: ```
Lorem ipsum dolor sit amet.
```
customClasses: ```
Lorem ipsum dolor sit amet.
```
customPrefixClass: value
datePickerIconName: value
datePickerIconAttributes: value
}
description
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
description | multiline string | No | maxLen=4000 |
description {
description: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
filePrefix | string | No | maxLen=255 | |
identifier | string | Yes | maxLen=255 |
advanced {
staticId: value
filePrefix: value
identifier: unique-id
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No |
subscription {
master: value
}
APEXlang Example
theme "example" (
name: exampleName
themeNumber: 42
baseTheme: ut-24.2
version: value
style {
currentThemeStyle: value
}
javaScript {
fileUrls: [
value1
value2
]
}
css {
fileUrls: [
value1
value2
]
}
navigation {
type: tabs
navigationBarType: classic
}
componentDefaults {
page: value
navigationBarList: value
navigationMenuListPosition: top
navigationMenuListTop: value
navigationMenuListSide: unique-id
loginPage: value
errorPage: value
printerFriendlyPage: value
breadcrumb: value
button: value
defaultLabel: value
optionalLabel: value
requiredLabel: value
list: value
region: value
classicReport: custom-class
headerToolbar: value
footerToolbar: value
}
regionDefaults {
breadcrumbs: value
charts: value
forms: value
lists: value
reports: value
wizards: value
interactiveReports: value
}
dialogDefaults {
dialogContentRegion: value
dialogButtonRegion: value
dialogPage: value
}
icons {
library: fontApex
customLibraryFileUrls: ```
Lorem ipsum dolor sit amet.
```
customClasses: ```
Lorem ipsum dolor sit amet.
```
customPrefixClass: value
datePickerIconName: value
datePickerIconAttributes: value
}
description {
description: ```
Lorem ipsum dolor sit amet.
```
}
advanced {
staticId: value
filePrefix: value
identifier: unique-id
}
subscription {
master: value
}
)
breadcrumbTemplate
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
templateClass | enum | No | enum=[breadcrumb, hierarchical, custom1, custom2, custom3, custom4, custom5, custom6, custom7, custom8] |
templateOptions
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
preset | array of strings | No | ||
default | array of strings | No |
templateOptions {
preset: [
value1
value2
]
default: [
value1
value2
]
}
breadcrumb
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
startWith | enum | Yes | parentToLeaf | enum=[childBreadcrumbEntries, currentBreadcrumb, parentBreadcrumbEntries, parentToLeaf] |
beforeEntries | multiline string | No | language=html; maxLen=4000 | |
betweenEntries | multiline string | No | language=html; maxLen=4000 | |
maxEntries | integer | Yes | 12 | maxLen=32767; min=1; max=99 |
afterEntries | multiline string | No | language=html; maxLen=4000 |
breadcrumb {
startWith: childBreadcrumbEntries
beforeEntries: ```
Lorem ipsum dolor sit amet.
```
betweenEntries: ```
Lorem ipsum dolor sit amet.
```
maxEntries: 5
afterEntries: ```
Lorem ipsum dolor sit amet.
```
}
entry
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
currentPage | multiline string | No | language=html; maxLen=4000 | |
nonCurrentPage | multiline string | No | language=html; maxLen=4000 | |
linkAttributes | string | No | maxLen=4000 |
entry {
currentPage: ```
Lorem ipsum dolor sit amet.
```
nonCurrentPage: ```
Lorem ipsum dolor sit amet.
```
linkAttributes: value
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
identifier | string | No | maxLen=255 | |
translatable | boolean | Yes | false |
advanced {
staticId: value
identifier: unique-id
translatable: false
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No | ||
Applies when theme supports IS_SUBSCRIBED | ||||
master | string | No | ||
Applies when theme NOT_FEATURES IS_SUBSCRIBED | ||||
subscription {
master: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
breadcrumbTemplate "example" (
name: exampleName
templateClass: breadcrumb
templateOptions {
preset: [
value1
value2
]
default: [
value1
value2
]
}
breadcrumb {
startWith: childBreadcrumbEntries
beforeEntries: ```
Lorem ipsum dolor sit amet.
```
betweenEntries: ```
Lorem ipsum dolor sit amet.
```
maxEntries: 5
afterEntries: ```
Lorem ipsum dolor sit amet.
```
}
entry {
currentPage: ```
Lorem ipsum dolor sit amet.
```
nonCurrentPage: ```
Lorem ipsum dolor sit amet.
```
linkAttributes: value
}
advanced {
staticId: value
identifier: unique-id
translatable: false
}
subscription {
master: value
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
templateOption
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=30 | |
group | string | No | ||
sequence | integer | Yes | maxLen=32767 |
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
cssClasses | array of strings | Yes | maxLen=255 |
appearance {
cssClasses: [
value1
value2
]
}
help
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
helpText | multiline string | No | maxLen=4000 |
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
isAdvancedOption | boolean | Yes | false | |
staticId | string | Yes | maxLen=255 | |
identifier | string | No | maxLen=255 |
advanced {
isAdvancedOption: false
staticId: value
identifier: unique-id
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No | ||
Applies when theme supports IS_SUBSCRIBED | ||||
master | string | No | ||
Applies when theme NOT_FEATURES IS_SUBSCRIBED | ||||
subscription {
master: value
}
APEXlang Example
templateOption "example" (
name: exampleName
group: value
sequence: 42
appearance {
cssClasses: [
value1
value2
]
}
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
advanced {
isAdvancedOption: false
staticId: value
identifier: unique-id
}
subscription {
master: value
}
)
buttonTemplate
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
templateClass | enum | No | enum=[button, buttonAlternative1, buttonAlternative2, buttonAlternative3, custom1, custom2, custom3, custom4, custom5, custom6, custom7, custom8] |
templateOptions
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
preset | array of strings | No | ||
default | array of strings | No |
templateOptions {
preset: [
value1
value2
]
default: [
value1
value2
]
}
button
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
normal | multiline string | Yes | language=html; maxLen=4000 | |
hot | multiline string | No | language=html; maxLen=4000 |
button {
normal: ```
Lorem ipsum dolor sit amet.
```
hot: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
identifier | string | No | maxLen=255 | |
translatable | boolean | Yes | false |
advanced {
staticId: value
identifier: unique-id
translatable: false
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No | ||
Applies when theme supports IS_SUBSCRIBED | ||||
master | string | No | ||
Applies when theme NOT_FEATURES IS_SUBSCRIBED | ||||
subscription {
master: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
buttonTemplate "example" (
name: exampleName
templateClass: button
templateOptions {
preset: [
value1
value2
]
default: [
value1
value2
]
}
button {
normal: ```
Lorem ipsum dolor sit amet.
```
hot: ```
Lorem ipsum dolor sit amet.
```
}
advanced {
staticId: value
identifier: unique-id
translatable: false
}
subscription {
master: value
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
templateOption
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=30 | |
group | string | No | ||
sequence | integer | Yes | maxLen=32767 |
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
cssClasses | array of strings | Yes | maxLen=255 |
appearance {
cssClasses: [
value1
value2
]
}
help
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
helpText | multiline string | No | maxLen=4000 |
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
isAdvancedOption | boolean | Yes | false | |
staticId | string | Yes | maxLen=255 | |
identifier | string | No | maxLen=255 |
advanced {
isAdvancedOption: false
staticId: value
identifier: unique-id
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No | ||
Applies when theme supports IS_SUBSCRIBED | ||||
master | string | No | ||
Applies when theme NOT_FEATURES IS_SUBSCRIBED | ||||
subscription {
master: value
}
APEXlang Example
templateOption "example" (
name: exampleName
group: value
sequence: 42
appearance {
cssClasses: [
value1
value2
]
}
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
advanced {
isAdvancedOption: false
staticId: value
identifier: unique-id
}
subscription {
master: value
}
)
classicReportTemplate
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
templateClass | enum | No | enum=[borderless, horizontalBorder, oneColumnUnorderedList, standard, standardAlternatingRowColors, valueAttributePairs, custom1, custom2, custom3, custom4, custom5, custom6, custom7, custom8] | |
type | enum | No | enum=[genericColumns, namedColumn] |
templateOptions
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
preset | array of strings | No | ||
default | array of strings | No |
templateOptions {
preset: [
value1
value2
]
default: [
value1
value2
]
}
reportTemplate
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
top | multiline string | No | language=html; maxLen=32767 | |
Applies when classicReportTemplate.type = GENERIC_COLUMNS | ||||
top | multiline string | No | language=html; maxLen=32767 | |
Applies when classicReportTemplate.type = NAMED_COLUMNS | ||||
bottom | multiline string | No | language=html; maxLen=32767 | |
reportTemplate {
top: ```
Lorem ipsum dolor sit amet.
```
bottom: ```
Lorem ipsum dolor sit amet.
```
}
columnTemplates
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
beforeHeading | multiline string | No | language=html; maxLen=32767 | |
Applies when classicReportTemplate.type = GENERIC_COLUMNS | ||||
heading | multiline string | No | language=html; maxLen=32767 | |
Applies when classicReportTemplate.type = GENERIC_COLUMNS | ||||
heading | multiline string | No | language=html; maxLen=32767 | |
Applies when classicReportTemplate.type = NAMED_COLUMNS | ||||
afterHeading | multiline string | No | language=html; maxLen=32767 | |
Applies when classicReportTemplate.type = GENERIC_COLUMNS | ||||
beforeEachRow | multiline string | No | language=html; maxLen=32767 | |
Applies when classicReportTemplate.type = GENERIC_COLUMNS | ||||
columnTemplates {
beforeHeading: ```
Lorem ipsum dolor sit amet.
```
heading: ```
Lorem ipsum dolor sit amet.
```
afterHeading: ```
Lorem ipsum dolor sit amet.
```
beforeEachRow: ```
Lorem ipsum dolor sit amet.
```
}
columnTemplate1
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
template | multiline string | Yes | language=html; maxLen=32767 | |
Applies when classicReportTemplate.type = GENERIC_COLUMNS | ||||
conditionType | enum | No | enum=[plsqlExpression, evenRowNos, oddRowNos] | |
Applies when classicReportTemplate.template is set | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when classicReportTemplate.conditionType = NOT_CONDITIONAL | ||||
columnTemplate1 {
template: ```
Lorem ipsum dolor sit amet.
```
conditionType: plsqlExpression
plsqlExpression: ```
:CARD_LINK is not null
```
}
columnTemplate2
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
template | multiline string | No | language=html; maxLen=32767 | |
Applies when classicReportTemplate.type = GENERIC_COLUMNS | ||||
conditionType | enum | No | enum=[plsqlExpression, evenRowNos, oddRowNos] | |
Applies when classicReportTemplate.template is set | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when classicReportTemplate.conditionType = NOT_CONDITIONAL | ||||
columnTemplate2 {
template: ```
Lorem ipsum dolor sit amet.
```
conditionType: plsqlExpression
plsqlExpression: ```
:CARD_LINK is not null
```
}
columnTemplate3
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
template | multiline string | No | language=html; maxLen=32767 | |
Applies when classicReportTemplate.type = GENERIC_COLUMNS | ||||
conditionType | enum | No | enum=[plsqlExpression, evenRowNos, oddRowNos] | |
Applies when classicReportTemplate.template is set | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when classicReportTemplate.conditionType = NOT_CONDITIONAL | ||||
columnTemplate3 {
template: ```
Lorem ipsum dolor sit amet.
```
conditionType: plsqlExpression
plsqlExpression: ```
:CARD_LINK is not null
```
}
columnTemplate4
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
template | multiline string | No | language=html; maxLen=32767 | |
Applies when classicReportTemplate.type = GENERIC_COLUMNS | ||||
conditionType | enum | No | enum=[plsqlExpression, evenRowNos, oddRowNos] | |
Applies when classicReportTemplate.template is set | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when classicReportTemplate.conditionType = NOT_CONDITIONAL | ||||
columnTemplate4 {
template: ```
Lorem ipsum dolor sit amet.
```
conditionType: plsqlExpression
plsqlExpression: ```
:CARD_LINK is not null
```
}
rowTemplate1
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
template | multiline string | Yes | language=html; maxLen=32767 | |
Applies when classicReportTemplate.type = NAMED_COLUMNS | ||||
conditionType | enum | No | enum=[plsqlExpression, evenRowNos, oddRowNos] | |
Applies when classicReportTemplate.template is set | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when classicReportTemplate.conditionType = NOT_CONDITIONAL | ||||
rowTemplate1 {
template: ```
Lorem ipsum dolor sit amet.
```
conditionType: plsqlExpression
plsqlExpression: ```
:CARD_LINK is not null
```
}
rowTemplate2
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
template | multiline string | No | language=html; maxLen=32767 | |
Applies when classicReportTemplate.type = NAMED_COLUMNS | ||||
conditionType | enum | No | enum=[plsqlExpression, evenRowNos, oddRowNos] | |
Applies when classicReportTemplate.template is set | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when classicReportTemplate.conditionType = NOT_CONDITIONAL | ||||
rowTemplate2 {
template: ```
Lorem ipsum dolor sit amet.
```
conditionType: plsqlExpression
plsqlExpression: ```
:CARD_LINK is not null
```
}
rowTemplate3
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
template | multiline string | No | language=html; maxLen=32767 | |
Applies when classicReportTemplate.type = NAMED_COLUMNS | ||||
conditionType | enum | No | enum=[plsqlExpression, evenRowNos, oddRowNos] | |
Applies when classicReportTemplate.template is set | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when classicReportTemplate.conditionType = NOT_CONDITIONAL | ||||
rowTemplate3 {
template: ```
Lorem ipsum dolor sit amet.
```
conditionType: plsqlExpression
plsqlExpression: ```
:CARD_LINK is not null
```
}
rowTemplate4
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
template | multiline string | No | language=html; maxLen=32767 | |
Applies when classicReportTemplate.type = NAMED_COLUMNS | ||||
conditionType | enum | No | enum=[plsqlExpression, evenRowNos, oddRowNos] | |
Applies when classicReportTemplate.template is set | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when classicReportTemplate.conditionType = NOT_CONDITIONAL | ||||
rowTemplate4 {
template: ```
Lorem ipsum dolor sit amet.
```
conditionType: plsqlExpression
plsqlExpression: ```
:CARD_LINK is not null
```
}
rowTemplates
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
afterEachRow | multiline string | No | language=html; maxLen=32767 | |
Applies when classicReportTemplate.type = GENERIC_COLUMNS | ||||
rowTemplates {
afterEachRow: ```
Lorem ipsum dolor sit amet.
```
}
rowHighlighting
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
checkedRow | string | No | maxLen=255 | |
Applies when classicReportTemplate.type = GENERIC_COLUMNS | ||||
currentRow | string | No | maxLen=255 | |
Applies when classicReportTemplate.type = GENERIC_COLUMNS | ||||
rowHighlighting {
checkedRow: value
currentRow: value
}
pagination
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
template | multiline string | No | language=html; maxLen=32767 | |
nextPage | multiline string | No | language=html; maxLen=32767 | |
previousPage | multiline string | No | language=html; maxLen=32767 | |
nextSet | multiline string | No | language=html; maxLen=32767 | |
previousSet | multiline string | No | language=html; maxLen=32767 |
pagination {
template: ```
Lorem ipsum dolor sit amet.
```
nextPage: ```
Lorem ipsum dolor sit amet.
```
previousPage: ```
Lorem ipsum dolor sit amet.
```
nextSet: ```
Lorem ipsum dolor sit amet.
```
previousSet: ```
Lorem ipsum dolor sit amet.
```
}
javaScript
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
fileUrls | array of strings | No | maxLen=4000 | |
executeWhenPageLoads | multiline string | No | language=javascript-browser; maxLen=4000 |
javaScript {
fileUrls: [
value1
value2
]
executeWhenPageLoads: ```
apex.message.alert( "Load complete." );
```
}
css
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
fileUrls | array of strings | No | maxLen=4000 |
css {
fileUrls: [
value1
value2
]
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
identifier | string | No | maxLen=255 | |
translatable | boolean | Yes | false |
advanced {
staticId: value
identifier: unique-id
translatable: false
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No | ||
Applies when theme supports IS_SUBSCRIBED | ||||
master | string | No | ||
Applies when theme NOT_FEATURES IS_SUBSCRIBED | ||||
subscription {
master: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
classicReportTemplate "example" (
name: exampleName
templateClass: borderless
type: genericColumns
templateOptions {
preset: [
value1
value2
]
default: [
value1
value2
]
}
reportTemplate {
top: ```
Lorem ipsum dolor sit amet.
```
bottom: ```
Lorem ipsum dolor sit amet.
```
}
columnTemplates {
beforeHeading: ```
Lorem ipsum dolor sit amet.
```
heading: ```
Lorem ipsum dolor sit amet.
```
afterHeading: ```
Lorem ipsum dolor sit amet.
```
beforeEachRow: ```
Lorem ipsum dolor sit amet.
```
}
columnTemplate1 {
template: ```
Lorem ipsum dolor sit amet.
```
conditionType: plsqlExpression
plsqlExpression: ```
:CARD_LINK is not null
```
}
columnTemplate2 {
template: ```
Lorem ipsum dolor sit amet.
```
conditionType: plsqlExpression
plsqlExpression: ```
:CARD_LINK is not null
```
}
columnTemplate3 {
template: ```
Lorem ipsum dolor sit amet.
```
conditionType: plsqlExpression
plsqlExpression: ```
:CARD_LINK is not null
```
}
columnTemplate4 {
template: ```
Lorem ipsum dolor sit amet.
```
conditionType: plsqlExpression
plsqlExpression: ```
:CARD_LINK is not null
```
}
rowTemplate1 {
template: ```
Lorem ipsum dolor sit amet.
```
conditionType: plsqlExpression
plsqlExpression: ```
:CARD_LINK is not null
```
}
rowTemplate2 {
template: ```
Lorem ipsum dolor sit amet.
```
conditionType: plsqlExpression
plsqlExpression: ```
:CARD_LINK is not null
```
}
rowTemplate3 {
template: ```
Lorem ipsum dolor sit amet.
```
conditionType: plsqlExpression
plsqlExpression: ```
:CARD_LINK is not null
```
}
rowTemplate4 {
template: ```
Lorem ipsum dolor sit amet.
```
conditionType: plsqlExpression
plsqlExpression: ```
:CARD_LINK is not null
```
}
rowTemplates {
afterEachRow: ```
Lorem ipsum dolor sit amet.
```
}
rowHighlighting {
checkedRow: value
currentRow: value
}
pagination {
template: ```
Lorem ipsum dolor sit amet.
```
nextPage: ```
Lorem ipsum dolor sit amet.
```
previousPage: ```
Lorem ipsum dolor sit amet.
```
nextSet: ```
Lorem ipsum dolor sit amet.
```
previousSet: ```
Lorem ipsum dolor sit amet.
```
}
javaScript {
fileUrls: [
value1
value2
]
executeWhenPageLoads: ```
apex.message.alert( "Load complete." );
```
}
css {
fileUrls: [
value1
value2
]
}
advanced {
staticId: value
identifier: unique-id
translatable: false
}
subscription {
master: value
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
templateOption
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=30 | |
group | string | No | ||
sequence | integer | Yes | maxLen=32767 |
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
cssClasses | array of strings | Yes | maxLen=255 |
appearance {
cssClasses: [
value1
value2
]
}
help
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
helpText | multiline string | No | maxLen=4000 |
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
isAdvancedOption | boolean | Yes | false | |
staticId | string | Yes | maxLen=255 | |
identifier | string | No | maxLen=255 |
advanced {
isAdvancedOption: false
staticId: value
identifier: unique-id
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No | ||
Applies when theme supports IS_SUBSCRIBED | ||||
master | string | No | ||
Applies when theme NOT_FEATURES IS_SUBSCRIBED | ||||
subscription {
master: value
}
APEXlang Example
templateOption "example" (
name: exampleName
group: value
sequence: 42
appearance {
cssClasses: [
value1
value2
]
}
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
advanced {
isAdvancedOption: false
staticId: value
identifier: unique-id
}
subscription {
master: value
}
)
fieldTemplate
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
templateClass | enum | No | enum=[noLabel, optionalLabel, optionalLabelWithHelp, requiredLabel, requiredLabelWithHelp, custom1, custom2, custom3, custom4, custom5, custom6, custom7, custom8] |
templateOptions
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
preset | array of strings | No | ||
default | array of strings | No |
templateOptions {
preset: [
value1
value2
]
default: [
value1
value2
]
}
label
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
before | multiline string | No | language=html; maxLen=4000 | |
after | multiline string | No | language=html; maxLen=4000 |
label {
before: ```
Lorem ipsum dolor sit amet.
```
after: ```
Lorem ipsum dolor sit amet.
```
}
item
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
before | multiline string | No | language=html; maxLen=4000 | |
after | multiline string | No | language=html; maxLen=4000 | |
preText | multiline string | No | language=html; maxLen=4000 | |
postText | multiline string | No | language=html; maxLen=4000 |
item {
before: ```
Lorem ipsum dolor sit amet.
```
after: ```
Lorem ipsum dolor sit amet.
```
preText: ```
Lorem ipsum dolor sit amet.
```
postText: ```
Lorem ipsum dolor sit amet.
```
}
help
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
invoke | multiline string | No | language=html; maxLen=4000 | |
inline | multiline string | No | language=html; maxLen=4000 |
help {
invoke: ```
Lorem ipsum dolor sit amet.
```
inline: ```
Lorem ipsum dolor sit amet.
```
}
error
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
beforeLabel | multiline string | No | language=html; maxLen=4000 | |
afterLabel | multiline string | No | language=html; maxLen=4000 | |
errorTemplate | multiline string | No | language=html; maxLen=4000 |
error {
beforeLabel: ```
Lorem ipsum dolor sit amet.
```
afterLabel: ```
Lorem ipsum dolor sit amet.
```
errorTemplate: ```
Lorem ipsum dolor sit amet.
```
}
fieldContainer
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
beforeLabelAndItem | multiline string | No | language=html; maxLen=4000 | |
afterLabelAndItem | multiline string | No | language=html; maxLen=4000 |
fieldContainer {
beforeLabelAndItem: ```
Lorem ipsum dolor sit amet.
```
afterLabelAndItem: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
identifier | string | No | maxLen=255 | |
translatable | boolean | Yes | false |
advanced {
staticId: value
identifier: unique-id
translatable: false
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No | ||
Applies when theme supports IS_SUBSCRIBED | ||||
master | string | No | ||
Applies when theme NOT_FEATURES IS_SUBSCRIBED | ||||
subscription {
master: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
fieldTemplate "example" (
name: exampleName
templateClass: noLabel
templateOptions {
preset: [
value1
value2
]
default: [
value1
value2
]
}
label {
before: ```
Lorem ipsum dolor sit amet.
```
after: ```
Lorem ipsum dolor sit amet.
```
}
item {
before: ```
Lorem ipsum dolor sit amet.
```
after: ```
Lorem ipsum dolor sit amet.
```
preText: ```
Lorem ipsum dolor sit amet.
```
postText: ```
Lorem ipsum dolor sit amet.
```
}
help {
invoke: ```
Lorem ipsum dolor sit amet.
```
inline: ```
Lorem ipsum dolor sit amet.
```
}
error {
beforeLabel: ```
Lorem ipsum dolor sit amet.
```
afterLabel: ```
Lorem ipsum dolor sit amet.
```
errorTemplate: ```
Lorem ipsum dolor sit amet.
```
}
fieldContainer {
beforeLabelAndItem: ```
Lorem ipsum dolor sit amet.
```
afterLabelAndItem: ```
Lorem ipsum dolor sit amet.
```
}
advanced {
staticId: value
identifier: unique-id
translatable: false
}
subscription {
master: value
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
templateOption
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=30 | |
group | string | No | ||
sequence | integer | Yes | maxLen=32767 |
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
cssClasses | array of strings | Yes | maxLen=255 |
appearance {
cssClasses: [
value1
value2
]
}
help
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
helpText | multiline string | No | maxLen=4000 |
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
isAdvancedOption | boolean | Yes | false | |
staticId | string | Yes | maxLen=255 | |
identifier | string | No | maxLen=255 |
advanced {
isAdvancedOption: false
staticId: value
identifier: unique-id
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No | ||
Applies when theme supports IS_SUBSCRIBED | ||||
master | string | No | ||
Applies when theme NOT_FEATURES IS_SUBSCRIBED | ||||
subscription {
master: value
}
APEXlang Example
templateOption "example" (
name: exampleName
group: value
sequence: 42
appearance {
cssClasses: [
value1
value2
]
}
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
advanced {
isAdvancedOption: false
staticId: value
identifier: unique-id
}
subscription {
master: value
}
)
file
file
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
fileName | string | Yes | maxLen=255 | |
content | blob | No | maxLen=32767 | |
mimeType | string | Yes | maxLen=255 | |
charSet | enum | No | enum=[iso-8859-6, windows-1256, big5, gbk, iso-8859-5, koi8-r, koi8-u, windows-1251, iso-8859-2, windows-1250, iso-8859-7, windows-1253, iso-8859-8-i, windows-1255, euc-jp, shift-jis, euc-kr, iso-8859-4, windows-1257, iso-8859-3, tis-620, iso-8859-9, windows-1254, us-ascii, utf-16be, utf-16le, utf-8, windows-1258, iso-8859-1, windows-1252]; maxLen=128 |
file {
fileName: value
content: value
mimeType: value
charSet: iso-8859-6
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No | ||
Applies when theme supports IS_SUBSCRIBED | ||||
master | string | No | ||
Applies when theme NOT_FEATURES IS_SUBSCRIBED | ||||
subscription {
master: value
}
APEXlang Example
file "example" (
file {
fileName: value
content: value
mimeType: value
charSet: iso-8859-6
}
subscription {
master: value
}
)
globalTemplateOption
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
templateType | enum | Yes | enum=[button, item, region, report, list, page, breadcrumb] | |
name | string | Yes | maxLen=30 | |
group | string | No | ||
sequence | integer | Yes | maxLen=32767 |
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
cssClasses | array of strings | Yes | maxLen=255 |
appearance {
cssClasses: [
value1
value2
]
}
help
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
helpText | multiline string | No | maxLen=4000 |
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
isAdvancedOption | boolean | Yes | false | |
staticId | string | Yes | maxLen=255 | |
identifier | string | No | maxLen=255 |
advanced {
isAdvancedOption: false
staticId: value
identifier: unique-id
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No | ||
Applies when theme supports IS_SUBSCRIBED | ||||
master | string | No | ||
Applies when theme NOT_FEATURES IS_SUBSCRIBED | ||||
subscription {
master: value
}
APEXlang Example
globalTemplateOption "example" (
templateType: button
name: exampleName
group: value
sequence: 42
appearance {
cssClasses: [
value1
value2
]
}
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
advanced {
isAdvancedOption: false
staticId: value
identifier: unique-id
}
subscription {
master: value
}
)
listTemplate
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
templateClass | enum | No | enum=[buttonList, horizontalImagesWithLabelList, horizontalLinksList, pullDownMenu, pullDownMenuWithImage, tabbedNavigationList, verticalImagesList, verticalOrderedList, verticalSidebarList, verticalUnorderedListWithBullets, verticalUnorderedListWithoutBullets, wizardProgressList, custom1, custom2, custom3, custom4, custom5, custom6, custom7, custom8, hierarchicalExpanding, hierarchicalExpanded] |
templateOptions
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
preset | array of strings | No | ||
default | array of strings | No |
templateOptions {
preset: [
value1
value2
]
default: [
value1
value2
]
}
list
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
beforeEntries | multiline string | No | language=html; maxLen=4000 | |
betweenEntries | multiline string | No | language=html; maxLen=4000 | |
afterEntries | multiline string | No | language=html; maxLen=4000 |
list {
beforeEntries: ```
Lorem ipsum dolor sit amet.
```
betweenEntries: ```
Lorem ipsum dolor sit amet.
```
afterEntries: ```
Lorem ipsum dolor sit amet.
```
}
entry
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
current | multiline string | No | language=html; maxLen=4000 | |
currentWithSublist | multiline string | No | language=html; maxLen=4000 | |
noncurrent | multiline string | No | language=html; maxLen=4000 | |
noncurrentWithSublist | multiline string | No | language=html; maxLen=4000 |
entry {
current: ```
Lorem ipsum dolor sit amet.
```
currentWithSublist: ```
Lorem ipsum dolor sit amet.
```
noncurrent: ```
Lorem ipsum dolor sit amet.
```
noncurrentWithSublist: ```
Lorem ipsum dolor sit amet.
```
}
firstEntry
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
current | multiline string | No | language=html; maxLen=4000 | |
currentWithSublist | multiline string | No | language=html; maxLen=4000 | |
noncurrent | multiline string | No | language=html; maxLen=4000 | |
noncurrentWithSublist | multiline string | No | language=html; maxLen=4000 |
firstEntry {
current: ```
Lorem ipsum dolor sit amet.
```
currentWithSublist: ```
Lorem ipsum dolor sit amet.
```
noncurrent: ```
Lorem ipsum dolor sit amet.
```
noncurrentWithSublist: ```
Lorem ipsum dolor sit amet.
```
}
sublist
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
beforeEntries | multiline string | No | language=html; maxLen=4000 | |
betweenEntries | multiline string | No | language=html; maxLen=4000 | |
afterEntries | multiline string | No | language=html; maxLen=4000 |
sublist {
beforeEntries: ```
Lorem ipsum dolor sit amet.
```
betweenEntries: ```
Lorem ipsum dolor sit amet.
```
afterEntries: ```
Lorem ipsum dolor sit amet.
```
}
sublistEntry
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
current | multiline string | No | language=html; maxLen=4000 | |
currentWithSublist | multiline string | No | language=html; maxLen=4000 | |
noncurrent | multiline string | No | language=html; maxLen=4000 | |
noncurrentWithSublist | multiline string | No | language=html; maxLen=4000 |
sublistEntry {
current: ```
Lorem ipsum dolor sit amet.
```
currentWithSublist: ```
Lorem ipsum dolor sit amet.
```
noncurrent: ```
Lorem ipsum dolor sit amet.
```
noncurrentWithSublist: ```
Lorem ipsum dolor sit amet.
```
}
javaScript
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
fileUrls | array of strings | No | maxLen=4000 | |
executeWhenPageLoads | multiline string | No | language=javascript-browser; maxLen=4000 |
javaScript {
fileUrls: [
value1
value2
]
executeWhenPageLoads: ```
apex.message.alert( "Load complete." );
```
}
css
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
fileUrls | array of strings | No | maxLen=4000 | |
inline | multiline string | No | language=css; maxLen=32767 |
css {
fileUrls: [
value1
value2
]
inline: ```
.app-example {
color: inherit;
}
```
}
attributeDescriptions
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
a01 | string | No | maxLen=4000 | |
a02 | string | No | maxLen=4000 | |
a03 | string | No | maxLen=4000 | |
a04 | string | No | maxLen=4000 | |
a05 | string | No | maxLen=4000 | |
a06 | string | No | maxLen=4000 | |
a07 | string | No | maxLen=4000 | |
a08 | string | No | maxLen=4000 | |
a09 | string | No | maxLen=4000 | |
a10 | string | No | maxLen=4000 | |
a11 | string | No | maxLen=4000 | |
a12 | string | No | maxLen=4000 | |
a13 | string | No | maxLen=4000 | |
a14 | string | No | maxLen=4000 | |
a15 | string | No | maxLen=4000 | |
a16 | string | No | maxLen=4000 | |
a17 | string | No | maxLen=4000 | |
a18 | string | No | maxLen=4000 | |
a19 | string | No | maxLen=4000 | |
a20 | string | No | maxLen=4000 |
attributeDescriptions {
a01: value
a02: value
a03: value
a04: value
a05: value
a06: value
a07: value
a08: value
a09: value
a10: value
a11: value
a12: value
a13: value
a14: value
a15: value
a16: value
a17: value
a18: value
a19: value
a20: value
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
identifier | string | No | maxLen=255 | |
translatable | boolean | Yes | false |
advanced {
staticId: value
identifier: unique-id
translatable: false
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No | ||
Applies when theme supports IS_SUBSCRIBED | ||||
master | string | No | ||
Applies when theme NOT_FEATURES IS_SUBSCRIBED | ||||
subscription {
master: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
listTemplate "example" (
name: exampleName
templateClass: buttonList
templateOptions {
preset: [
value1
value2
]
default: [
value1
value2
]
}
list {
beforeEntries: ```
Lorem ipsum dolor sit amet.
```
betweenEntries: ```
Lorem ipsum dolor sit amet.
```
afterEntries: ```
Lorem ipsum dolor sit amet.
```
}
entry {
current: ```
Lorem ipsum dolor sit amet.
```
currentWithSublist: ```
Lorem ipsum dolor sit amet.
```
noncurrent: ```
Lorem ipsum dolor sit amet.
```
noncurrentWithSublist: ```
Lorem ipsum dolor sit amet.
```
}
firstEntry {
current: ```
Lorem ipsum dolor sit amet.
```
currentWithSublist: ```
Lorem ipsum dolor sit amet.
```
noncurrent: ```
Lorem ipsum dolor sit amet.
```
noncurrentWithSublist: ```
Lorem ipsum dolor sit amet.
```
}
sublist {
beforeEntries: ```
Lorem ipsum dolor sit amet.
```
betweenEntries: ```
Lorem ipsum dolor sit amet.
```
afterEntries: ```
Lorem ipsum dolor sit amet.
```
}
sublistEntry {
current: ```
Lorem ipsum dolor sit amet.
```
currentWithSublist: ```
Lorem ipsum dolor sit amet.
```
noncurrent: ```
Lorem ipsum dolor sit amet.
```
noncurrentWithSublist: ```
Lorem ipsum dolor sit amet.
```
}
javaScript {
fileUrls: [
value1
value2
]
executeWhenPageLoads: ```
apex.message.alert( "Load complete." );
```
}
css {
fileUrls: [
value1
value2
]
inline: ```
.app-example {
color: inherit;
}
```
}
attributeDescriptions {
a01: value
a02: value
a03: value
a04: value
a05: value
a06: value
a07: value
a08: value
a09: value
a10: value
a11: value
a12: value
a13: value
a14: value
a15: value
a16: value
a17: value
a18: value
a19: value
a20: value
}
advanced {
staticId: value
identifier: unique-id
translatable: false
}
subscription {
master: value
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
templateOption
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=30 | |
group | string | No | ||
sequence | integer | Yes | maxLen=32767 |
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
cssClasses | array of strings | Yes | maxLen=255 |
appearance {
cssClasses: [
value1
value2
]
}
help
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
helpText | multiline string | No | maxLen=4000 |
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
isAdvancedOption | boolean | Yes | false | |
staticId | string | Yes | maxLen=255 | |
identifier | string | No | maxLen=255 |
advanced {
isAdvancedOption: false
staticId: value
identifier: unique-id
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No | ||
Applies when theme supports IS_SUBSCRIBED | ||||
master | string | No | ||
Applies when theme NOT_FEATURES IS_SUBSCRIBED | ||||
subscription {
master: value
}
APEXlang Example
templateOption "example" (
name: exampleName
group: value
sequence: 42
appearance {
cssClasses: [
value1
value2
]
}
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
advanced {
isAdvancedOption: false
staticId: value
identifier: unique-id
}
subscription {
master: value
}
)
pageTemplate
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
templateClass | enum | No | enum=[login, noTabs, noTabsWithSidebar, oneLevelTabs, oneLevelTabsWithSidebar, popup, printerFriendly, twoLevelTabs, twoLevelTabsWithSidebar, custom1, custom2, custom3, custom4, custom5, custom6, custom7, custom8] |
templateOptions
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
preset | array of strings | No | ||
default | array of strings | No |
templateOptions {
preset: [
value1
value2
]
default: [
value1
value2
]
}
page
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | normal | enum=[dialog, normal] |
header | multiline string | Yes | language=html; maxLen=32767 | |
body | multiline string | Yes | language=html; maxLen=32767 | |
footer | multiline string | No | language=html; maxLen=32767 |
page {
type: dialog
header: ```
Lorem ipsum dolor sit amet.
```
body: ```
Lorem ipsum dolor sit amet.
```
footer: ```
Lorem ipsum dolor sit amet.
```
}
javaScript
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
fileUrls | array of strings | No | maxLen=4000 | |
functionAndGlobalVariableDeclaration | multiline string | No | language=javascript-browser; maxLen=32767 | |
executeWhenPageLoads | multiline string | No | language=javascript-browser; maxLen=32767 |
javaScript {
fileUrls: [
value1
value2
]
functionAndGlobalVariableDeclaration: ```
apex.message.alert( "Load complete." );
```
executeWhenPageLoads: ```
apex.message.alert( "Load complete." );
```
}
css
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
fileUrls | array of strings | No | maxLen=4000 | |
inline | multiline string | No | language=css; maxLen=32767 |
css {
fileUrls: [
value1
value2
]
inline: ```
.app-example {
color: inherit;
}
```
}
subtemplate
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
successMessage | multiline string | No | language=html; maxLen=4000 | |
navigationBar | multiline string | No | language=html; maxLen=4000 | |
navigationBarEntry | multiline string | No | language=html; maxLen=32767 | |
notification | multiline string | No | language=html; maxLen=4000 |
subtemplate {
successMessage: ```
Lorem ipsum dolor sit amet.
```
navigationBar: ```
Lorem ipsum dolor sit amet.
```
navigationBarEntry: ```
Lorem ipsum dolor sit amet.
```
notification: ```
Lorem ipsum dolor sit amet.
```
}
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | fixedNumberOfColumns | enum=[htmlTable, fixedNumberOfColumns, variableNumberOfColumns] |
maxColumns | integer | No | maxLen=2; min=1; max=99 | |
Applies when pageTemplate.type in (FIXED, VARIABLE) | ||||
alwaysUseMaxColumns | boolean | Yes | false | |
Applies when pageTemplate.type = FIXED | ||||
hasColumnSpan | boolean | Yes | true | |
Applies when pageTemplate.type in (FIXED, VARIABLE) | ||||
alwaysRenderLayout | boolean | Yes | true | |
Applies when pageTemplate.type in (FIXED, VARIABLE) | ||||
emitEmptyLeadingColumns | boolean | Yes | true | |
Applies when pageTemplate.type in (FIXED, VARIABLE) | ||||
emitEmptyTrailingColumns | boolean | Yes | false | |
Applies when pageTemplate.type in (FIXED, VARIABLE) | ||||
defaultLabelColumnSpan | integer | No | maxLen=2; min=1; max=99 | |
Applies when pageTemplate.type in (FIXED, VARIABLE) | ||||
firstColumnAttributes | string | No | maxLen=255 | |
Applies when pageTemplate.type in (FIXED, VARIABLE) | ||||
lastColumnAttributes | string | No | maxLen=255 | |
Applies when pageTemplate.type in (FIXED, VARIABLE) | ||||
regionTableAttributes | string | No | maxLen=255 | |
Applies when pageTemplate.type = TABLE | ||||
containerTemplate | multiline string | No | language=html; maxLen=4000 | |
Applies when pageTemplate.type in (FIXED, VARIABLE) | ||||
rowTemplate | multiline string | No | language=html; maxLen=4000 | |
Applies when pageTemplate.type in (FIXED, VARIABLE) | ||||
columnTemplate | multiline string | No | language=html; maxLen=4000 | |
Applies when pageTemplate.type in (FIXED, VARIABLE) | ||||
javaScriptDebugCode | multiline string | No | language=javascript-browser; maxLen=4000 | |
Applies when pageTemplate.type in (FIXED, VARIABLE) | ||||
layout {
type: htmlTable
maxColumns: 5
alwaysUseMaxColumns: false
hasColumnSpan: false
alwaysRenderLayout: false
emitEmptyLeadingColumns: false
emitEmptyTrailingColumns: false
defaultLabelColumnSpan: 42
firstColumnAttributes: value
lastColumnAttributes: value
regionTableAttributes: value
containerTemplate: ```
Lorem ipsum dolor sit amet.
```
rowTemplate: ```
Lorem ipsum dolor sit amet.
```
columnTemplate: ```
Lorem ipsum dolor sit amet.
```
javaScriptDebugCode: ```
apex.message.alert( "Load complete." );
```
}
positions
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
breadcrumbPosition | string | No | ||
sidebarPosition | string | No |
positions {
breadcrumbPosition: value
sidebarPosition: unique-id
}
dialog
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
width | string | No | maxLen=20 | |
Applies when pageTemplate.type = Y | ||||
height | string | No | maxLen=20 | |
Applies when pageTemplate.type = Y | ||||
maxWidth | string | No | maxLen=20 | |
Applies when pageTemplate.type = Y | ||||
cssClasses | array of strings | No | maxLen=255 | |
Applies when pageTemplate.type = Y | ||||
allowEmbedInFrame | array of enums | No | enum=[modal, nonModal] | |
Applies when pageTemplate.type = Y | ||||
initCode | string | No | maxLen=4000 | |
Applies when pageTemplate.type = Y | ||||
closureCode | string | No | maxLen=4000 | |
Applies when pageTemplate.type = Y | ||||
cancelCode | string | No | maxLen=4000 | |
Applies when pageTemplate.type = Y | ||||
dialog {
width: unique-id
height: value
maxWidth: unique-id
cssClasses: [
value1
value2
]
allowEmbedInFrame: [
modal
nonModal
]
initCode: value
closureCode: value
cancelCode: value
}
errorPage
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
template | multiline string | No | language=html; maxLen=32767 |
errorPage {
template: ```
Lorem ipsum dolor sit amet.
```
}
standardTab
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
current | multiline string | No | language=html; maxLen=4000 | |
Applies when theme.type = T | ||||
currentFontAttributes | string | No | maxLen=255 | |
Applies when theme.type = T | ||||
nonCurrent | multiline string | No | language=html; maxLen=4000 | |
Applies when theme.type = T | ||||
nonCurrentFontAttributes | string | No | maxLen=255 | |
Applies when theme.type = T | ||||
standardTab {
current: ```
Lorem ipsum dolor sit amet.
```
currentFontAttributes: value
nonCurrent: ```
Lorem ipsum dolor sit amet.
```
nonCurrentFontAttributes: value
}
parentTab
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
current | multiline string | No | language=html; maxLen=4000 | |
Applies when theme.type = T | ||||
currentFontAttributes | string | No | maxLen=255 | |
Applies when theme.type = T | ||||
nonCurrent | multiline string | No | language=html; maxLen=4000 | |
Applies when theme.type = T | ||||
nonCurrentFontAttributes | string | No | maxLen=255 | |
Applies when theme.type = T | ||||
parentTab {
current: ```
Lorem ipsum dolor sit amet.
```
currentFontAttributes: value
nonCurrent: ```
Lorem ipsum dolor sit amet.
```
nonCurrentFontAttributes: value
}
imageBasedTab
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
current | multiline string | No | language=html; maxLen=4000 | |
nonCurrent | multiline string | No | language=html; maxLen=4000 |
imageBasedTab {
current: ```
Lorem ipsum dolor sit amet.
```
nonCurrent: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
identifier | string | No | maxLen=255 | |
translatable | boolean | Yes | false |
advanced {
staticId: value
identifier: unique-id
translatable: false
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No | ||
Applies when theme supports IS_SUBSCRIBED | ||||
master | string | No | ||
Applies when theme NOT_FEATURES IS_SUBSCRIBED | ||||
subscription {
master: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
pageTemplate "example" (
name: exampleName
templateClass: login
templateOptions {
preset: [
value1
value2
]
default: [
value1
value2
]
}
page {
type: dialog
header: ```
Lorem ipsum dolor sit amet.
```
body: ```
Lorem ipsum dolor sit amet.
```
footer: ```
Lorem ipsum dolor sit amet.
```
}
javaScript {
fileUrls: [
value1
value2
]
functionAndGlobalVariableDeclaration: ```
apex.message.alert( "Load complete." );
```
executeWhenPageLoads: ```
apex.message.alert( "Load complete." );
```
}
css {
fileUrls: [
value1
value2
]
inline: ```
.app-example {
color: inherit;
}
```
}
subtemplate {
successMessage: ```
Lorem ipsum dolor sit amet.
```
navigationBar: ```
Lorem ipsum dolor sit amet.
```
navigationBarEntry: ```
Lorem ipsum dolor sit amet.
```
notification: ```
Lorem ipsum dolor sit amet.
```
}
layout {
type: htmlTable
maxColumns: 5
alwaysUseMaxColumns: false
hasColumnSpan: false
alwaysRenderLayout: false
emitEmptyLeadingColumns: false
emitEmptyTrailingColumns: false
defaultLabelColumnSpan: 42
firstColumnAttributes: value
lastColumnAttributes: value
regionTableAttributes: value
containerTemplate: ```
Lorem ipsum dolor sit amet.
```
rowTemplate: ```
Lorem ipsum dolor sit amet.
```
columnTemplate: ```
Lorem ipsum dolor sit amet.
```
javaScriptDebugCode: ```
apex.message.alert( "Load complete." );
```
}
positions {
breadcrumbPosition: value
sidebarPosition: unique-id
}
dialog {
width: unique-id
height: value
maxWidth: unique-id
cssClasses: [
value1
value2
]
allowEmbedInFrame: [
modal
nonModal
]
initCode: value
closureCode: value
cancelCode: value
}
errorPage {
template: ```
Lorem ipsum dolor sit amet.
```
}
standardTab {
current: ```
Lorem ipsum dolor sit amet.
```
currentFontAttributes: value
nonCurrent: ```
Lorem ipsum dolor sit amet.
```
nonCurrentFontAttributes: value
}
parentTab {
current: ```
Lorem ipsum dolor sit amet.
```
currentFontAttributes: value
nonCurrent: ```
Lorem ipsum dolor sit amet.
```
nonCurrentFontAttributes: value
}
imageBasedTab {
current: ```
Lorem ipsum dolor sit amet.
```
nonCurrent: ```
Lorem ipsum dolor sit amet.
```
}
advanced {
staticId: value
identifier: unique-id
translatable: false
}
subscription {
master: value
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
slot
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=30 | |
apexlangName | string | Yes | maxLen=40; regex=/^([abcdefghijklmnopqrstuvwxyz0-9][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0-9]*|APEXLANG\$[0-9]+)$/ | |
staticId | string | Yes | maxLen=30; regex=/^[ABCDEFGHIJKLMNOPQRSTUVWXYZ0-9_]*$/ |
supports
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
regions | boolean | Yes | true | |
items | boolean | Yes | false | |
buttons | boolean | Yes | false |
supports {
regions: false
items: false
buttons: false
}
gridLayout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
gridSupport | boolean | Yes | true | |
maxFixedColumns | integer | No | maxLen=32767 | |
newRow | boolean | Yes | true |
gridLayout {
gridSupport: false
maxFixedColumns: 5
newRow: false
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
slot "example" (
name: exampleName
apexlangName: value
staticId: value
supports {
regions: false
items: false
buttons: false
}
gridLayout {
gridSupport: false
maxFixedColumns: 5
newRow: false
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
templateOption
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=30 | |
group | string | No | ||
sequence | integer | Yes | maxLen=32767 |
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
cssClasses | array of strings | Yes | maxLen=255 |
appearance {
cssClasses: [
value1
value2
]
}
help
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
helpText | multiline string | No | maxLen=4000 |
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
isAdvancedOption | boolean | Yes | false | |
staticId | string | Yes | maxLen=255 | |
identifier | string | No | maxLen=255 |
advanced {
isAdvancedOption: false
staticId: value
identifier: unique-id
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No | ||
Applies when theme supports IS_SUBSCRIBED | ||||
master | string | No | ||
Applies when theme NOT_FEATURES IS_SUBSCRIBED | ||||
subscription {
master: value
}
APEXlang Example
templateOption "example" (
name: exampleName
group: value
sequence: 42
appearance {
cssClasses: [
value1
value2
]
}
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
advanced {
isAdvancedOption: false
staticId: value
identifier: unique-id
}
subscription {
master: value
}
)
popupLovTemplate
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
templateClass | enum | No | enum=[standard] |
popupIcon
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
icon | string | No | maxLen=4000 | |
attributes | multiline string | No | maxLen=4000 | |
colorPickerIcon | string | No | maxLen=4000 | |
colorPickerAttributes | multiline string | No | maxLen=4000 |
popupIcon {
icon: fa-check
attributes: ```
Lorem ipsum dolor sit amet.
```
colorPickerIcon: "#007bff"
colorPickerAttributes: ```
Lorem ipsum dolor sit amet.
```
}
searchField
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
beforeField | multiline string | No | language=html; maxLen=4000 | |
afterField | multiline string | No | language=html; maxLen=4000 | |
width | string | No | maxLen=255 | |
maxWidth | string | No | maxLen=255 | |
filterTextAttributes | multiline string | No | maxLen=4000 |
searchField {
beforeField: ```
Lorem ipsum dolor sit amet.
```
afterField: ```
Lorem ipsum dolor sit amet.
```
width: unique-id
maxWidth: unique-id
filterTextAttributes: ```
Lorem ipsum dolor sit amet.
```
}
findButton
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
text | string | No | maxLen=255 | |
attributes | string | No | maxLen=4000 |
findButton {
text: text
attributes: value
}
closeButton
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
text | string | No | maxLen=255 | |
attributes | string | No | maxLen=4000 |
closeButton {
text: text
attributes: value
}
nextButton
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
text | string | No | maxLen=255 | |
attributes | string | No | maxLen=4000 |
nextButton {
text: text
attributes: value
}
previousButton
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
text | string | No | maxLen=255 | |
attributes | string | No | maxLen=4000 |
previousButton {
text: text
attributes: value
}
window
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
scrollBars | string | No | maxLen=255 | |
resizable | string | No | maxLen=255 | |
width | string | No | maxLen=255 | |
height | string | No | maxLen=255 |
window {
scrollBars: value
resizable: value
width: unique-id
height: value
}
pagination
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
text | multiline string | No | language=html; maxLen=255 | |
rowsPerPage | integer | No | maxLen=32767 |
pagination {
text: ```
Lorem ipsum dolor sit amet.
```
rowsPerPage: 42
}
resultSet
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
before | multiline string | No | language=html; maxLen=4000 | |
after | multiline string | No | language=html; maxLen=4000 |
resultSet {
before: ```
Lorem ipsum dolor sit amet.
```
after: ```
Lorem ipsum dolor sit amet.
```
}
page
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
head | multiline string | No | language=html; maxLen=4000 | |
bodyAttributes | multiline string | No | maxLen=255 | |
heading | multiline string | No | language=html; maxLen=4000 | |
footer | multiline string | No | language=html; maxLen=4000 |
page {
head: ```
Lorem ipsum dolor sit amet.
```
bodyAttributes: ```
Lorem ipsum dolor sit amet.
```
heading: ```
Lorem ipsum dolor sit amet.
```
footer: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
identifier | string | No | maxLen=255 | |
translatable | boolean | Yes | false |
advanced {
staticId: value
identifier: unique-id
translatable: false
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No | ||
Applies when theme supports IS_SUBSCRIBED | ||||
master | string | No | ||
Applies when theme NOT_FEATURES IS_SUBSCRIBED | ||||
subscription {
master: value
}
APEXlang Example
popupLovTemplate "example" (
name: exampleName
templateClass: standard
popupIcon {
icon: fa-check
attributes: ```
Lorem ipsum dolor sit amet.
```
colorPickerIcon: "#007bff"
colorPickerAttributes: ```
Lorem ipsum dolor sit amet.
```
}
searchField {
beforeField: ```
Lorem ipsum dolor sit amet.
```
afterField: ```
Lorem ipsum dolor sit amet.
```
width: unique-id
maxWidth: unique-id
filterTextAttributes: ```
Lorem ipsum dolor sit amet.
```
}
findButton {
text: text
attributes: value
}
closeButton {
text: text
attributes: value
}
nextButton {
text: text
attributes: value
}
previousButton {
text: text
attributes: value
}
window {
scrollBars: value
resizable: value
width: unique-id
height: value
}
pagination {
text: ```
Lorem ipsum dolor sit amet.
```
rowsPerPage: 42
}
resultSet {
before: ```
Lorem ipsum dolor sit amet.
```
after: ```
Lorem ipsum dolor sit amet.
```
}
page {
head: ```
Lorem ipsum dolor sit amet.
```
bodyAttributes: ```
Lorem ipsum dolor sit amet.
```
heading: ```
Lorem ipsum dolor sit amet.
```
footer: ```
Lorem ipsum dolor sit amet.
```
}
advanced {
staticId: value
identifier: unique-id
translatable: false
}
subscription {
master: value
}
)
regionTemplate
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
templateClass | enum | No | enum=[borderlessRegion, bracketedRegion, breadcrumbRegion, buttonRegionWithTitle, buttonRegionWithoutTitle, chartRegion, formRegion, hideAndShowRegion, listRegionWithIcon, navigationRegion, navigationRegionAlternative1, regionWithoutButtonsAndTitle, regionWithoutTitle, reportFilterMultiRow, reportFilterSingleRow, reportsRegion, reportsRegion100Width, reportsRegionAlternative1, sidebarRegion, sidebarRegionAlternative1, wizardRegion, wizardRegionWithIcon, custom1, custom2, custom3, custom4, custom5, custom6, custom7, custom8] |
templateOptions
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
preset | array of strings | No | ||
default | array of strings | No |
templateOptions {
preset: [
value1
value2
]
default: [
value1
value2
]
}
region
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
template | multiline string | No | language=html; maxLen=32767 | |
image | multiline string | No | language=html; maxLen=32767 | |
htmlTableAttributes | string | No | maxLen=255 |
region {
template: ```
Lorem ipsum dolor sit amet.
```
image: ```
Lorem ipsum dolor sit amet.
```
htmlTableAttributes: value
}
subRegions
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
template | multiline string | No | language=html; maxLen=32767 | |
header | multiline string | No | language=html; maxLen=32767 | |
headerEntry | multiline string | No | language=html; maxLen=32767 |
subRegions {
template: ```
Lorem ipsum dolor sit amet.
```
header: ```
Lorem ipsum dolor sit amet.
```
headerEntry: ```
Lorem ipsum dolor sit amet.
```
}
accessibility
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
landmarkType | enum | No | enum=[banner, complementary, contentInfo, form, main, navigation, region, search] | |
regionTitleHtmlId | string | No | maxLen=255 |
accessibility {
landmarkType: banner
regionTitleHtmlId: value
}
javaScript
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
fileUrls | array of strings | No | maxLen=4000 | |
executeWhenPageLoads | multiline string | No | language=javascript-browser; maxLen=4000 |
javaScript {
fileUrls: [
value1
value2
]
executeWhenPageLoads: ```
apex.message.alert( "Load complete." );
```
}
css
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
fileUrls | array of strings | No | maxLen=4000 |
css {
fileUrls: [
value1
value2
]
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
identifier | string | No | maxLen=255 | |
translatable | boolean | Yes | false |
advanced {
staticId: value
identifier: unique-id
translatable: false
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No | ||
Applies when theme supports IS_SUBSCRIBED | ||||
master | string | No | ||
Applies when theme NOT_FEATURES IS_SUBSCRIBED | ||||
subscription {
master: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
regionTemplate "example" (
name: exampleName
templateClass: borderlessRegion
templateOptions {
preset: [
value1
value2
]
default: [
value1
value2
]
}
region {
template: ```
Lorem ipsum dolor sit amet.
```
image: ```
Lorem ipsum dolor sit amet.
```
htmlTableAttributes: value
}
subRegions {
template: ```
Lorem ipsum dolor sit amet.
```
header: ```
Lorem ipsum dolor sit amet.
```
headerEntry: ```
Lorem ipsum dolor sit amet.
```
}
accessibility {
landmarkType: banner
regionTitleHtmlId: value
}
javaScript {
fileUrls: [
value1
value2
]
executeWhenPageLoads: ```
apex.message.alert( "Load complete." );
```
}
css {
fileUrls: [
value1
value2
]
}
advanced {
staticId: value
identifier: unique-id
translatable: false
}
subscription {
master: value
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
slot
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=30 | |
apexlangName | string | Yes | maxLen=40; regex=/^([abcdefghijklmnopqrstuvwxyz0-9][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0-9]*|APEXLANG\$[0-9]+)$/ | |
staticId | string | Yes | maxLen=30; regex=/^[ABCDEFGHIJKLMNOPQRSTUVWXYZ0-9_]*$/ |
supports
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
regions | boolean | Yes | true | |
items | boolean | Yes | false | |
buttons | boolean | Yes | false |
supports {
regions: false
items: false
buttons: false
}
gridLayout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
gridSupport | boolean | Yes | true | |
maxFixedColumns | integer | No | maxLen=32767 | |
newRow | boolean | Yes | true |
gridLayout {
gridSupport: false
maxFixedColumns: 5
newRow: false
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
slot "example" (
name: exampleName
apexlangName: value
staticId: value
supports {
regions: false
items: false
buttons: false
}
gridLayout {
gridSupport: false
maxFixedColumns: 5
newRow: false
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
templateOption
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=30 | |
group | string | No | ||
sequence | integer | Yes | maxLen=32767 |
appearance
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
cssClasses | array of strings | Yes | maxLen=255 |
appearance {
cssClasses: [
value1
value2
]
}
help
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
helpText | multiline string | No | maxLen=4000 |
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
isAdvancedOption | boolean | Yes | false | |
staticId | string | Yes | maxLen=255 | |
identifier | string | No | maxLen=255 |
advanced {
isAdvancedOption: false
staticId: value
identifier: unique-id
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No | ||
Applies when theme supports IS_SUBSCRIBED | ||||
master | string | No | ||
Applies when theme NOT_FEATURES IS_SUBSCRIBED | ||||
subscription {
master: value
}
APEXlang Example
templateOption "example" (
name: exampleName
group: value
sequence: 42
appearance {
cssClasses: [
value1
value2
]
}
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
advanced {
isAdvancedOption: false
staticId: value
identifier: unique-id
}
subscription {
master: value
}
)
style
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=30 |
css
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
fileUrls | array of strings | No | maxLen=4000 | |
cssClasses | string | No | maxLen=255 |
css {
fileUrls: [
value1
value2
]
cssClasses: value
}
themeRollerAttributes
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
readOnly | boolean | Yes | false | |
inputParameterFileUrls | multiline string | No | maxLen=4000 | |
outputCssFileUrl | string | No | maxLen=4000 | |
jsonConfig | multiline string | No | language=json; maxLen=32767 |
themeRollerAttributes {
readOnly: false
inputParameterFileUrls: ```
Lorem ipsum dolor sit amet.
```
outputCssFileUrl: value
jsonConfig: ```
{
"type": "object",
"properties": {
"status": { "type": "string" }
}
}
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
endUserCanPick | boolean | Yes | false | |
accessibilityTested | boolean | Yes | false |
advanced {
staticId: value
endUserCanPick: false
accessibilityTested: false
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No | ||
Applies when theme supports IS_SUBSCRIBED | ||||
master | string | No | ||
Applies when theme NOT_FEATURES IS_SUBSCRIBED | ||||
subscription {
master: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
style "example" (
name: exampleName
css {
fileUrls: [
value1
value2
]
cssClasses: value
}
themeRollerAttributes {
readOnly: false
inputParameterFileUrls: ```
Lorem ipsum dolor sit amet.
```
outputCssFileUrl: value
jsonConfig: ```
{
"type": "object",
"properties": {
"status": { "type": "string" }
}
}
```
}
advanced {
staticId: value
endUserCanPick: false
accessibilityTested: false
}
subscription {
master: value
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
templateOptionGroup
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
templateType | enum | Yes | enum=[button, item, region, report, list, page, breadcrumb] | |
name | string | Yes | maxLen=30 | |
sequence | integer | Yes | maxLen=32767 |
settings
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
nullText | string | No | maxLen=30 |
settings {
nullText: value
}
help
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
helpText | multiline string | No | maxLen=4000 |
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
isAdvancedOption | boolean | Yes | false | |
staticId | string | Yes | maxLen=255 | |
identifier | string | No | maxLen=255 |
advanced {
isAdvancedOption: false
staticId: value
identifier: unique-id
}
subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | string | No | ||
Applies when theme supports IS_SUBSCRIBED | ||||
master | string | No | ||
Applies when theme NOT_FEATURES IS_SUBSCRIBED | ||||
subscription {
master: value
}
APEXlang Example
templateOptionGroup "example" (
templateType: button
name: exampleName
sequence: 42
settings {
nullText: value
}
help {
helpText: ```
Lorem ipsum dolor sit amet.
```
}
advanced {
isAdvancedOption: false
staticId: value
identifier: unique-id
}
subscription {
master: value
}
)
workflow
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 Name of this workflow. | |
title | string | Yes | maxLen=255 User friendly title of this workflow. |
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255
Static ID for this workflow. The static ID is used when manually executing the workflow with
the APEX_WORKFLOW package (APEX_WORKFLOW.CREATE_WORKFLOW). |
advanced {
staticId: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
workflow "example" (
name: exampleName
title: "Page title"
advanced {
staticId: value
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
parameter
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
label
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
label | string | Yes | maxLen=4000 An end-user friendly name of the workflow parameter. |
label {
label: label
}
parameter
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
dataType | enum | Yes | varchar2 | enum=[varchar2, timestamp, timestampWithLocalTimeZone, timestampWithTimeZone, number, boolean, clob]; maxLen=128 |
direction | enum | Yes | in | enum=[in, out, inOut]The direction of the parameter as defined within the Workflow. |
parameter {
dataType: varchar2
direction: in
}
validation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
required | boolean | Yes | false | |
Applies when parameter.direction in (IN, IN_OUT) | ||||
validation {
required: false
}
default
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
value | multiline string | No | maxLen=4000 | |
Applies when parameter.direction in (IN, IN_OUT) | ||||
default {
value: ```
Lorem ipsum dolor sit amet.
```
}
displayFormatMasks
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sessionStateFormatMask | string | No | maxLen=255 | |
Applies when parameter.dataType in (NUMBER, TIMESTAMP, TIMESTAMP_TZ, TIMESTAMP_LTZ) | ||||
trueValue | string | No | maxLen=10 | |
Applies when parameter.dataType = BOOLEAN | ||||
falseValue | string | No | maxLen=10 | |
Applies when parameter.dataType = BOOLEAN | ||||
displayFormatMasks {
sessionStateFormatMask: value
trueValue: value
falseValue: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
parameter "example" (
staticId: value
label {
label: label
}
parameter {
dataType: varchar2
direction: in
}
validation {
required: false
}
default {
value: ```
Lorem ipsum dolor sit amet.
```
}
displayFormatMasks {
sessionStateFormatMask: value
trueValue: value
falseValue: value
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
version
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
workflowVersion | string | Yes | maxLen=255 Version of this workflow. |
settings
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
state | enum | Yes | inDevelopment | enum=[inDevelopment, active, inactive]; maxLen=128 |
settings {
state: inDevelopment
}
additionalData
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[tableView, sqlQuery]Select how additional data is queried that can be used to evaluate variables,
participants and conditions during the execution of the activities of the workflow.. | |
tableOwner | string | No | maxLen=32767 | |
Applies when version.type = TABLE | ||||
tableName | string | Yes | maxLen=32767 | |
Applies when version.type = TABLE | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when version.type = SQL | ||||
additionalData {
type: tableView
tableOwner: value
tableName: value
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
}
columnMapping
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
primaryKeyColumn | string | Yes | maxLen=32767
The primary key column for the table which will serve as the system of records during execution of this workflow version. | |
Applies when version.type = TABLE | ||||
columnMapping {
primaryKeyColumn: value
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
debugLevel | enum | No | enum=[info, warning, error, trace] | |
diagram | string | No | maxLen=32767 |
advanced {
debugLevel: info
diagram: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
version "example" (
workflowVersion: value
settings {
state: inDevelopment
}
additionalData {
type: tableView
tableOwner: value
tableName: value
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
}
columnMapping {
primaryKeyColumn: value
}
advanced {
debugLevel: info
diagram: value
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
activity
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 Enter a name for the workflow activity. | |
type | enum | Yes | enum=[autoRowFetch, autoRowProcessing, clearSessionState, closeDialog, dataLoading, download, executeCode, executionChain, formAutoRowProcessing, formInitialization, formPagination, generateTextWithAi, humanTaskCreate, humanTaskManage, interactiveGridAutoRowProcessing, invokeApi, invokeWorkflow, legacyAutoRowProcessing, legacyWebService, loadUploadedData, parallelFlow, parseUploadedData, plugin/<pluginName>, prepareUploadedData, printReport, resetPagination, sendEMail, sendPushNotification, serverSideGeocoding, switch, tabformAddRows, tabformDelete, tabformUpdate, userPreferences, wait, webService, workflow, workflowEnd, workflowStart] |
genAI
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
enabled | boolean | Yes | false | |
Applies when activity.type supports AI_ENABLED | ||||
agent | string | No | ||
Applies when activity.type supports AI_ENABLED_ALWAYS, AI_ENABLED and activity.enabled = Y or not set | ||||
service | string | No | ||
Applies when activity.agent NULL | ||||
systemPrompt | multiline string | No | maxLen=32767 | |
Applies when activity.type supports AI_SYSTEM_PROMPT and activity.agent NULL | ||||
genAI { enabled: false agent:@componentservice:@componentsystemPrompt: ``` Lorem ipsum dolor sit amet. ``` }
source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
location | enum | Yes | localDatabase | enum=[localDatabase, restEnabledSql] |
Applies when activity.type = plsql | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when activity.location = LOCAL | ||||
plsqlCode | multiline string | Yes | language=plsql; maxLen=32767 | |
Applies when activity.language = PLSQL | ||||
javaScriptCode | multiline string | Yes | language=javascript-mle; maxLen=32767 | |
Applies when activity.language = JAVASCRIPT | ||||
remoteServer | string | Yes | ||
Applies when activity.location = REMOTE | ||||
plsqlCode | multiline string | Yes | language=plsql; maxLen=32767Enter the PL/SQL code to be executed on the remote database. | |
Applies when activity.location = REMOTE | ||||
source { location: localDatabase language: plsql plsqlCode: ``` apex_debug.message('Processing APEXlang component'); apex_collection.create_or_truncate_collection( p_collection_name => 'EXAMPLE_ROWS' ); ``` javaScriptCode: ``` apex.message.alert( "Load complete." ); ``` remoteServer:@component}
additionalData
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sqlQuery | multiline string | No | language=sql; maxLen=4000Enter a SQL query to read additional data. The column names of the query can be used as bind variables and substitution strings to evaluate conditions or activity variables during the execution of the activity. The result of the query should contain only one row. If the query returns no result or more than one row then the activity fails during execution. |
additionalData {
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
}
deadline
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
dueOnType | enum | No | enum=[interval, sqlQuery, expression, functionBody, schedulerExpression] | |
Applies when activity.type NOT_EQUALS workflowWait | ||||
interval | string | Yes | maxLen=255 | |
Applies when activity.dueOnType = INTERVAL | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when activity.dueOnType = SQL_QUERY | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when activity.dueOnType = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when activity.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when activity.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when activity.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when activity.dueOnType = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when activity.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when activity.language = JAVASCRIPT | ||||
schedulerExpression | multiline string | Yes | maxLen=255 | |
Applies when activity.dueOnType = SCHEDULER_EXPRESSION | ||||
deadline {
dueOnType: interval
interval: value
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
schedulerExpression: ```
Lorem ipsum dolor sit amet.
```
}
layout
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 |
layout {
sequence: 42
}
parallelFlow
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
branch | string | No | ||
Applies when activity.type NOT_IN_LIST parallelWorkflow, workflowStart, workflowEnd | ||||
parallelFlow { branch:@component}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
label | string | No | maxLen=4000 | |
diagram | string | No | maxLen=32767 |
advanced {
staticId: value
label: label
diagram: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
activity "example" ( name: exampleName type: staticContent genAI { enabled: false agent:@componentservice:@componentsystemPrompt: ``` Lorem ipsum dolor sit amet. ``` } source { location: localDatabase language: plsql plsqlCode: ``` apex_debug.message('Processing APEXlang component'); apex_collection.create_or_truncate_collection( p_collection_name => 'EXAMPLE_ROWS' ); ``` javaScriptCode: ``` apex.message.alert( "Load complete." ); ``` remoteServer:@component} additionalData { sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` } deadline { dueOnType: interval interval: value sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` schedulerExpression: ``` Lorem ipsum dolor sit amet. ``` } layout { sequence: 42 } parallelFlow { branch:@component} advanced { staticId: value label: label diagram: value } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
activityVariable
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
label
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
label | string | Yes | maxLen=4000 An end-user friendly name of the workflow variable. |
label {
label: label
}
parameter
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
dataType | enum | Yes | varchar2 | enum=[varchar2, timestamp, timestampWithLocalTimeZone, timestampWithTimeZone, number, boolean, clob]; maxLen=128 |
parameter {
dataType: varchar2
}
value
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | null | enum=[staticValue, item, sqlQuery, expression, functionBody, null] |
staticValue | multiline string | Yes | maxLen=4000 | |
Applies when activityVariable.type = STATIC and activityVariable.dataType NOT_EQUALS BOOLEAN | ||||
staticValue | enum | Yes | enum=[true, false] | |
Applies when activityVariable.type = STATIC and activityVariable.dataType = BOOLEAN | ||||
item | string | Yes | maxLen=255 | |
Applies when activityVariable.type = ITEM | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when activityVariable.type = SQL_QUERY | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when activityVariable.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when activityVariable.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when activityVariable.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when activityVariable.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when activityVariable.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when activityVariable.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when activityVariable.language = JAVASCRIPT | ||||
value {
type: staticValue
staticValue: ```
Lorem ipsum dolor sit amet.
```
item: value
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
}
displayFormatMasks
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sessionStateFormatMask | string | No | maxLen=255 Format mask to be used to convert the workflow variable into a NUMBER or TIMESTAMP and back into a VARCHAR2 when the parameter is used in a bind variable or substitution string. | |
Applies when activityVariable.dataType in (NUMBER, TIMESTAMP, TIMESTAMP_TZ, TIMESTAMP_LTZ) | ||||
trueValue | string | No | maxLen=10 | |
Applies when activityVariable.dataType = BOOLEAN and activityVariable.type NOT_IN_LIST STATIC | ||||
falseValue | string | No | maxLen=10 | |
Applies when activityVariable.dataType = BOOLEAN and activityVariable.type NOT_IN_LIST STATIC | ||||
displayFormatMasks {
sessionStateFormatMask: value
trueValue: value
falseValue: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
activityVariable "example" (
staticId: value
label {
label: label
}
parameter {
dataType: varchar2
}
value {
type: staticValue
staticValue: ```
Lorem ipsum dolor sit amet.
```
item: value
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
}
displayFormatMasks {
sessionStateFormatMask: value
trueValue: value
falseValue: value
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
branch
activity.type = parallelWorkflow| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 Name of this parallel flow branch. |
label
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
label | string | No | maxLen=4000 An optional, user friendly, translatable label for the branch. |
label {
label: label
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
diagram | string | No | maxLen=32767 |
advanced {
staticId: value
diagram: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
branch "example" (
name: exampleName
label {
label: label
}
advanced {
staticId: value
diagram: value
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
connection
activity.type NOT_IN_LIST workflowSwitch, workflowEnd| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 Name of this workflow activity transition. | |
type | string | Yes | NORMAL |
execution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | No | maxLen=22 | |
Applies when connection.type = ERROR | ||||
execution {
sequence: 42
}
activity
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
from | string | Yes | ||
to | string | Yes |
activity { from:@componentto:@component}
condition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
operator | enum | Yes | enum=[=, !=, >, <, >=, <=, isNotNull] | |
Applies when connection.type = ERROR | ||||
value | string | Yes | maxLen=32767 | |
Applies when connection.operator NOT_EQUALS NOT_NULL | ||||
condition {
operator: "="
value: value
}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No | ||
Applies when connection.type = ERROR | ||||
config { buildOption:@component}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
diagram | string | No | maxLen=32767 |
advanced {
diagram: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
connection "example" ( name: exampleName type: value execution { sequence: 42 } activity { from:@componentto:@component} condition { operator: "=" value: value } config { buildOption:@component} advanced { diagram: value } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
connection
activity.type = workflowSwitch| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 Name of this workflow switch activity branch. |
execution
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sequence | number | Yes | maxLen=22 | |
Applies when NATIVE_WORKFLOW_SWITCH.type NOT_EQUALS TRUE_FALSE_CHECK | ||||
execution {
sequence: 42
}
serverSideCondition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | No | enum=[rowsReturned, noRowsReturned, expression, functionBody, variable=value, variable!=value, variableIsNull, variableIsNotNull, variableIsZero, variableIsNotZero, variableIsNullOrZero, variableIsNotNullAndNotZero, variableContainsNoSpaces, variableIsNumeric, variableIsNotNumeric, variableIsAlphanumeric, variableIsInColonDelimitedList, variableIsNotInColonDelimitedList, textIsContainedInVariable, text=value, text!=value, textIsContainedInValue, textIsNotContainedInValue, never] | |
Applies when NATIVE_WORKFLOW_SWITCH.type = IF_ELSE | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when connection.type in (EXISTS, NOT_EXISTS) | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when connection.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when connection.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when connection.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when connection.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when connection.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when connection.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when connection.language = JAVASCRIPT | ||||
item | string | Yes | maxLen=4000 | |
Applies when connection.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2, ITEM_IS_NULL, ITEM_IS_NOT_NULL, ITEM_IS_ZERO, ITEM_IS_NOT_ZERO, ITEM_IS_NULL_OR_ZERO, ITEM_NOT_NULL_OR_ZERO, ITEM_CONTAINS_NO_SPACES, ITEM_IS_NUMERIC, ITEM_IS_NOT_NUMERIC, ITEM_IS_ALPHANUMERIC, VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
text | string | Yes | maxLen=4000 | |
Applies when connection.type in (CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2, DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
value | string | Yes | maxLen=4000 | |
Applies when connection.type in (VAL_OF_ITEM_IN_COND_EQ_COND2, VAL_OF_ITEM_IN_COND_NOT_EQ_COND2, VALUE_OF_ITEM_IN_COND_1_EQ_COND_2, VALUE_OF_ITEM_IN_COND_1_NOT_EQ_COND_2) | ||||
list | array of strings | Yes | maxLen=4000 | |
Applies when connection.type in (VALUE_OF_ITEM_IN_CONDITION_IN_COLON_DELIMITED_LIST, VALUE_OF_ITEM_IN_CONDITION_NOT_IN_COLON_DELIMITED_LIST) | ||||
item | string | Yes | maxLen=4000 | |
Applies when connection.type = CONDITION1_IN_VALUE_OF_ITEM_IN_CONDITION2 | ||||
value | string | Yes | maxLen=4000 | |
Applies when connection.type in (DISPLAY_COND_IN_COND_TEXT, DISPLAY_COND_NOT_IN_COND_TEXT, DISPLAY_COND_EQUAL_COND_TEXT, DISP_COND_NOT_EQUAL_COND_TEXT) | ||||
serverSideCondition {
type: rowsReturned
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
item: value
text: text
value: value
list: [
value1
value2
]
}
condition
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
when | enum | Yes | enum=[true, false, null] | |
Applies when NATIVE_WORKFLOW_SWITCH.type = TRUE_FALSE_CHECK | ||||
operator | enum | Yes | enum=[=, !=, >, <, >=, <=, isNotNull, isNull, otherwise] | |
Applies when NATIVE_WORKFLOW_SWITCH.type in (CHECK_WF_VARIABLE, CASE) | ||||
value | string | Yes | maxLen=32767 | |
Applies when NATIVE_WORKFLOW_SWITCH.type in (CHECK_WF_VARIABLE, CASE) and connection.operator NOT_IN_LIST OTHERWISE, IS_NULL, NOT_NULL | ||||
condition {
when: true
operator: "="
value: value
}
config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | string | No | ||
Applies when NATIVE_WORKFLOW_SWITCH.type = IF_ELSE | ||||
config { buildOption:@component}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
diagram | string | No | maxLen=32767 |
advanced {
diagram: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
connection "example" ( name: exampleName execution { sequence: 42 } serverSideCondition { type: rowsReturned sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` item: value text: text value: value list: [ value1 value2 ] } condition { when: true operator: "=" value: value } activity { to:@component} config { buildOption:@component} advanced { diagram: value } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
parameter
activity.type = createTask| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes |
value
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | staticValue | enum=[staticValue, item, sqlQuery, expression, functionBody, preference, null] |
staticValue | multiline string | Yes | maxLen=4000 | |
Applies when parameter.type = STATIC | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.type = SQL_QUERY | ||||
item | string | Yes | maxLen=255 | |
Applies when parameter.type = ITEM | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when parameter.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when parameter.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
preference | string | Yes | maxLen=255 | |
Applies when parameter.type = PREFERENCE | ||||
value {
type: staticValue
staticValue: ```
Lorem ipsum dolor sit amet.
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
item: value
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
preference: value
}
APEXlang Example
parameter "example" ( name:@componentvalue { type: staticValue staticValue: ``` Lorem ipsum dolor sit amet. ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` item: value language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` preference: value } )
parameter
NATIVE_INVOKE_API.type in (PLSQL_PACKAGE, PLSQL_PROCEDURE_FUNCTION)| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | parameter | enum=[parameter, functionResult] |
name | string | Yes | p_ | maxLen=255 Enter the name of a parameter declared in the selected procedure or function. |
Applies when parameter.type = PARAMETER | ||||
parameter
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
direction | enum | Yes | in | enum=[in, out, inOut] |
Applies when parameter.type = PARAMETER | ||||
dataType | enum | Yes | varchar2 | enum=[varchar2, clob, number, plsqlInteger, boolean, date, timestamp, timestampWithLocalTimeZone, timestampWithTimeZone, intervalYearToMonth, intervalDayToSecond, blob, char, rowid, custom] |
dataTypeName | string | Yes | maxLen=32767 | |
Applies when parameter.dataType = CUSTOM | ||||
hasDefault | boolean | Yes | false | |
Applies when parameter.direction = IN | ||||
ignoreOutput | boolean | Yes | false | |
Applies when parameter.direction in (IN_OUT, OUT) or not set and parameter.dataType NOT_IN_LIST CUSTOM, BLOB | ||||
parameter {
direction: in
dataType: varchar2
dataTypeName: value
hasDefault: false
ignoreOutput: false
}
value
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | string | Yes | ||
Applies when parameter.direction in (IN, IN_OUT) and parameter.ignoreOutput = Y or not set | ||||
staticValue | multiline string | Yes | maxLen=4000 | |
Applies when parameter.type = STATIC and parameter.dataType NOT_EQUALS BOOLEAN | ||||
staticValue | enum | Yes | enum=[true, false] | |
Applies when parameter.type = STATIC and parameter.dataType = BOOLEAN | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.type = SQL_QUERY | ||||
item | string | Yes | maxLen=255 | |
Applies when parameter.type = ITEM or parameter.ignoreOutput = N | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when parameter.type = EXPRESSION and parameter.dataType NOT_EQUALS CUSTOM | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when parameter.type = FUNCTION_BODY and parameter.dataType NOT_EQUALS CUSTOM | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.type = EXPRESSION and parameter.dataType = CUSTOM | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.type = FUNCTION_BODY and parameter.dataType = CUSTOM | ||||
preference | string | Yes | maxLen=255 | |
Applies when parameter.type = PREFERENCE | ||||
formatMask | string | No | maxLen=255 | |
Applies when parameter.dataType in (NUMBER, DATE, TIMESTAMP, TIMESTAMP WITH TIME ZONE, TIMESTAMP WITH LOCAL TIME ZONE) and condition matches | ||||
trueValue | string | No | maxLen=10 | |
Applies when parameter.dataType = BOOLEAN and condition matches | ||||
falseValue | string | No | maxLen=10 | |
Applies when parameter.dataType = BOOLEAN and condition matches | ||||
value {
type: value
staticValue: ```
Lorem ipsum dolor sit amet.
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
item: value
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
preference: value
formatMask: value
trueValue: value
falseValue: value
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
displaySequence | integer | Yes | maxLen=32767; min=0 |
advanced {
displaySequence: 42
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
parameter "example" (
type: parameter
name: exampleName
parameter {
direction: in
dataType: varchar2
dataTypeName: value
hasDefault: false
ignoreOutput: false
}
value {
type: value
staticValue: ```
Lorem ipsum dolor sit amet.
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
item: value
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
preference: value
formatMask: value
trueValue: value
falseValue: value
}
advanced {
displaySequence: 42
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
parameter
NATIVE_INVOKE_API.type = WEB_SOURCE| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes |
parameter
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
ignoreOutput | boolean | Yes | true | |
Applies when parameter.name supports IN_OUT_PARAMETER, OUT_PARAMETER | ||||
parameter {
ignoreOutput: false
}
value
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | string | Yes | ||
Applies when parameter.name supports IN_PARAMETER, IN_OUT_PARAMETER or parameter.ignoreOutput = N | ||||
staticValue | multiline string | Yes | maxLen=4000 | |
Applies when parameter.type = STATIC and parameter.name NOT_FEATURES BOOLEAN_PARAMETER | ||||
staticValue | enum | Yes | enum=[true, false] | |
Applies when parameter.type = STATIC and parameter.name supports BOOLEAN_PARAMETER | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.type = SQL_QUERY | ||||
item | string | Yes | maxLen=255 | |
Applies when parameter.type = ITEM | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when parameter.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when parameter.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
preference | string | Yes | maxLen=255 | |
Applies when parameter.type = PREFERENCE | ||||
name | string | Yes | maxLen=255 | |
Applies when parameter.type = COLLECTION | ||||
formatMask | string | No | maxLen=255 Format mask to convert the Static, Item or Preference value to the data type of the REST Source Parameter. | |
Applies when parameter.name supports NUMBER_PARAMETER, DATE_PARAMETER, TIMESTAMP_PARAMETER, TIMESTAMP_TZ_PARAMETER and parameter.type in (STATIC, ITEM, PREFERENCE) | ||||
trueValue | string | No | maxLen=10 | |
Applies when parameter.name supports BOOLEAN_PARAMETER and parameter.type in (ITEM, PREFERENCE) | ||||
falseValue | string | No | maxLen=10 | |
Applies when parameter.name supports BOOLEAN_PARAMETER and parameter.type in (ITEM, PREFERENCE) | ||||
value {
type: value
staticValue: ```
Lorem ipsum dolor sit amet.
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
item: value
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
preference: value
name: exampleName
formatMask: value
trueValue: value
falseValue: value
}
APEXlang Example
parameter "example" ( name:@componentparameter { ignoreOutput: false } value { type: value staticValue: ``` Lorem ipsum dolor sit amet. ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` item: value language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` preference: value name: exampleName formatMask: value trueValue: value falseValue: value } )
parameter
activity.type = invokeWorkflow| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes |
parameter
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
ignoreOutput | boolean | Yes | true | |
Applies when parameter.name supports OUT_PARAMETER, IN_OUT_PARAMETER | ||||
parameter {
ignoreOutput: false
}
value
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | item | enum=[staticValue, item, sqlQuery, expression, functionBody, preference, default, null] |
Applies when parameter.name supports IN_PARAMETER, IN_OUT_PARAMETER and parameter.ignoreOutput = Y or not set | ||||
staticValue | multiline string | Yes | maxLen=4000 | |
Applies when parameter.type = STATIC and parameter.name NOT_FEATURES BOOLEAN_PARAMETER | ||||
staticValue | enum | Yes | enum=[true, false] | |
Applies when parameter.type = STATIC and parameter.name supports BOOLEAN_PARAMETER | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.type = SQL_QUERY | ||||
item | string | Yes | maxLen=255 | |
Applies when parameter.type = ITEM or parameter.ignoreOutput = N | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when parameter.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when parameter.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when parameter.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when parameter.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when parameter.language = JAVASCRIPT | ||||
formatMask | string | No | maxLen=255 Format mask to convert the Static or Item value to the data type of the workflow parameter. | |
Applies when parameter.name supports NUMBER_PARAMETER, TIMESTAMP_PARAMETER, TIMESTAMP_TZ__PARAMETER, TIMESTAMP_LTZ__PARAMETER and parameter.type in (STATIC, ITEM) | ||||
trueValue | string | No | maxLen=10 | |
Applies when parameter.type in (ITEM, PREFERENCE) and parameter.name supports BOOLEAN_PARAMETER | ||||
falseValue | string | No | maxLen=10 | |
Applies when parameter.type in (ITEM, PREFERENCE) and parameter.name supports BOOLEAN_PARAMETER | ||||
value {
type: staticValue
staticValue: ```
Lorem ipsum dolor sit amet.
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
item: value
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
formatMask: value
trueValue: value
falseValue: value
}
APEXlang Example
parameter "example" ( name:@componentparameter { ignoreOutput: false } value { type: staticValue staticValue: ``` Lorem ipsum dolor sit amet. ``` sqlQuery: ``` select empno, ename, job, sal from emp where deptno = :P1_DEPTNO ``` item: value language: sql sqlExpression: ``` upper(:P1_SEARCH) ``` plsqlExpression: ``` :CARD_LINK is not null ``` javaScriptExpression: ``` apex.message.alert( "Load complete." ); ``` plsqlFunctionBody: ``` return 'Generated text'; ``` javaScriptFunctionBody: ``` return 'Generated text'; ``` formatMask: value trueValue: value falseValue: value } )
participant
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 Name of this workflow participant. | |
type | enum | Yes | owner | enum=[owner, admin] |
value
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | staticValue | enum=[staticValue, sqlQuery, expression, functionBody] |
staticValue | multiline string | Yes | maxLen=4000 | |
Applies when participant.type = STATIC | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when participant.type = SQL_QUERY | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when participant.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when participant.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when participant.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when participant.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when participant.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when participant.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when participant.language = JAVASCRIPT | ||||
value {
type: staticValue
staticValue: ```
Lorem ipsum dolor sit amet.
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
participant "example" (
name: exampleName
type: owner
value {
type: staticValue
staticValue: ```
Lorem ipsum dolor sit amet.
```
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
variable
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
label
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
label | string | Yes | maxLen=4000 An end-user friendly name of the workflow variable. |
label {
label: label
}
parameter
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
dataType | enum | Yes | varchar2 | enum=[varchar2, timestamp, timestampWithLocalTimeZone, timestampWithTimeZone, number, boolean, clob]; maxLen=128 |
parameter {
dataType: varchar2
}
value
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
type | enum | Yes | null | enum=[staticValue, item, sqlQuery, expression, functionBody, null] |
staticValue | multiline string | Yes | maxLen=4000 | |
Applies when variable.type = STATIC and variable.dataType NOT_EQUALS BOOLEAN | ||||
staticValue | enum | Yes | enum=[true, false] | |
Applies when variable.type = STATIC and variable.dataType = BOOLEAN | ||||
item | string | Yes | maxLen=255 | |
Applies when variable.type = ITEM | ||||
sqlQuery | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when variable.type = SQL_QUERY | ||||
language | enum | Yes | plsql | enum=[sql, plsql, javaScript-mle] |
Applies when variable.type = EXPRESSION | ||||
sqlExpression | multiline string | Yes | language=sql; maxLen=4000 | |
Applies when variable.language = SQL | ||||
plsqlExpression | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when variable.language = PLSQL | ||||
javaScriptExpression | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when variable.language = JAVASCRIPT | ||||
language | enum | Yes | plsql | enum=[plsql, javaScript-mle] |
Applies when variable.type = FUNCTION_BODY | ||||
plsqlFunctionBody | multiline string | Yes | language=plsql; maxLen=4000 | |
Applies when variable.language = PLSQL | ||||
javaScriptFunctionBody | multiline string | Yes | language=javascript-mle; maxLen=4000 | |
Applies when variable.language = JAVASCRIPT | ||||
value {
type: staticValue
staticValue: ```
Lorem ipsum dolor sit amet.
```
item: value
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
}
displayFormatMasks
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
sessionStateFormatMask | string | No | maxLen=255 Format mask to be used to convert the workflow variable into a NUMBER or TIMESTAMP and back into a VARCHAR2 when the parameter is used in a bind variable or substitution string. | |
Applies when variable.dataType in (NUMBER, TIMESTAMP, TIMESTAMP_TZ, TIMESTAMP_LTZ) | ||||
trueValue | string | No | maxLen=10 | |
Applies when variable.dataType = BOOLEAN and variable.type NOT_IN_LIST STATIC | ||||
falseValue | string | No | maxLen=10 | |
Applies when variable.dataType = BOOLEAN and variable.type NOT_IN_LIST STATIC | ||||
displayFormatMasks {
sessionStateFormatMask: value
trueValue: value
falseValue: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
variable "example" (
staticId: value
label {
label: label
}
parameter {
dataType: varchar2
}
value {
type: staticValue
staticValue: ```
Lorem ipsum dolor sit amet.
```
item: value
sqlQuery: ```
select empno, ename, job, sal
from emp
where deptno = :P1_DEPTNO
```
language: sql
sqlExpression: ```
upper(:P1_SEARCH)
```
plsqlExpression: ```
:CARD_LINK is not null
```
javaScriptExpression: ```
apex.message.alert( "Load complete." );
```
plsqlFunctionBody: ```
return 'Generated text';
```
javaScriptFunctionBody: ```
return 'Generated text';
```
}
displayFormatMasks {
sessionStateFormatMask: value
trueValue: value
falseValue: value
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
appGroup
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 |
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 |
advanced {
staticId: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
appGroup "example" (
name: exampleName
advanced {
staticId: value
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
authenticationServer
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 |
endpointUrl
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
url | string | Yes | maxLen=4000 |
endpointUrl {
url: value
}
dynamicConfig
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
plsqlCode | multiline string | No | language=plsql; maxLen=32000 | |
procedureName | string | No | maxLen=255 |
dynamicConfig {
plsqlCode: ```
apex_debug.message('Processing APEXlang component');
apex_collection.create_or_truncate_collection(
p_collection_name => 'EXAMPLE_ROWS'
);
```
procedureName: value
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
promptOnInstall | boolean | Yes | false | |
httpsHostName | string | No | maxLen=500 |
advanced {
staticId: value
promptOnInstall: false
httpsHostName: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
authenticationServer "example" (
name: exampleName
endpointUrl {
url: value
}
dynamicConfig {
plsqlCode: ```
apex_debug.message('Processing APEXlang component');
apex_collection.create_or_truncate_collection(
p_collection_name => 'EXAMPLE_ROWS'
);
```
procedureName: value
}
advanced {
staticId: value
promptOnInstall: false
httpsHostName: value
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
file
file
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
fileName | string | Yes | maxLen=255 | |
content | blob | No | maxLen=32767 | |
mimeType | string | Yes | maxLen=255 | |
charSet | enum | No | enum=[iso-8859-6, windows-1256, big5, gbk, iso-8859-5, koi8-r, koi8-u, windows-1251, iso-8859-2, windows-1250, iso-8859-7, windows-1253, iso-8859-8-i, windows-1255, euc-jp, shift-jis, euc-kr, iso-8859-4, windows-1257, iso-8859-3, tis-620, iso-8859-9, windows-1254, us-ascii, utf-16be, utf-16le, utf-8, windows-1258, iso-8859-1, windows-1252]; maxLen=128 |
file {
fileName: value
content: value
mimeType: value
charSet: iso-8859-6
}
APEXlang Example
file "example" (
file {
fileName: value
content: value
mimeType: value
charSet: iso-8859-6
}
)
fileServer
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 |
endpointUrl
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
url | string | Yes | maxLen=4000 |
endpointUrl {
url: value
}
authentication
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
credentials | string | No |
authentication { credentials:@component}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
promptOnInstall | boolean | Yes | false | |
httpsHostName | string | No | maxLen=500 |
advanced {
staticId: value
promptOnInstall: false
httpsHostName: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
fileServer "example" ( name: exampleName endpointUrl { url: value } authentication { credentials:@component} advanced { staticId: value promptOnInstall: false httpsHostName: value } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
genAIService
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
provider | enum | Yes | enum=[ociGenAI, openai, cohere, googleGemini, genericOpenaiApiCompatible] |
endpointUrl
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
url | string | Yes | maxLen=4000 |
endpointUrl {
url: value
}
authentication
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
credentials | string | Yes |
authentication { credentials:@component}
additionalData
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
httpHeaders | multiline string | No | maxLen=4000 | |
attributes | multiline string | No | maxLen=4000 |
additionalData {
httpHeaders: ```
Lorem ipsum dolor sit amet.
```
attributes: ```
Lorem ipsum dolor sit amet.
```
}
appBuilder
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
usedByAppBuilder | boolean | Yes | false | |
defaultForNewApps | boolean | Yes | false |
appBuilder {
usedByAppBuilder: false
defaultForNewApps: false
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
modelName | string | No | maxLen=255 | |
maxTokens | integer | No | maxLen=32767; min=0 | |
serverTimeout | integer | No | maxLen=32767; min=1; max=3600 | |
staticId | string | Yes | maxLen=255 |
advanced {
modelName: value
maxTokens: 5
serverTimeout: 42
staticId: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
genAIService "example" ( name: exampleName provider: ociGenAI endpointUrl { url: value } authentication { credentials:@component} additionalData { httpHeaders: ``` Lorem ipsum dolor sit amet. ``` attributes: ``` Lorem ipsum dolor sit amet. ``` } appBuilder { usedByAppBuilder: false defaultForNewApps: false } advanced { modelName: value maxTokens: 5 serverTimeout: 42 staticId: value } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
printServer
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
type | enum | Yes | oracleBiPublisher | enum=[oracleBiPublisher, apacheFop, apexOfficePrint, documentGenerator] |
endpointUrl
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
url | string | Yes | maxLen=4000 |
endpointUrl {
url: value
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
promptOnInstall | boolean | Yes | false | |
httpsHostName | string | No | maxLen=500 | |
serverTimeout | integer | Yes | 300 | maxLen=32767; min=1; max=3600 |
advanced {
staticId: value
promptOnInstall: false
httpsHostName: value
serverTimeout: 42
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
printServer "example" (
name: exampleName
type: oracleBiPublisher
endpointUrl {
url: value
}
advanced {
staticId: value
promptOnInstall: false
httpsHostName: value
serverTimeout: 42
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
restDataSourceServer
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 |
endpointUrl
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
url | string | Yes | maxLen=4000 |
endpointUrl {
url: value
}
dynamicConfig
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
plsqlCode | multiline string | No | language=plsql; maxLen=32000 | |
procedureName | string | No | maxLen=255 |
dynamicConfig {
plsqlCode: ```
apex_debug.message('Processing APEXlang component');
apex_collection.create_or_truncate_collection(
p_collection_name => 'EXAMPLE_ROWS'
);
```
procedureName: value
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
promptOnInstall | boolean | Yes | false | |
httpsHostName | string | No | maxLen=500 |
advanced {
staticId: value
promptOnInstall: false
httpsHostName: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
restDataSourceServer "example" (
name: exampleName
endpointUrl {
url: value
}
dynamicConfig {
plsqlCode: ```
apex_debug.message('Processing APEXlang component');
apex_collection.create_or_truncate_collection(
p_collection_name => 'EXAMPLE_ROWS'
);
```
procedureName: value
}
advanced {
staticId: value
promptOnInstall: false
httpsHostName: value
}
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
)
restEnabledSqlDatabase
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 |
endpointUrl
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
url | string | Yes | maxLen=4000 |
endpointUrl {
url: value
}
authentication
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
credentials | string | Yes |
authentication { credentials:@component}
database
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
databaseType | enum | No | enum=[oracle, mysql] | |
databaseInfo | multiline string | No | maxLen=4000 | |
Applies when restEnabledSqlDatabase.databaseType is set | ||||
database {
databaseType: oracle
databaseInfo: ```
Lorem ipsum dolor sit amet.
```
}
databaseSession
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
initPlsqlCode | multiline string | No | language=plsql; maxLen=4000 | |
cleanupPlsqlCode | multiline string | No | language=plsql; maxLen=4000 |
databaseSession {
initPlsqlCode: ```
apex_debug.message('Processing APEXlang component');
apex_collection.create_or_truncate_collection(
p_collection_name => 'EXAMPLE_ROWS'
);
```
cleanupPlsqlCode: ```
apex_debug.message('Processing APEXlang component');
apex_collection.create_or_truncate_collection(
p_collection_name => 'EXAMPLE_ROWS'
);
```
}
session
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
defaultSchema | string | No | maxLen=255 | |
Applies when restEnabledSqlDatabase.databaseType = MYSQL | ||||
mysqlSqlModes | string | No | maxLen=4000 | |
Applies when restEnabledSqlDatabase.databaseType = MYSQL | ||||
session {
defaultSchema: value
mysqlSqlModes: "select * from table_name"
}
dynamicConfig
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
plsqlCode | multiline string | No | language=plsql; maxLen=32000 | |
procedureName | string | No | maxLen=255 |
dynamicConfig {
plsqlCode: ```
apex_debug.message('Processing APEXlang component');
apex_collection.create_or_truncate_collection(
p_collection_name => 'EXAMPLE_ROWS'
);
```
procedureName: value
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | maxLen=255 | |
promptOnInstall | boolean | Yes | false | |
httpsHostName | string | No | maxLen=500 | |
ordsVersion | string | No | maxLen=255 | |
serverTimeZone | string | No | maxLen=255 |
advanced {
staticId: value
promptOnInstall: false
httpsHostName: value
ordsVersion: value
serverTimeZone: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
restEnabledSqlDatabase "example" ( name: exampleName endpointUrl { url: value } authentication { credentials:@component} database { databaseType: oracle databaseInfo: ``` Lorem ipsum dolor sit amet. ``` } databaseSession { initPlsqlCode: ``` apex_debug.message('Processing APEXlang component'); apex_collection.create_or_truncate_collection( p_collection_name => 'EXAMPLE_ROWS' ); ``` cleanupPlsqlCode: ``` apex_debug.message('Processing APEXlang component'); apex_collection.create_or_truncate_collection( p_collection_name => 'EXAMPLE_ROWS' ); ``` } session { defaultSchema: value mysqlSqlModes: "select * from table_name" } dynamicConfig { plsqlCode: ``` apex_debug.message('Processing APEXlang component'); apex_collection.create_or_truncate_collection( p_collection_name => 'EXAMPLE_ROWS' ); ``` procedureName: value } advanced { staticId: value promptOnInstall: false httpsHostName: value ordsVersion: value serverTimeZone: value } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
vectorProvider
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
type | enum | Yes | enum=[databaseOnnxModel, genAIService, customPlsql] |
localEmbedding
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
owner | string | No | maxLen=32767 | |
Applies when vectorProvider.type = ONNX | ||||
modelName | string | Yes | maxLen=32767 | |
Applies when vectorProvider.type = ONNX | ||||
function | string | Yes | maxLen=255 | |
Applies when vectorProvider.type = PLSQL | ||||
localEmbedding {
owner: value
modelName: value
function: value
}
genAIService
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
provider | enum | Yes | enum=[ociGenAI, openai, cohere, googleGemini, genericOpenaiApiCompatible] | |
Applies when vectorProvider.type = GENAI_PROVIDER | ||||
modelName | string | Yes | maxLen=255 | |
Applies when vectorProvider.type = GENAI_PROVIDER | ||||
genAIService {
provider: ociGenAI
modelName: value
}
endpointUrl
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
url | string | Yes | maxLen=4000 | |
Applies when vectorProvider.type = GENAI_PROVIDER | ||||
endpointUrl {
url: value
}
authentication
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
credentials | string | Yes | ||
Applies when vectorProvider.type = GENAI_PROVIDER | ||||
authentication { credentials:@component}
additionalData
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
httpHeaders | multiline string | No | maxLen=4000 | |
Applies when vectorProvider.type = GENAI_PROVIDER | ||||
attributes | multiline string | No | maxLen=4000 | |
Applies when vectorProvider.type = GENAI_PROVIDER and vectorProvider.provider = OCI_GENAI | ||||
additionalData {
httpHeaders: ```
Lorem ipsum dolor sit amet.
```
attributes: ```
Lorem ipsum dolor sit amet.
```
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
maxTokens | integer | No | maxLen=32767; min=0 | |
serverTimeout | integer | No | maxLen=32767; min=1; max=3600 | |
staticId | string | Yes | maxLen=255 |
advanced {
maxTokens: 5
serverTimeout: 42
staticId: value
}
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
vectorProvider "example" ( name: exampleName type: databaseOnnxModel localEmbedding { owner: value modelName: value function: value } genAIService { provider: ociGenAI modelName: value } endpointUrl { url: value } authentication { credentials:@component} additionalData { httpHeaders: ``` Lorem ipsum dolor sit amet. ``` attributes: ``` Lorem ipsum dolor sit amet. ``` } advanced { maxTokens: 5 serverTimeout: 42 staticId: value } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )
webCredential
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | maxLen=255 | |
type | enum | Yes | basicAuthentication | enum=[basicAuthentication, oauth2ClientCredentialsFlow, oci, httpHeader, urlQueryString, keyPair, certificatePrivateKeyPair, oauth2PasswordFlow, signedUserAssertion, userAssertionSigningCertificate] |
authentication
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
databaseCredentialName | string | No | maxLen=128 | |
Applies when webCredential.type in (BASIC, OAUTH2_CLIENT_CREDENTIALS, SIGNED_USER_ASSERTION, OAUTH2_PASSWORD) | ||||
instanceLevelDatabaseCredential | boolean | Yes | false | |
Applies when webCredential.databaseCredentialName is set | ||||
oauthScope | string | No | maxLen=255 | |
Applies when webCredential.type in (OAUTH2_CLIENT_CREDENTIALS, SIGNED_USER_ASSERTION, OAUTH2_PASSWORD) | ||||
clientIdOrUsername | string | No | maxLen=4000 | |
Applies when webCredential.type in (BASIC, OAUTH2_CLIENT_CREDENTIALS, SIGNED_USER_ASSERTION, OAUTH2_PASSWORD) and webCredential.databaseCredentialName NULL | ||||
ociUserId | string | No | maxLen=32767 | |
Applies when webCredential.type = OCI | ||||
ociTenancyId | string | No | maxLen=4000 | |
Applies when webCredential.type = OCI | ||||
ociPublicKeyFingerprint | string | No | maxLen=4000 | |
Applies when webCredential.type = OCI | ||||
certificate | multiline string | No | maxLen=4000 | |
Applies when webCredential.type in (CERTIFICATE_PAIR, SIGNED_USER_ASSERTION_CERTIFICATE) | ||||
publicKey | multiline string | No | maxLen=4000 | |
Applies when webCredential.type = KEY_PAIR | ||||
audienceList | string | No | maxLen=32767 | |
Applies when webCredential.type = SIGNED_USER_ASSERTION_CERTIFICATE | ||||
certificateAlias | string | No | maxLen=32767 | |
Applies when webCredential.type = SIGNED_USER_ASSERTION_CERTIFICATE | ||||
credentialName | string | No | maxLen=4000 | |
Applies when webCredential.type in (HTTP_HEADER, HTTP_QUERY_STRING) | ||||
authentication {
databaseCredentialName: value
instanceLevelDatabaseCredential: false
oauthScope: value
clientIdOrUsername: exampleName
ociUserId: value
ociTenancyId: value
ociPublicKeyFingerprint: value
certificate: ```
Lorem ipsum dolor sit amet.
```
publicKey: ```
Lorem ipsum dolor sit amet.
```
audienceList: value
certificateAlias: value
credentialName: value
}
advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
validForUrls | multiline string | No | maxLen=32767 | |
Applies when webCredential.type NOT_IN_LIST KEY_PAIR, SIGNED_USER_ASSERTION_CERTIFICATE and webCredential.databaseCredentialName NULL | ||||
signingCredential | string | Yes | ||
Applies when webCredential.type = SIGNED_USER_ASSERTION | ||||
usernameExpression | multiline string | No | language=plsql; maxLen=4000 | |
Applies when webCredential.type = SIGNED_USER_ASSERTION | ||||
namedScopes | multiline string | No | language=json; maxLen=32767 | |
Applies when webCredential.type in (OAUTH2_CLIENT_CREDENTIALS, SIGNED_USER_ASSERTION, OAUTH2_PASSWORD) | ||||
authenticationCredential | string | Yes | ||
Applies when webCredential.type = OAUTH2_PASSWORD | ||||
tokenAuthenticationMethod | enum | Yes | basicAuthentication | enum=[clientIdAndClientSecretInBody, basicAuthentication, basicAuthenticationAndClientIdInBody, clientIdInBody] |
Applies when webCredential.type in (OAUTH2_CLIENT_CREDENTIALS, OAUTH2_PASSWORD) | ||||
staticId | string | Yes | maxLen=255 | |
promptOnInstall | boolean | Yes | false | |
Applies when webCredential.databaseCredentialName NULL | ||||
advanced { validForUrls: ``` Lorem ipsum dolor sit amet. ``` signingCredential:@componentusernameExpression: ``` :CARD_LINK is not null ``` namedScopes: ``` { "type": "object", "properties": { "status": { "type": "string" } } } ``` authenticationCredential:@componenttokenAuthenticationMethod: clientIdAndClientSecretInBody staticId: value promptOnInstall: false }
comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | maxLen=4000 |
comments {
comments: ```
Lorem ipsum dolor sit amet.
```
}
APEXlang Example
webCredential "example" ( name: exampleName type: basicAuthentication authentication { databaseCredentialName: value instanceLevelDatabaseCredential: false oauthScope: value clientIdOrUsername: exampleName ociUserId: value ociTenancyId: value ociPublicKeyFingerprint: value certificate: ``` Lorem ipsum dolor sit amet. ``` publicKey: ``` Lorem ipsum dolor sit amet. ``` audienceList: value certificateAlias: value credentialName: value } advanced { validForUrls: ``` Lorem ipsum dolor sit amet. ``` signingCredential:@componentusernameExpression: ``` :CARD_LINK is not null ``` namedScopes: ``` { "type": "object", "properties": { "status": { "type": "string" } } } ``` authenticationCredential:@componenttokenAuthenticationMethod: clientIdAndClientSecretInBody staticId: value promptOnInstall: false } comments { comments: ``` Lorem ipsum dolor sit amet. ``` } )