Contents
At present VisualForce navigation methods for sforce.one SOjects are not working for Chatter or Related lists. ** NOTE: Calls to sforce.one.navigateToURL may result in an “Unsupported Page” error if the URL references standard pages for objects or Chatter pages.
I have a button that calls an event e.force:navigateToURL . Initially it gave an error : So I added aura dependency markup in the lightning component below. So the error is gone, but still the redirect doesnot happen. Am I missing anything? Any help is appreciated.. Thanks in advance. Just try to do it with directly from controller.
Why is the case detail not refreshed in Lightning?
I have a visualforce page in lightning which opens up on button click from the case detail page. The visualforce page will close the case upon save. I have an oncomplete method in visualforce page which navigates to the case detail page once database update is done. The case detail is not getting refreshed.
Why does Lightning navigation not refresh the state of?
And there is no proper way to inform Container component about changes in url. IMHO when we use standard lightning navigation like that, lightning framework should always refresh components and run doInit method, if its there, I count this as a bug. If I am wrong guys, just give me an example how to handle this situation :).
How to refresh the browser page in a lightning component?
As an alternative (but not recommended), you can try the old Lightning way with refresh event: https://developer.salesforce.com/docs/atlas.en-us.212.0.lightning.meta/lightning/ref_force_refreshView.htm e.g. I encountered the next issue in one of the places: and there is no documentation entries for this event on API v43 and v44.
Can you use Lightning components in a Visualforce page?
Sometimes there is a requirement to use lightning component in visualforce page. Lightning Components for Visualforce is based on Lightning Out, a powerful and flexible feature that lets you embed Lightning components into almost any web page. When used with Visualforce, some of the details become simpler.
How to update a record in Lightning aura?
After we update a record and navigate to a detail page, it still shows the old data. Overridden edit button of Account with a Lightning component. Also used a Visualforce page with lightning out to host the component as an override, but still have same issue. It looks like there is some caching issue after redirect.