plugin
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | data type=string; maxLen=255The name of your plug-in. | |
apexlangName | string | Yes | data type=string; maxLen=40Enter the camelCase name for this plug-in as it appears in an APEXlang file. Caution: Changing it may prevent existing APEXlang files from being imported. | |
staticId | string | Yes | data type=string; maxLen=45; textCase=UPPER | |
type | enum | Yes | templateComponent | data type=string; lov=STATICValid values: templateComponent item region dynamicAction genAITool process authenticationScheme authorizationScheme restDataSource interactiveReportColumn |
theme | reference | No | data type=reference; lov=COMPONENT; references=themeApplies when type = templateComponent |
templateComponent
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
availableAs | array of enums | No | data type=string; lov=STATICValid values: partial report regionOnlyApplies when type = templateComponent | |
partial | multiline string | No | data type=multiline string; maxLen=32767Applies when type = templateComponent | |
reportBody | multiline string | No | data type=multiline string; maxLen=32767Applies when type = templateComponent and availableAs = report | |
reportGroup | multiline string | No | data type=multiline string; maxLen=32767Applies when type = templateComponent and availableAs = report | |
reportRow | multiline string | No | data type=multiline string; maxLen=32767Applies when type = templateComponent and availableAs = report | |
reportContainer | multiline string | No | data type=multiline string; maxLen=32767Applies when type = templateComponent and availableAs = report | |
translateTemplates | boolean | Yes | false | data type=booleanApplies when type = templateComponent |
defaultEscapeMode | enum | Yes | html | data type=string; lov=STATICValid values: html htmlAttribute stripHtml rawApplies when type = templateComponent |
numberOfLazyLoadingSkeletons | integer | No | data type=integer; maxLen=32767Applies when type = templateComponent and availableAs = report |
templateComponent {
availableAs: [
partial
report
]
partial: ```html
value
```
reportBody: ```html
value
```
reportGroup: ```html
value
```
reportRow: ```html
value
```
reportContainer: ```html
value
```
translateTemplates: false
defaultEscapeMode: html
numberOfLazyLoadingSkeletons: 42
}defaultSlots
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
regions | string | No | data type=string; lov=SLOTSApplies when type = templateComponent | |
items | string | No | data type=string; lov=SLOTSApplies when type = templateComponent | |
buttons | string | No | data type=string; lov=SLOTSApplies when type = templateComponent |
defaultSlots {
regions: value
items: value
buttons: value
}aiTool
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
executionLocation | enum | Yes | serverSide | data type=string; lov=STATICValid values: clientSide serverSideApplies when type = genAITool |
supportedExecutionPoints | array of enums | Yes | onDemand | data type=string; lov=STATICValid values: augmentSystemPrompt onDemandApplies when type = genAITool |
aiTool {
executionLocation: clientSide
supportedExecutionPoints: [
augmentSystemPrompt
onDemand
]
}onDemand
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
description | multiline string | No | data type=multiline string; maxLen=32767Applies when type = genAITool and supportedExecutionPoints = onDemand | |
parameters | enum | Yes | noParameters | data type=string; lov=STATICValid values: noParameters definedByAiTool definedByPlugInApplies when type = genAITool and supportedExecutionPoints = onDemand |
parametersJsonSchema | multiline string | Yes | data type=multiline string; maxLen=32767Applies when type = genAITool and supportedExecutionPoints = onDemand and parameters = definedByPlugIn |
onDemand {
description: ```
value
```
parameters: noParameters
parametersJsonSchema: ```json
value
```
}component
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
supports | array of enums | Yes | APEX_APPLICATION_PAGE_ITEMS:APEX_APPL_PAGE_IG_COLUMNS | data type=string; lov=STATICValid values: pageItems interactiveGridColumns facets facetGroupItems filters filterGroupItemsApplies when type = item |
supports | array of enums | Yes | APEX_APPLICATION_PAGE_PROC:APEX_APPL_AUTOMATION_ACTIONS:APEX_APPL_TASKDEF_ACTIONS:APEX_APPL_WORKFLOW_ACTIVITIES | data type=string; lov=STATICValid values: pageProcesses automationActions taskDefinitionActions workflowActivitiesApplies when type = process |
supportsSessionStateDataTypes | array of enums | Yes | varchar2 | data type=string; lov=STATICValid values: varchar2 clob booleanApplies when type = item |
standardAttributes | array of enums | No | data type=string; lov=STATICValid values: 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 optionalMultipleValuesApplies when type = item | |
standardAttributes | array of enums | No | data type=string; lov=STATICValid values: rowSelection regionTemplateAttrApplies when type = templateComponent | |
standardAttributes | array of enums | No | data type=string; lov=STATICValid values: 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 requiresAiChatWidgetApplies when type = region | |
standardAttributes | array of enums | No | data type=string; lov=STATICValid values: forItem forButton forRegion forJquerySelector forJavaScriptExpression forTriggeringElement forEventSource affectedElementRequired defaultFireOnInitialization stopExecutionOnErrorAttr waitForResultAttr initJavascriptCodeAttr aiEnabled configurableAiEnabled configurableAiSystemPrompt requiresAiChatWidgetApplies when type = dynamicAction | |
standardAttributes | array of enums | No | data type=string; lov=STATICValid values: sessionNotValidAttr hasLoginPageApplies when type = authenticationScheme | |
standardAttributes | array of enums | No | data type=string; lov=STATICValid values: defaultEndpoint doNotTestEndpointApplies when type = restDataSource | |
standardAttributes | array of enums | No | data type=string; lov=STATICValid values: region regionRequired waitForCompletion form aiEnabled configurableAiEnabled configurableAiSystemPromptApplies when type = process |
component {
supports: [
pageItems
interactiveGridColumns
]
supportsSessionStateDataTypes: [
varchar2
clob
]
standardAttributes: [
visibleWidget
standardFormElement
]
}source
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
plsqlCode | multiline string | No | data type=multiline string; maxLen=32767Applies when type in (region)type in (dynamicAction)type in (process)type in (authorizationScheme)type in (authenticationScheme)type in (item)type in (restDataSource)type in (genAITool) | |
sampleData | enum | No | data type=string; lov=STATICValid values: employees tasks products projectsApplies when type in (region)type in (templateComponent) |
source {
plsqlCode: ```plsql
value
```
sampleData: employees
}callbacks
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
apiInterface | enum | Yes | procedure | data type=string; lov=STATICValid values: procedure procedureWithLegacyAttributes function |
renderProcedureName | string | No | data type=string; maxLen=255Applies when type in (dynamicAction)type in (item)type in (region)type = genAITool and executionLocation = clientSide | |
metaDataProcedureName | string | No | data type=string; maxLen=255Applies when type = item | |
sessionSentryProcedureName | string | No | data type=string; maxLen=255Applies when type = authenticationScheme | |
invalidSessionProcedureName | string | No | data type=string; maxLen=255Applies when type = authenticationScheme | |
authenticationProcedureName | string | No | data type=string; maxLen=255Applies when type = authenticationScheme | |
postLogoutProcedureName | string | No | data type=string; maxLen=255Applies when type = authenticationScheme | |
ajaxProcedureName | string | No | data type=string; maxLen=255Applies when type in (authenticationScheme)type in (dynamicAction)type in (region)type in (item) | |
validationProcedureName | string | No | data type=string; maxLen=255Applies when type = item | |
executionFunctionProcedureName | string | No | data type=string; maxLen=255Applies when type in (authorizationScheme)type in (process)type = genAITool and executionLocation = serverSide | |
completionFunctionProcedureName | string | No | data type=string; maxLen=255Applies when type = process and standardAttributes = waitForCompletion | |
terminationFunctionProcedureName | string | No | data type=string; maxLen=255Applies when type = process and standardAttributes = waitForCompletion | |
restSourceCapabilitiesProcedure | string | No | data type=string; maxLen=255Applies when type = restDataSource | |
restSourceFetchProcedure | string | No | data type=string; maxLen=255Applies when type = restDataSource | |
restSourceDmlProcedure | string | No | data type=string; maxLen=255Applies when type = restDataSource | |
restSourceExecuteProcedure | string | No | data type=string; maxLen=255Applies when type = restDataSource | |
aiRequestHandlerProcedure | string | No | data type=string; maxLen=255Applies when type = region and standardAttributes in (configurableAiEnabled)type = region and standardAttributes in (aiEnabled)type = item and standardAttributes in (configurableAiEnabled)type = item and standardAttributes in (aiEnabled)type = dynamicAction and standardAttributes in (configurableAiEnabled)type = dynamicAction and standardAttributes in (aiEnabled) | |
aiResponseHandlerProcedure | string | No | data type=string; maxLen=255Applies when type = region and standardAttributes in (configurableAiEnabled)type = region and standardAttributes in (aiEnabled)type = item and standardAttributes in (configurableAiEnabled)type = item and standardAttributes in (aiEnabled)type = dynamicAction and standardAttributes in (configurableAiEnabled)type = dynamicAction and standardAttributes in (aiEnabled) | |
restSourceDiscoverProcedure | string | No | data type=string; maxLen=255Applies when type = restDataSource |
callbacks {
apiInterface: procedure
renderProcedureName: value
metaDataProcedureName: value
sessionSentryProcedureName: value
invalidSessionProcedureName: value
authenticationProcedureName: value
postLogoutProcedureName: value
ajaxProcedureName: value
validationProcedureName: value
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 | data type=string; maxLen=255Determines the virtual path the Web server uses to point to the files of the plug-in. Do not specify anything to reference files which are stored with your plug-in definition in the database. For performance reasons you can also store your plug-in files on your Web Server. Use | |
category | enum | No | data type=string; lov=STATICValid values: component effect execute initialize miscellaneous navigation notification style builtInComponents appComponents themeComponents aiApplies when type = dynamicAction | |
quickPick | boolean | Yes | false | data type=booleanApplies when type = templateComponent |
substituteAttributeValues | boolean | Yes | false | data type=booleanApplies when apiInterface in (function)apiInterface in (procedureWithLegacyAttributes) |
deprecated | boolean | Yes | false | data type=boolean |
legacy | boolean | Yes | false | data type=boolean |
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 | data type=string; maxLen=4000Applies when type in (region)type in (dynamicAction)type in (item)type in (templateComponent)type = genAITool and executionLocation = clientSideEnter Cascading Style Sheet file URLs to be loaded with this plug-in. Each URL has to be written on a new line. If you provide a minified version of your file you can use the substitution string File URLs you enter here will be emitted within the Note: You do not need to include opening or closing |
css {
fileUrls: [
value
value
]
}javaScript
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
fileUrls | array of strings | No | data type=string; maxLen=4000Applies when type in (region)type in (dynamicAction)type in (item)type in (templateComponent)type = genAITool and executionLocation = clientSideEnter JavaScript file URLs for code to be loaded with this plug-in. Each URL has to be written on a new line. If you provide a minified version of your file you can use the substitution string JavaScript file URLs you enter here will be emitted within the Note: You do not need to include opening or closing |
javaScript {
fileUrls: [
value
value
]
}information
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
version | string | No | data type=string; maxLen=30 | |
aboutUrl | string | No | data type=string; maxLen=255 | |
helpText | multiline string | No | data type=multiline string; maxLen=4000 |
information {
version: value
aboutUrl: value
helpText: ```
value
```
}subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | reference | No | data type=reference; lov=COMPONENT; references=plugin | |
subscribeComponentSettings | boolean | Yes | true | data type=booleanApplies when master is set |
subscription {
master: @component
subscribeComponentSettings: false
}comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | data type=multiline string; maxLen=4000 |
comments {
comments: ```
value
```
}APEXlang Example
plugin sample (
name: value
apexlangName: value
staticId: value
type: templateComponent
theme: @component
templateComponent {
availableAs: [
partial
report
]
partial: ```html
value
```
reportBody: ```html
value
```
reportGroup: ```html
value
```
reportRow: ```html
value
```
reportContainer: ```html
value
```
translateTemplates: false
defaultEscapeMode: html
numberOfLazyLoadingSkeletons: 42
}
defaultSlots {
regions: value
items: value
buttons: value
}
aiTool {
executionLocation: clientSide
supportedExecutionPoints: [
augmentSystemPrompt
onDemand
]
}
onDemand {
description: ```
value
```
parameters: noParameters
parametersJsonSchema: ```json
value
```
}
component {
supports: [
pageItems
interactiveGridColumns
]
supportsSessionStateDataTypes: [
varchar2
clob
]
standardAttributes: [
visibleWidget
standardFormElement
]
}
source {
plsqlCode: ```plsql
value
```
sampleData: employees
}
callbacks {
apiInterface: procedure
renderProcedureName: value
metaDataProcedureName: value
sessionSentryProcedureName: value
invalidSessionProcedureName: value
authenticationProcedureName: value
postLogoutProcedureName: value
ajaxProcedureName: value
validationProcedureName: value
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: [
value
value
]
}
javaScript {
fileUrls: [
value
value
]
}
information {
version: value
aboutUrl: value
helpText: ```
value
```
}
subscription {
master: @component
subscribeComponentSettings: false
}
comments {
comments: ```
value
```
}
)