Hi everyone,
I have a LEX page with a tabs component. On one of the tabs, I have a Skuid component showing a Skuid page with a list of related objects. Clicking an element in the list goes to the native LEX detail page for that object.
Edit the object and save, all well and good. Now click the browser Back button.
The Skuid component in the page has not refreshed the model so it’s showing the pre-edited data. I need to get Skuid to refresh the model, but I can’t find anything to hook. If I refresh the whole page, obviously, the updated data shows.
This is in Chrome or Firefox. Salesforce session settings are set to not enable browser caching. In Chrome I have dev tools open with cache disabled. I have a custom LEX component that we wrote on the page listening for an onRender event and console logging; it logs on page load but but not when returning via the Back button.
Basically it looks like Chrome just instantly throws up the previous rendering of the page which, honestly, is what I’d expect. But I have users expecting to see their updated data and I’m seeking a way to do it.
Any ideas?