You need to sign in to do that
Don't have an account?
Derek M Hughes
Return to previous page from action override Lighting Component
I have used a Lighting Component to override the edit action. This is working well. However the Edit button appears in multiple locations - on a record detail page, on list view and on a related records list.
When a user saves, how can I return to the original location from where the edit action was invoked?
PS: Using window.history.back() does navigate to the correct page, but it is not refreshed making it look to the user that the edit that he/she has just done was not successful.