Showing the suitelet data using Iframe

 Resolve the URL of the Suitelet script 

let suiteletUrl = url.resolveScript({

                    scriptId: ‘customscript_jj_sl_individualsales_rank’,

                    deploymentId: ‘customdeploy_jj_sl_individualsales_rank’

                });

 Set the HTML content with the Suitelet URL

                page.defaultValue = `<iframe src=”${suiteletUrl}” width=”100%” height=”600px” frameborder=”0″></iframe>`;

Leave a comment

Your email address will not be published. Required fields are marked *