Explore the Experience in SharePoint 2013

Thursday, January 22, 2015

How to find the Id (Guid) for a SharePoint List vert quickly in 2013/2010/2007

No comments
Hi Friends,

In this post , I would like to tell you very simple tip to find out the GUID for  SharePoint List .

Scenario :
I came across a situation where i want to use a GUID of SharePoint List in my coding .

How to get GUID for SharePoint List  ?

Step 1:

Select the list for which you want to know the GUID .

GOTO-->List Settings


 Step 2: 

       Under General Setting -->Select any of the available links.
      Am selecting  Audience targeting settings Link.

     --> Right Click -->Copy Shortcut -->Paste in  notepad



 
Note :
These techniques work for SharePoint 2010 Standard/Enterprise editions as well.This  tip does not work for SharePoint 2010 Foundation as these list settings options are not available 

so you’ll need to do  the following 

  • Navigate to the SharePoint list using the browser.
  • Select the Settings + List Settings menu command.
  • Copy the URL from the browser address bar into Notepad. It will look something like:
http://moss2013/ProjectX/_layouts/listedit.aspx?List=%7B26534EF9%2DAB3A%2D46E0%2DAE56%2DEFF168BE562F%7D
  • Delete everything before and including “List=”.
  • Change “%7B” to “{”
  • Change all “%2D” to “-“
  • Change “%7D” to “}”
You are now left with the Id:
{26534EF9-AB3A-46E0-AE56-EFF168BE562F}.


These are the ways to know the GUID for List.

Hope its helpful....:-)


No comments :

Post a Comment