Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where does SharePoint store elements.xml and schema.xml for custom content types and list?

As described in the title I'm just trying to find out where SharePoint 2010 stores the elements.xml and schema.xml files for custom content types and list definitions if anyone could help please.

What I'd like to do is rather design my custom content type and list in the SharePoint GUI in the browser and then go and extract the SharePoint generated files in order to use in a solution built in Visual Studio instead of coding everything manually from scratch.

Hope that makes sense! Thanks!

like image 449
ebooyens Avatar asked Apr 06 '13 06:04

ebooyens


Video Answer


2 Answers

You will not find them stored on your hard disk but rather in your Content_DB.

If you need to access them to grab the schema, you could use SharePoint Manager 2010, and navigate to your content type from it and copy the Schema Xml tab.

enter image description here

like image 184
Mhd. Yasseen Avatar answered Nov 15 '22 08:11

Mhd. Yasseen


Here "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\FEATURES"

For example, "Contact List Template" located at "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\FEATURES\ContactsList"

like image 28
Raymond Avatar answered Nov 15 '22 08:11

Raymond