cancel
Showing results for 
Search instead for 
Did you mean: 

CPI iFlow oData query option special character handling

peter_21
Explorer
0 Kudos

Dear Forum,

I have an oData adapter with query option where I try to use $filter= ID eq '${property.ID}'

If the ID property contains some special character (+?%&#/) the oData call will fail. Is there any option to convert special characters in the query options inline or use an expression in the content modifier to do the work?

I can insert a new mapping before the content modifier or write a script to manage this issue but maybe there is an easier method to do that.


Thanks,

Peter

Accepted Solutions (1)

Accepted Solutions (1)

robsonchiarello
Explorer
0 Kudos

Hello Péter,

The common approach for these cases is to use a script to substitute these characters to another one.

E.g. xsltmapping.txt. (Rename the extension to .xsl)

Hope it helps!

Regards,

Robson Chiarello

peter_21
Explorer
0 Kudos

Hello Robson,

Thank you for your answer. I was hoping I would not get this answer but it is clear now that I can not make the work easier. 🙂

Regards,

Peter

0 Kudos

Hi Robson,

Could you please give a detailed step for this solution. I have a similar requirement.

Best Regards,

Vaishali

Answers (0)