Have you ever been looking for a feature (GU)ID in SharePoint? Well here is an easy way to find them.
I needed default SharePoint feature guids for the development of a custom Site Definition. Using a custom Site Definition you can automatically activate SharePoint features within the onet.xml file.
Here we go:
- Open the SharePoint site in IE8 (or IE7).
- Go to the Site Settings page.

- Click on the Manage Site features (or Site Collection features)

- Use the Developer Tools (shortcut F12)
- Click in the toolbar on Find –> Select Element by Click (shortcut CTRL+B, but this opens bookmarks manager on my machine)

- Select the Activate (or Deactivate) button next to the feature you need the GUID from.

- Developer Tools scrolls down to the HTML source for the specific button, the button tag is contained within a Div tag. This Div tag contains an ID attribute and thats the GUID for the feature!

- In this case the GUID is: 9c03e124-eef7-4dc6-b5eb-86ccd207cb87

This trick also works for SharePoint 2007!
1 comment
1 ping
Jeroen Derde says:
December 15, 2009 at 19:28 (UTC 2 )
Nice writeup.. you could also take a look at the 14Hive\templates\sitetemplates\\xml\onet.xml
Features und ihre GUIDs in SharePoint 2010 « SharePoint and relevant Technologies says:
October 13, 2010 at 15:55 (UTC 2 )
[...] Bei meiner Recherche bin ich auch noch auf diesen hilfreichen Blogbeitrag gestoßen: Looking for SharePoint 2010 Feature (GU)IDs [...]