Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
errors with nlapiResolveURL?
I figured as long as I was writing a note to support I'd try picking the forum's brains as well. Basically I'm trying to call nlapiRequestURL() to hit a CGI script on the server. Because there's some kind of character limit on how long that string can be we're opting to try and pass the data as headers. We know that this is at least possible as we've done it once before in another script. So my question becomes, is there some reason why nlapiResolveURL would work in a library script but NOT in a User Event onSubmit function?
I do manage to get a line of debug (the first nlapiLogExecution call below) from directly before I attempt to fetch the URL, but I get an unexpected error on the line when I do.