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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
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