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      … Continue reading Showing the suitelet data using Iframe

Showing the suitelet data under the custom subtab with the help of iframe

        var suiteletBaseUrl = ‘https://6714807-sb1.extforms.netsuite.com/app/site/hosting/scriptlet.nl?script=2053&deploy=1&compid=6714807_SB1&ns-at=AAEJ7tMQu3hnrPx0Og2xsEYcJ9XcVSmj-cH_2NC6Ae-c_uWxHWw’;                   // Construct the Suitelet URL with all parameters           var suiteletUrl = suiteletBaseUrl +             ‘&csvfileid=’ + csvfileid +             ‘&csvId=’ + csvId;           var iframeHtml = ‘<iframe src=”‘ + suiteletUrl + ‘” style=”width: 100%; height: 300px;border:none;”></iframe>’;           context.form.getField({             id: ‘custrecord13’           }).defaultValue = iframeHtml         }

Solve “Youtube refuse to connect” while using youtube link in iframe code

Sometimes, when we use the youtube link directly in iframe code, the video will not load and shows error like youtube refuse to connect. Solution: YouTube doesn’t allow 3rd parties to embed their site directly like that. The easiest way to get the correct link is to right-click on the YouTube video and select copy embed code.

Online Form: Contact Us

The online form is placed in the e-commerce website of the client as an iframe, when the user submits the form, a new lead will be create in NetSuite. The form support drag and drop functionality for files. Multiple files can be attached with the form.