cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SFSF Adapter using Odata query to fetch value dynamically

Former Member
0 Likes
1,091

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

rasjoshi
Active Contributor
0 Likes

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

Former Member
0 Likes

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.

rasjoshi
Active Contributor
0 Likes

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

Former Member
0 Likes

Hi there, is it possible to dynamically set the Entity? Thanks for your help