One fine Day,
We were woking on something related to triggering a workflow through an event handler. We needed GUID of the List in that process. hhhmmmmmm.. How to get that?
My friend was trying something through object model or through JSOM or Poershell to get the GUID..
Any other ways???
Obviously Yes, I got one easy Detour...
Navigate to that SharePoint list in browser. Select the List Settings in Ribbon and copy the Url from the browser address into Notepad.
At the end of the URL, u will see something like: List=%7B69238662%2D566D%2D4995%2D9927%2D5C47F16B22DB%7D
In that
replace “%7B” with “{”
replace all “%2D” with “-“
replace “%7D” with “}”
Now you have the GUID of the list:
{69238662-566D-4995-9927-5C47F16B22DB}
Piece of cake...... Have a great day..
No comments:
Post a Comment