4

I have added a lightning component in a subtab(Actions) of Account detail in Lightning experience. There is one other subtab(Account Plan) which is showing a VF page.

Now I want to refresh the VF page from the lightning component without reloading the URL.

enter image description here

0

Try using lightning events.

If you trigger an application event on your Actions lightning component, then you need to listen to that event on your other component for refreshing it.

Now - because your other component is a VF page and not a real component, you are in a problem.

So if you can migrate that VF page into a component, you can implement an event listener over there.

0

In order to achieve this issue try to convert your VF to Lightning component. Then in your Lightning controller add this code. Refresh view:

$A.get('e.force:refreshView').fire();

Hope this will help you.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.