This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Can I reference another client method?

khin - Tuesday, September 24, 2013 11:35 PM:

While I developing client method , I want to get reference other client method. Can I use or reference? If someone had solutions give me a hint, please.



Amit Nawale - Friday, November 29, 2013 5:08 AM:

Hi khin,

you can call another client method and get result using following code,

var result = top.aras.evalMethod (string methodName, methodParamenters);

Eg.

 MethodName="testMethod";

 Parameters must be in xml tags format like below.

var params="<Itemtype>Part</ItemType>";// we can use multiple tags

call client method:

var result = top.aras.evalMethod ("testMethod", params);

 

Thanks,

Amit