I have an html web resource on a form that contains an iframe. The reason the iframe is in an html web resource is because I need to capture the record guid after the record is created in order to include said guid in the iframe URL. What I need to do is only show the iframe after the user creates the record. I figured I'd do this by checking the form type of the record, and if the form type is "2" (or really anything except "1" which is type create) than I'd show the iframe. I have the code to do this between script tags on my html web resource. I call my function onload of the <body>. Initially, I figured this would fire even after a save because if I include javascript web resource calls on load in the form properties, they execute after a save. Apparently, however, the body of the html web resource does not load again after a save?
I'm wondering if I'm missing something obvious here, or if there is a way to accomplish what I am trying to accomplish. I'd be happy to clarify my question(s) if it's confusing. Thanks for any help.
*This post is locked for comments

Report
All responses (
Answers (