Discussions
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
nlapiRequestURL is not defined pls help
I am new to the suite scripts, i am trying to call suite script function (nlapiRequestURL) from the HTML interface, the html is also in the netsuite file cabinet, but it gives the javascript error saying "nlapiRequestURL is not defined" please help on this i attached my code sample also.
<body>
<table width="450" height="348" cellspacing="0" cellpadding="0">
<tr><td width="450" valign="top">
<script>
function pageInit()
{
alert("1")
// Display information
var a = new Array();
a['Content_Length'] = '"'50'"';
//a['User-Agent-x'] = 'SuiteScript-Call';
var response = nlapiRequestURL( 'https://webservices.netsuite.com/wsdl/v1_2_0/netsuite.wsdl