My Stuff
Comments
-
andy_13423 I was also struggling with this. I could not understand why the Parser.from string did not gave me a nice object. Anyways I used this, you change the "LoginResult" to what you are looking for. var xmlNodes = xml.XPath.select({node: xmlDoc, xpath: "//*[local-name()='LoginResult']"}); to get the nodes, then: var…
-
I have the same issue. var recipient = { [INDENT]type : 'employee',[/INDENT] [INDENT]id : '54345'[/INDENT] }; "message":"Wrong parameter type: options.recipient is expected as object. "
-
I got this one to work, it is a customer not a sales order require(['N/record'], function(record){ var custRecord = record.load({ type : record.Type.CUSTOMER, id: 1417121, isDynamic : false }); custRecord.insertLine({sublistId: 'salesteam', line:0}); custRecord.setSublistValue({ sublistId:'salesteam', fieldId: 'salesrole',…
-
This is what I use to solve the issue to get the JWT: https://github.com/kjur/jsrsasign/blob/master/npm/lib/jsrsasign.js
-
I have been trying to do a JWT in a server side script. I have used "N/encode" and "N/crypto", it fails when I try "Hmac.update(options)". I want to do SLQ updates to a Google Fusion table.