Refresh entire page, not just Skuid model

  • 1
  • Question
  • Updated 4 weeks ago
  • Answered
Is there a way to have Skuid refresh an entire page instead of just a model? We have standard SFDC mixed in with Skuid but need the entire page (skuid model + SFDC fields) to refresh.
Photo of Jamie Crawford

Jamie Crawford

  • 538 Points 500 badge 2x thumb

Posted 1 month ago

  • 1
Photo of Sam Becker

Sam Becker

  • 1,742 Points 1k badge 2x thumb
Do you want it to refresh automatically or when you press a button? 

If you want it on a button, you can use the action framework to refresh the page by selecting the "Go to URL" action and set the URL to the url of the page you want to refresh.

However, refreshing the models should refresh the fields on the models. You should be able to refresh everything without having to refresh the page and wait all that extra load time. 

To do it automatically you'll need a in-line snippet with some javascript code

(Edited)
Photo of Emma

Emma

  • 614 Points 500 badge 2x thumb
You can use the javascript snippet ' document.location.reload() ' to reload whatever page you are on. Insert it as a Javascript inline snippet and just paste that in directly.

You can have it run on a click of the button, or even as a model action to run after a change, such as a model saved, for example.
(Edited)
Photo of Jamie Crawford

Jamie Crawford

  • 538 Points 500 badge 2x thumb
This did it! Thank you SO much for the help!