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!
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.
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"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With