The easiest way to find GUID of a SharePoint list and a View.
Sharepoint 2010
IF You are using the sharepoint 2010 there is straight forward to way to get the List GUID, these are the steps.
1. Access the list via your browser.
2. Go to Settings --> List Settings and right-click on the "Information management policy settings" links.
3. Paste the URL and you can see the GUID surrounded with "{" and "}".
http://sqlsharep:41163/_layouts/abc.aspx?List={36bbd0e4-8580-466f-97a2-e176e76c6c3a}
MOSS 2007
If you are using the MOSS 2007 there is straight forward way to get the List GUID, these are the steps.
1. Access the list via your browser.
2. Go to Settings --> List Settings and right-click on the "Information management policy settings" links and choose Copy Shortcut.
3. Paste the URL and you can see the GUID surrounded with "{" and "}".
If you are using WSS 3.0 follow these steps, you can use this method to find the View GUID in MOSS 2007
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,
There you can find,
You are now left with the GUIDs, in the above example;
You can use SharePoint Tips Utility Pack if you need to get the GUID of List columns. There in menu bar, select "List Management --> Change Field Settings" and load your site.
Sharepoint 2010
IF You are using the sharepoint 2010 there is straight forward to way to get the List GUID, these are the steps.
1. Access the list via your browser.
2. Go to Settings --> List Settings and right-click on the "Information management policy settings" links.
3. Paste the URL and you can see the GUID surrounded with "{" and "}".
http://sqlsharep:41163/_layouts/abc.aspx?List={36bbd0e4-8580-466f-97a2-e176e76c6c3a}
MOSS 2007
If you are using the MOSS 2007 there is straight forward way to get the List GUID, these are the steps.
1. Access the list via your browser.
2. Go to Settings --> List Settings and right-click on the "Information management policy settings" links and choose Copy Shortcut.
3. Paste the URL and you can see the GUID surrounded with "{" and "}".
If you are using WSS 3.0 follow these steps, you can use this method to find the View GUID in MOSS 2007
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
View=%7B75E689B4%2D5773%2D43CB%2D8324%2D58E42E1EB885%7D
Replace "%7B" with "{"
Replace all "%2D" with "-"
Replace "%7D" 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}
View ID is {75E689B4-5773-43CB-8324-58E42E1EB885}
You can use SharePoint Tips Utility Pack if you need to get the GUID of List columns. There in menu bar, select "List Management --> Change Field Settings" and load your site.
No comments:
Post a Comment