Rerender an iframe from an action

  • 1
  • Question
  • Updated 1 year ago
  • Answered
Hey everyone, 

I have an iframe at the end of a wizard that is a VF page and a set of VF components within it.

Currently the page is more "static" than I would like, because we allow our users to go back through the wizard and make changes, but when they navigate back to the last page the VF page does not rerender.

Has anyone tried to initiate a rerender from a skuid action?


Thanks, 

Richard
Photo of Richard Amantia II

Richard Amantia II

  • 754 Points 500 badge 2x thumb

Posted 1 year ago

  • 1
Photo of Skuidward Tentacles (Raymond)

Skuidward Tentacles (Raymond), Champion

  • 17,224 Points 10k badge 2x thumb
You can create a UI only field that is a pick list with "show" and "hide" as picklist options. Then you can use actions to change the value. You can then set rendering on your template component that has the iframe to only display when the Ui only field is "show". The iframe reloads from scratch each time the template component is rendered.
Photo of Richard Amantia II

Richard Amantia II

  • 754 Points 500 badge 2x thumb
This is great! Worked like a charm! I appreciate the quick response!

Richard