Discussions

Check out Oracle NetSuite upcoming events and conferences here
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!
Update your Profile with your Support type to get your Support Type badge.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Community Poll: What sort of content would you like to see more of?

How to resolve the error in creating Power BI IFrame Portlet SuiteScript?

edited Feb 6, 2023 2:52PM in Ask A Guru 12 comments

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

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

Community Whiz

Quarter 1 (Jan-Mar 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders