Refresh Service Request List data
in Fusion RAMP
To refresh the Service Requests (SR) list, the entire page may currently need to be reloaded. To avoid a full page refresh, use the following approach:
Open "Landing" page and create a Section under "SR landing page extensible actions layout"
Add a button within the Section, in the "ojAction" event Listener of the button add the below code in the action chain to refresh the SR list page
await Actions.fireEvent(context, {
event: 'oracle_cx_serviceUI/page:refreshSRListEvent',
});
Other way to implement the Refresh logics:
- Invoke the "refreshSRListEvent" in the cxSVCNavigation/pageReNavigation events so it gets refresh on MSI tab changes
Tagged:
0