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.
How to resolve the error in creating Power BI IFrame Portlet SuiteScript?
Hi , I'm trying to create a custom portlet that integrate an IFrame from Power BI
/**
* @NApiVersion 2.x
* @NScriptType Portlet
* @NModuleScope SameAccount
*/
define([],
function() {
function renderView(params) {
params.portlet.title = 'PowerBI Portlet View Example';
var content = '<iframe width="840" height="640" frameborder="0" src="https://app.powerbi.com/reportEmbed?reportId= XXXXXX"></iframe>';
params.portlet.html = content;
}
return {
render: renderView
};
});
But I'm getting the error
{"type":"error.SuiteScriptModuleLoaderError","name":"MODULE_DOES_NOT_EXIST","message":"Module does not exist: /SuiteScripts/[SSF]CustomScripts/[ssf]PB_Cave.js","stack":[]}
I have the same error if i create a suitecript
what i'm missing?
thanks for support
Filippo
Tagged:
0