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.
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!
nlapiRequestURL doesn't work in external suitelet???
I am calling this function (in a client script) from an external suitelet.
var a = {"User-Agent-x": "SuiteScript-Call"};
var url = ''
nlapiRequestURL(url, null, a, handleResponse);
No matter what I do with the function, it returns the exact same error:
Uncaught DOMException: Failed to execute 'send' on 'XMLHttpRequest': Failed to load
Same setup works just fine when using an internal Suitelet/client combo. What gives???
0