on 2018 Mar 15 5:09 AM
We have lookup scenario with OData Entities. ( Syncronous Scenario – Request OData Query and in response data ).
So Here is our requirement :-
We need to build OData Query dynamically/ run time in message mapping and then we pass it to SFSF Receiver adapter – OData Protocol.
Please can someone help as to how to pass the values dynamically using the Odata query. Some same Query will help.
Request clarification before answering.
Hi Peter,
Never came across these kind of requirement.
However, what best I can think of is, create UDF and set Dynamic Attribute.
In attribute you can provide entity dynamically and then read it in you channel.
BR,
Rashmi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Appreciate your answer. How can I read the Dynamic Attribute in the channel? What should I put in the OData Resource Path input field?
Furtermore I understand how can I set the filter dynamically but can I set the 'select' parameter somehow? Basically I want to set the whole Resource path dynamically. Everything which is after the hostname in the URL.
Thank you.
Hi Priyanka,
You will find mapping inside connectivity add on under ODATA namespace.... in that mapping there is field called FILTER... you can pass dynamic values to this field.
Use query in ODATA receiver adapter like this -
Candidate?$select=zip,name&$filter=filter
Hope this helps...
BR,
Rashmi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 8 | |
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.