Tuesday, 11 March 2014

How to find SharePoint List GUIDs

How to find SharePoint List GUIDs
1. Access the list via your browser and select the View you want to find the GUID.
2. Select "Modify this View" and copy the URL.
3 You will get a URL like this,
http://mysite:5050/testsara/_layouts/ViewEdit.aspx?List=%7B5C65CB1A%2D2E1B%2D488A%2DAC07%2DB115CD0FC647%7D&View=%7B75E689B4%2D5773%2D43CB%2D8324%2D58E42E1EB885%7D&Source=http%253A%252F%252Fmysite%253A5050%252Ftestsara%252FLists%252FTasks%252FAllItems%252Easpx
There you can find,
List=%7B5C65CB1A%2D2E1B%2D488A%2DAC07%2DB115CD0FC647%7D
View=%7B75E689B4%2D5773%2D43CB%2D8324%2D58E42E1EB885%7D
Replace "%7B" with "{"
Replace all "%2D" with "-"
Replace "%7D" with "}"
You are now left with the GUIDs, in the above example;
List ID is {5C65CB1A-2E1B-488A-AC07-B115CD0FC647}
View ID is {75E689B4-5773-43CB-8324-58E42E1EB885}