function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sarvesh9Sarvesh9 

force:refreshView not working in Lightning Out.

Build a lightning component and added the component on record layout by adding the component in Lightning out app embedded in VF page.
The component is available in classic as well as lightning view.
Added $A.get('e.force:refreshView').fire(); but the page is not getting refreshed in classic nor in lightning.
Tried window.location.reload() as well, but the whole page is not getting refreshed. Any ideas?
SwethaSwetha (Salesforce Developers) 
Recommend reviewing https://salesforce.stackexchange.com/questions/255966/e-forcerefreshview-not-refreshing-component-view

If this information helps, please mark the answer as best. Thank you
Sarvesh9Sarvesh9
Tried this approach as well but seems that the event is not propogating to the VF page that is embedding the lightning component and hence page is not getting refreshed. The requirement is to refresh the page in classic as well as lightning view.