Forum Discussion

tejaswini's avatar
tejaswini
Creator I
8 years ago

Methods

Hi I am new to Aras,I want to create simple methods such as for delete,purge,edit.How can I create methods in innovator,How to attach them.

4 Replies

  • Hello, You can create new Methods by logging in as "admin" and navigating to Administration > Methods in the Table of Contents. I would recommend reading through the Aras Innovator Programmer's Guide for an introduction to the Aras Innovator Data Model, AML, and creating your own methods. Chris ______________________________________ Christopher Gillis Aras Labs Software Engineer
  • hi all by using Aras Innovator programmable guide i write a server method using fetchrelationship-item class function. But while running by action it gives error.Please help me to sort out. here is my method code: //get the item type Item itm = this.newItem("inf_Change_Request","get"); itm.setProperty("id", "1"); itm = itm.apply(); //Go to server to fetch relationship itm.fetchRelationships("inf_CR_project"); return itm;
  • hi all by using Aras Innovator programmable guide i write a server method using fetchrelationship-item class function. But while running by action it gives error.Please help me to sort out. here is my method code: //get the item type Item itm = this.newItem(“inf_Change_Request”,”get”); itm.setProperty(“id”, “1”); itm = itm.apply(); //Go to server to fetch relationship itm.fetchRelationships(“inf_CR_project”); return itm; If i want result in AML then what code line should I write. Means it gives result in AML or any other result method.plz suggest