Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I would like to create a simple web template that is based on a blank site definition, with only the wiki home page feature enabled.

I would like to do this by "save as template" in SD, and importing the project in visual studio.

Question is: When, in the import project in vs, select to import only the webtemplate, it seems to be dependet on everything else, so that my generated sln contains a lot of fields, contenttypes and modules. When all I was hoping for was a nice clean webtemplate to start from. How can I create a simple vs sln that contains a minimal webtemplate?

Regards

larsi

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Unfortunately, with SharePoint Development, when we want something cleaner, we end up doing manual work :)

I would start with VS.NET solution and start with "Site Definition". once you are done, VS.NET would start with mimimal onet.xml. Then point ownwards, you can start copying the things you need from out of the box onet.xml files located on SharePoint root.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.