Hello everyone,
I wanted to ask on how I can load external websites in a suitelet.
The only thing I found so far on the web is Zigman's http://blog.prolecto.com/2012/04/25/...thin-netsuite/.
function drawManualPage(request, response) { var context = nlapiGetContext(); var url = context.getSetting('SCRIPT', 'custscript_suitelet_url'); var title = context.getSetting('SCRIPT', 'custscript_suitelet_title'); var content = '<iframe width=960px height=100% style="height:640px;" src=' + url + '></iframe>' var newForm = nlapiCreateForm('drawHTML'); var newField = newForm.addField ('content', 'inlinehtml', title); newForm.addField('extra', 'inlinehtml', '') newForm.setTitle (title); newField.setLayoutType('outsidebelow'); newField.setDefaultValue (content); response.writePage( newForm ) }While said code loads the content in an iframe, though, I would like to create a popup window loading just the external website, without NetSuite menubar or form title.Is there a way to simply load an external website in a suitelet?Do you always need to leverage on nlapiCreateForm or could you simply source the webpage like in a window.open("http://www.disney.com"); method?