I need to convert this code to a snippet.......

Might anyone out there be able to help me convert this code to run as a JS snippet from a button in Skuid? I believe the only parameter to pass in is:

id={!Contact.Id}

To do it as a snippet, I must have to reverence a model correct? Any direction would be helpful as I apparently slept through JavaScript class.

THANKS!



Raymond,

Do you need a snippet for this?  It looks like this code just opens a pop up and displays the VisualForce page in an iFrame.  Couldn’t you make a button that opens a pop up and displays the VisualForce page in a Template component (i.e. iFrame)?

Thanks,

Bill

ha! that is much easier. It SHOULD work. The VisualForce is displaying as blank. I merged in a Contact Id, but it is rendering with only some basic formatting and no data… I will keep working on it. Thanks for the suggestion!

This worked, Bill. Thanks! Gold Star for you!