Admin can configure not to refresh subview after editing record

Admin can configure not to refresh subview or List page after editing record

Sales rep navigates to Opportunity Subview in Account. He scrolls down and would like to edit 30th and 31st opportunity. He edits the 30th Opty. This opens a drawer, he updates, and saves this opportunity. On save, Subview is refreshed and Rep is on top of the list and lost track of 31st Opty.

Admin can configure not to refresh subview when 30th Opportunity is Saved.

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.

In VB Studio:

To stop refresh of Opportunity subview. Write following code on opportunitiesOnAfterSmartActionExecutedEventListener

if (event.action.UserActionName === 'SDA-Edit-opportunities'){

        return {...previous, shouldRefresh:false};

We support three properties: refreshParent, refreshPanels, and shouldRefresh

shouldRefresh is an override flag for the other two properties. If shouldRefresh is false, the other two properties are ignored. refreshParent is needed if we need to refresh the parent list when an action is performed on its child (e.g., creating a note for an account in the account list). By default, the Account or Custom Object list would not refresh when we add a note to the Account or Custom Object via menu actions. If we return { refreshParent: true } in afterSmartActionExecutedListenerAction, then the Account or Custom Object list would refresh after adding a note. If we return { refreshParent: true, shouldRefresh: false } in afterSmartActionExecutedListenerAction, then the Account list will not refresh after adding a note.