How to use a response value in custom data conversion method in schema mapper of a rest service(auto lookup)
1.Need to concatenate CustID value from response with custom string, but unable to access the CustID with error as shown in 3rd image.
2.The input param of the method - String value can't be used inside the method.How to access it, what's the value of it.
3.How to access all or some the response values inside this custom method to return a desired value like "CustID"+"-"+"CustNum"+"-"+"Name"+"-"+"Address1"



-
正式评论
Hi Tharun,
It looks the syntax is not correct. Could you please try as per screen captured attached below. "value" is the selected node response value, you can use the value and format the value as per requirement.

Thanks,
AgilePoint Support
评论操作 -
Below json is the rest service response value. I am trying to append and return some of the values to show in a dropdown as name/value pair using the custom data conversion method, ex: return CustID+address1+address2+address3 .I am getting error name CustID doesn't exist in current context.How to achieve the desired result?
{"Company": "1589","CustID": "test","CustNum": 1,"Name": "test customer","Address1": "","Address2": "","Address3": "","City": "","State": "","Zip": ""}

请先登录再写评论。
评论
4 条评论