0

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?

1
  • Are you performing the update in Apex, with the Lightning Data Service, by redirecting through a Visualforce page...?
    – David Reed
    Jan 18, 2019 at 18:59

1 Answer 1

1

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .