Get value in server side

Former Member
Former Member
Hello How can i get value from client side and pass it in server side and save it in item type .
Parents
  • Hi ahmed, You can call a server-side method from a client-side method by using a line like aras.applyMethod('My_Method','<my_param>test</my_param>');. The first argument to applyMethod should be the name of the method you are calling, and the second argument is any optional arguments you are passing into the server method which you can retrieve from the server method with string myParam = this.getProperty("my_param");. Chris
    Christopher Gillis Aras Labs Software Engineer
Reply
  • Hi ahmed, You can call a server-side method from a client-side method by using a line like aras.applyMethod('My_Method','<my_param>test</my_param>');. The first argument to applyMethod should be the name of the method you are calling, and the second argument is any optional arguments you are passing into the server method which you can retrieve from the server method with string myParam = this.getProperty("my_param");. Chris
    Christopher Gillis Aras Labs Software Engineer
Children
No Data