Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
How to obtain the HTML Document in an iframe tag and save it as an attachment.
We have an inline HTML custom field in the opportunity record where we have included iframe in it. The iframe refers to a web page outside of Netsuite.
We would like to retrieve the content on the page and save it as a PDF File and attach it to the opportunity record.
How to obtain the HTML Document in an iframe tag and save it as an attachment on the opportunity record.
Here is the script to load the page and trying to get the content, but not succeeded.
function beforeLoad(type,form)
{
var seInLineHTML =
'<html> '+
0