cancel
Showing results for 
Search instead for 
Did you mean: 
cvuppala
Nintex Newbie

Parse a JSON Response

Jump to solution

Hi,

I am returning following JSON Response from a webservice call which outputs all the attachments of a list item.

{"d":{"results":[{"__metadata":{"id":"https://sp.mysite.com/sites/spkb/_api/Web/Lists(guid'26f031dd-c6fe-4d92-a961-479df39c18af')/Items(1)... Report.xlsx')","uri":"https://sp.mysite.com/sites/spkb/_api/Web/Lists(guid'26f031dd-c6fe-4d92-a961-479df39c18af')/Items(1)...')","type":"SP.Attachment"},"FileName":"Audit Report.xlsx","ServerRelativeUrl":"/sites/spkb/Lists/webservicecallstest/Attachments/1/Audit Report.xlsx"}]}}

I stored this value in a Text variable. I would like to now parse this value so that I can build an HTML string where each attachment is displayed in a <div> with  file name. When clicked it will go to the attachment URL. i will then set the rich text field value with the HTML string.

How can I do this with Nintex workflow actions? Please help.

0 Kudos
Reply
1 Reply
Automation Master
Automation Master

Re: Parse a JSON Response

Jump to solution

there is no support for JSON parsing in NWF at the moment.

but I think this is duplicate to the following

 

Reply