I have a lightning component button that updates the status of a case when clicked in Lightning. Is there a function that I can use to have the page refresh when clicked because as of now, I have to refresh the page manually to see the update?
[SalesForce] Lightning component button refresh
Related Topic
- [SalesForce] Refresh lightning component from Visualforce Page on button click
- [SalesForce] delay a refresh of a page using lightning component
- [SalesForce] Lightning component auto refresh to view the case record
- [SalesForce] Lightning Component hiding/disabling button
- [SalesForce] Refresh the page after the flow completes
- [SalesForce] Refresh the page after the lightning component
Best Answer
you can use
$A.get("e.force:refreshView").fire();
to refresh View.Here is documentation link: https://developer.salesforce.com/docs/component-library/bundle/force:refreshView/documentation