Hopefully an easy question to answer.
Is it possible for a script (js preferably but fpl if necessary) to get at the full request document? I know I can get at individual fields / tables within the request doc.
I've looked through the documentation and cannot see anything.
Thanks
Integration Services
Moderators: Jon, Steve, Ian, Dave
-
- Moderator
- Posts: 421
- Joined: Fri Sep 07, 2007 3:44 pm
- Location: Sandy, UK
- Contact:
Hi Steve,
You can use Ebase JavaScript API to get/set the request and response documents from a XML related resource. Then you can use E4X to iterate over the document.
Additional documentation can be found here:
http://dev-docs.verj.io/ufs/doc/Javascript_XML.htm
I hope this helps.
You can use Ebase JavaScript API to get/set the request and response documents from a XML related resource. Then you can use E4X to iterate over the document.
Code: Select all
var w3c = resources.MY_INTEGRATION_SERVICE.getDocument('REQUEST');
var xml = new XML(w3c);
//do something with the document
for each (var customer in xml.customers) {
log(customer.name);
}
http://dev-docs.verj.io/ufs/doc/Javascript_XML.htm
I hope this helps.
0 x
Who is online
Users browsing this forum: No registered users and 14 guests