Extending the Notes Drawers
You can use Visual Builder (VB) Studio to extend the data that displays in the Create Note and Note Detail drawers. You can add, remove, or reorder fields that are exposed by the Oracle Utilities Customer Information System APIs and are mapped in the corresponding Utility Data Model template.
You can extend note drawers by:
- Adding new fields
- Reordering existing fields
- Removing existing fields
- Mapping fields to different templates for custom layouts
Be aware that you can add new fields or change layouts within individual sections, but you can't add new sections, remove existing sections, reorder existing sections, or rename existing sections. The drawer structure is not extensible.
This example shows how to configure the Create Note drawer using extensibility.
This example assumes that the reader understands how to use VB Studio. For additional information, see:
-
Using the Customer Dashboard in the Using CX for Utilities Agent Service Guide
-
The Visual Builder Studio library in the Oracle Help Center
-
Customizing Variables and Constants in the Extending Oracle Cloud Applications with Visual Builder Studio Guide
Example: Configuring the Create Note Drawer
Use these steps to modify the Create Note drawer:
-
Log into CX for Utilities Agent Service as an administrator.
-
Click the menu at the top right of the page and select Edit Page in Visual Builder Studio. Note that if Ask Oracle is enabled, hover over the Oracle button at the bottom right and select the Edit icon.
-
Select your workspace and click Select. Note that you can also create a new workspace if needed.
-
In the Layouts panel, expand Customer Experience For Utilities, then select the Note layout (for Account or Contact).
- Open the Rule Sets sub-tab, where you can see two rule sets, one for Create Note and the other to Get Note Detail in the drawer.
- To Edit the Create Account Note form:
- Navigate to the Account Note layout.
- Create a custom rule for Create Note.
- Select the dynamic form used to create an account note.
- Click the Duplicate icon next to the Default rule to create a new custom rule.
- In your new rule, add fields as needed. For example, add Visibility Code to let users choose between Internal and External notes.
- Remove or reorder fields as needed.
- To edit the Note Detail drawer, you have two options that are described in the next 2 steps. Complete one of these.
- Option 1:
- Go to the activity fragment and select getAccountNote.
- Click on Fields, then add or remove fields from the dynamic form.
- Option 2:
- Navigate to the Account Note layout.
- Select the getAccountNote dynamic form.
- Click the Duplicate icon next to the Default rule to create a custom rule.
- Add new display-only fields as needed.
- To edit the Create Contact Note form:
- Navigate to Contact Note Layout.
- Create a custom rule for Create Note.
- Select the dynamic form used for creating a Contact Note.
- Click the Duplicate icon next to the Default rule to create a new custom rule.
- In your new rule, add, remove, or reorder fields as needed.
- To edit the Note Detail drawer for a contact note, you have two options that are described in the next 2 steps. Complete one of these.
- Option 1:
- Go to the activity fragment and select getContactNote.
- Click on Fields, then add or remove fields from the dynamic form.
- Option 2:
- Navigate to the Contact Note layout.
- Select the getContactNote dynamic form.
- Click the Duplicate icon next to the Default rule to create a custom rule.
- Add new display-only fields as needed.
- After applying your changes, save the updated layout.
- Click the Preview icon and review the form to verify that the new fields and customizations are visible and working as intended.
Parent topic: Use Cases for Customer Experience for Utilities