Forum Post: AW: Accessing ABL Logic from Rollbase Hosted cloud

  • Thread starter Thread starter Mike Fechner
  • Start date Start date
Status
Not open for further replies.
M

Mike Fechner

Guest
You can access „Business Entities“ usiung the OpenEdge Adapter of Rollbase. If you want to execute custom methods or procedures you must export them through the REST Adapter and use something like this in a Rollbase trigger: var objId = {!id}; var custName = "{!name#text}"; var response = rbv_api.sendJSONRequest ("http://oe113demo.consultingwerkcloud.com:8980/MyMobileService/rest/MyMobileService/CustomerEventHandler/NewCustomer", '{"request": {"piId": '+objId+', "pcName": "'+custName+'"}}', "PUT", null, null, null, null); This calls an ABL method and passes the id and the name as input parameters.

Continue reading...
 
Status
Not open for further replies.
Back
Top