Discussions
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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