drchanix - Tuesday, April 21, 2009 6:05 PM:
Hi. I have created an html. How can I call an aras method? Like, when I click a button, it would call a certain method.
Thanks.
SamsAn - Thursday, April 23, 2009 12:27 PM:
Options:
1. Through internal client api. Just call aras.evalMethod(yourMethodName, inputDataXML). Note: evalMethod method is stored in Client/javascript/aras_object.js and no problem to read how it is implemented.
2. Something like: request the method from server, dinamycally create new function (like "var f = new Function(newMethodCode)") and then run it.
RonCK - Wednesday, December 16, 2009 4:23 PM:
SamsAn,
Something seems missing here. I have created my own html form that I can call from a part form with a button that runs a method calling window.open.
What do I need to do so that my new html page can call the innovator javascript commands (like document.getElementByID for instance) and how do I pass information back and forth between the Aras generated form and my new sub form. ?
thanks,
RonCK
SamsAn - Monday, December 21, 2009 10:42 AM:
Hi.
Your own html form to be opened by window.open can use javascript like below (see www.aras.comhttp:/.../1843.aspx):
alert(window.opener.document.thisItem.getProperty("item_number"));
SamsAn.