Obtaining a list id in SharePoint 2010 or 2013

  • 18 October 2014
  • 1 reply
  • 176 views

Userlevel 7
Badge +10

In SharePoint 2007 it was fairly easy to obtain the id for a list (the end of a URL when browsing to a list). In SharePoint 2010/2013 this trick no longer works. Below are several methods to quickly obtain the list id:

 

Method A

 

  1. Navigate to the list and click Workflow Settings dropdown.

  2. Select Manage Workflows With Nintex Workflow.

  3. In the browser address bar at the end of the URL you will find the list id (Guid Format).

    Example: http://contoso.com/_layouts/15/NintexWorkflow/WorkflowGallery.aspx?ListId={00000000-0000-0000-0000-000000000000}

Method B

 

  1. Navigate to the list and click List Settings.

  2. In the browser address bar at the end of the URL you will find the list id (Guid Format with URL encoding).

    Example: http://contoso.com/_layouts/15/listedit.aspx?List=%7B00000000%2D0000%2D0000%2D0000%2D000000000000%7D

  3. Replace the following characters as follows:

    1. %7B to {

    2. %2D to –

    3. %7D to }

Method C

 

  1. Open Microsoft SharePoint Management Shell on a SharePoint server in the farm.

  2. Run this cmdlet replacing the URL with the URL of the site containing the list: $(Get-SPWeb http://contoso.com).lists | FT Title, ID

  3. Locate your list and corresponding ID in the results.

 


1 reply

Badge +4

Thanks eric halsey for your reply. 

Reply