Remote Tables Definition: Is there a possibility to pass value dynamically

pm5481
Tera Contributor

I want to pass dynamic filter value for REST message used in Remote Definition. Is this achievable?  if yes, let me know the possible ways to pass the filter value.

 

var r = new sn_ws.RESTMessageV2('x_1224_abcd', 'GetID');
        r.setStringParameterNoEscape('endPoint', 'https:/abcwelcom.ages/vp12s');
        r.setStringParameterNoEscape('filter', 'startswith"glass")');
7 REPLIES 7

pm5481
Tera Contributor

Thank you all for your reply, let me reframe my question.
I want to pass dynamic value to remote definition, so that I can use the remote table in reference field on catalog item. 

pm5481_0-1747638128825.png

 

pm5481
Tera Contributor

Thank you all for your responses, let me reframe my question.

I want to use the Remote table in catalog item reference variable, to use the response returned from API call. I am getting the response from API call by static values as of now. but wanted to pass values dynamically.

 

scenario: When a user enters string value 'UserID' on the form, then I want to pass 'UserID' value to Remote definition as dynamic filter. Is this possible or not

 

pm5481_0-1747640602497.png

 

sadafkhan
Tera Contributor

@pm5481  - Have you resolved this? as i am also facing same.