cancel
Showing results for 
Search instead for 
Did you mean: 

setIgnoredElement returning comma in json payload

aditinayak27
Explorer

Ex: Before applying module parameter

<Field1>12345</Field2><Field3><Field2>test</Field2><Field3>Test1</Field3>

After applying moduleparameter setIgnoredElements with ParameterValue Field2,Field3

{ "Field1": "12345",,}

Any suggestion how to remove ,,, from the json payload?

Accepted Solutions (0)

Answers (2)

Answers (2)

rsedatgoc
Participant

Hi Vibha.

I think this is a bug and I faced this issue before. But I have a solution for this problem. You can change fields placement which to be ignored. For example

Field2
Field3
Field1

Regards,

Sedat

Senthilprakash1
Participant
0 Kudos

Check Note: 3269616 - PO REST Adapter conversion from XML to JSON with setIgnoredElements leaves a comma in the output