Convert GUID in string

kalpak shambharkar asked on July 3, 2017 08:45

There is a scenario where I want to convert guid into string value while accessing it in transformation,I want to pass this guid into querystring, so that I can get the unique value,is there any way to get this done

Recent Answers


Roman Hutnyk answered on July 3, 2017 13:06

GUID could be easily converted to a string. On the server side you would need to call .ToString() method. I a transformation you don't need to take any extra action, just get it like any other field: {%DocumentGUID%}

1 votesVote for this answer Mark as a Correct answer

Prashant Verma answered on July 3, 2017 20:29

Hi Kalpak, What best practices say no need to convert GUID just pass it in query string example in transformation.

<a href="<%string.Format("http.example.com/view?yourGuid={0}",DocumentGUID)"#%> />
0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.