Support for displaying custom content for a child object
Support for displaying custom content for a child object enables administrators to create Custom Smart Actions on child objects that launch a drawer containing tailored, context-specific content. The custom content can leverage child object variables (such as the child object's ID and other available attributes) to dynamically display relevant information.
Administrators can provide custom content for a child object, similar to the support previously available for a top-level object.
Steps to enable and configure
Leverage the Visual Builder Studio to expose your applications. To learn more about extending your application using Visual Builder, visit Oracle Help Center > your apps service area of interest > Books > Configuration and Extension.
- Create a Smart Action of type Display Custom Content for the child object.
- In Visual Builder Studio (VB Studio), create a template for the Drawer Container on the Container page, and add your custom content to the template.
- In the onBeforeInvokeSmartActionCallbackChain for the Smart Action, set the drawerTemplateId as shown in the following example:
if (action?.UserActionName === 'CUST-Details-accounts.OrganizationDEO_LocationCollection_c') {
return done({
continue: true,
actionConfig: {
drawerProperties: {
drawerTemplateId: 'detailsTemplate',
drawerSize: 'md'
}
}
});
}