Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
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