Decoding a dictionary value in Nintex Workflow for Office 365 for URL's

  • 15 February 2022
  • 0 replies
  • 43 views

  • Anonymous
  • 0 replies

Topic

When trying to build a dictionary with URL's or multiple choice values, the dictionary will encode those values with extra special characters ("""). when stored.

 

For example: Action configuration: 

17965i5893358300BC0F54.png
 

The output will be:

{"URL":"https://tenantname.sharepoint.com/Lists/name/DispForm.aspx?ID=id"}

Instructions

Use a "Get an Item from a Dictionary" action to retrieve the required index and the URL will be decoded and saved it in a new variable.

 

For example: Action Configuration

17966i5BC53D9584FA4168.png

 

Output:

https://tenantname.sharepoint.com/Lists/name/DispForm.aspx?ID=id

Additional Information

Due to the structure of a Dictionary variable some special characters need to be encoded when stored so that they do not interfere with the structure.

If the dictionary variable is used as is, it will contain the encoding.  When retrieving an entry from the dictionary this encoding is removed.


0 replies

Be the first to reply!

Reply