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
Need to call SuiteTalk from SuiteScript
Suitescript doesn't support creating or renaming folders which is a requirement of my application. As a workaround (sick to my stomach...) I would like to try calling SuiteTalk methods from my User Event scripts. Theoretically this should work.
I have never needed to call SuiteTalk methods from javascript and could really use a jump start if anyone has any examples.
Here is what I was thinking:
[LIST=1]
[*]Use request-level credentials
[*]Invoke SuiteTalk methods with nlapiRequestURL
[*]load the result into an XML dom object
[*]pull out result[/LIST]Problem is... I really have no idea what the request XML should look like. I see in the docs they show the soap request, but my initial tests have resulted in HTML response 405
Steve Klett | Senior Developer
NetValue Technology