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!
NSAW iframe Portlet
Hello all,
I wonder if anybody out there has successfully embedded an NSAW/OAC visualization into an iframe on a custom portlet in NetSuite. I have been trying to do this, but the portlet always displays an error that the site refuses to connect. I have followed the OAC instructions for setting a safe domain to allow embedding, but nothing works. Below is my portlet script, which works fine with other web pages.
/**
- @NApiVersion 2.x
- @NScriptType Portlet
- @NModuleScope SameAccount
*/
define(['N/runtime', 'N/log'], function(runtime, log) {/**- Main entry point for the portlet.
- @param {Object} params - Object containing the portlet and column info.
0