Get the list template ID in Visual Studio 2010


In this article we will be seeing how to get the template ID for a particular list in SharePoint site from visual studio 2010.

  • Open Visual studio 2010.
  • Go to View => Server Explorer.

    TempShare1.gif
     
  • Right click on SharePoint Connections => Add Connection.

    TempShare2.gif
     
  • Enter the URL of the site and click on Ok.

    TempShare3.gif
     
  • Go to Lists and Libraries => Document Libraries => Right click on the document library for which you want to get the template ID => Click on Properties.

    TempShare4.gif
     
  • In the properties window copy the GUID of the list.

    TempShare5.gif
     
  • Go to the following URL to get the list template ID.

    http://servername:22222/sites/test/_vti_bin/owssvr.dll?Cmd=ExportList&List= 7a830452-971f-4010-b2af-9074082526b0
     
  • You will be able to see the template ID of the list.

    TempShare6.gif
     
     

Up Next
    Ebook Download
    View all
    Learn
    View all