Extend the Actions in Redwood Service Center Home Page
With this release, you can add custom buttons and reorganize the action menu in the Service Center Home Page menu..This extension option allows your administrator to add common actions or navigations that are frequently performed by users but that are independent of the context of a specific service request.
Simplify the user interface to eliminate seldom used buttons and give often accessed pages top priority.
Steps to Enable
The extension is broken out in two steps:
Part 1: Create the UI element.
- Go to Oracle Visual Builder Studio and Navigate to "service/ec/sr/service-home";
- then, navigate to the page property panel and click to the sub-tab "Constants".
- Choose "secondaryActionsConst" which will lead to the specifics of the variable.
- Click the + icon to create a fresh set of buttons; when building a new set of buttons it replaces the standard set of buttons and does not add to the standard. Should you wish to have one of the standards one, we must design as part of your new set of buttons.
- Click on > icon on the array to supply specifics.
- Id this is the button's id, which we will use subsequently to listen to the click event
- Label of the button is this.
- Display: Pass on and off depending on your criteria to show or hide the button only conditionally.
Part 2: Manage the button click event.
- Continuing from the last steps, navigate to the Event Listeners tab
- Create a fireSecondaryActions Event Listener and navigate to the action chain created
- The id defined previous will be passed as part of the payload.
- Add a switch if you have multiple buttons
- The button ID in event.actionId allows to check what the user has clicked.
Tips And Considerations
If you want to perform a navigation as a new Service Console In-App Tab, follow the steps provided here.
Key Resources
Oracle Video Hub Channel for Extensibility
Access Requirements
Oracle Visual Builder Studio