Visualforce page inside a skuid page reloads everytime i make a change on any field in field editor.

edited February 4, 2020 in Questions
I have couple visualforce pages inside a skuid page in an Iframe using template tag. When ever i make a change to any field on the page, 2 visualforce pages reloads completely.

How can i prevent the pages from reloading.

Comments

  • Mark DeSimoneMark DeSimone 🛠️ 
    edited February 4, 2020
    Hi Praveen. Is your template component attached to a model? If so, the template will be updated (and probably re-rendered) any time the attached model is updated (like when it's saved). If that's what's happening, you can try to set up the template component so it is not attached to any models. If you do that though, any merge variables you're using in the template like {{Id}} or {{Name}} will have to be replaced with global versions like {{$Model.Account.data.0.Id}}. 
  • edited July 11, 2018
    Thank you. But am running into another issue, now i want to refresh the visualforce page based on some some other updates.
  • Mark DeSimoneMark DeSimone 🛠️ 
    edited July 13, 2018
    You might be able to un-render and re-render the template that's holding this Visualforce page (using the toggle component action). That may force the iframe to refresh its URL. However, embedding a Visualforce page inside a Skuid page using an iframe takes a lot of the page's behavior beyond Skuid's control, and that leaves us with limited options. 
  • edited July 13, 2018
    That worked. Thank you.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!