walekarsa - Friday, January 8, 2010 4:24 AM:
Hi,
Are the API's for writing the Javascript method the same that appear on the right hand side navigation pane in the Aras studio for method coding.When I opened one of the client method for project I could see lot many methods like getResource, and so on that are not available. Also this method is called on object top.aras. Is this same as IOM.Item class.
With Regards,
tstickel - Friday, January 8, 2010 9:25 AM:
When you are in the Aras Studio, the right-hand frame shows the methods available from several IOM classes, such as the Innovator or Item classes. If you are writing Javascript code then the standard DOM objects are also accessible, such as the top object, but they will not appear in the Aras Studio list of IOM classes. If the Javascript is part of an HTML document that was invoked via Innovator, then the top.aras object will be instantiated. The top.aras object includes a wide variety of methods, but I am not aware of any place that they are documented. However, they are implemented in Javascript and you can look at their source code in C:Program FilesArasInnovatorInnovatorClientjavascriptaras_object.js (this path assumes you installed Innovator inthe default location).
CycleOp - Tuesday, August 24, 2010 2:54 AM:
Thanks Terry.
This is both great and saddening. I could never locate where API's such as getResource come from and this solves it.
On the other hand - Seems like this is something that must be documented as it is used frequently by Aras's scripts - just in case I need to tweak them.
Are you using these API's yourself ?
Sagi