On a current project, I am looking to provision SharePoint sites only using the API; not through the web UI. Do I still need a webtempxxx.xml file or will the onet and other resources suffice?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can create sites using stsadm or through the API using templates that have the visible property set to “false” in the webtemp*.xml files. The webtemp*.xml files control what templates are visible through the UI, either in Central Admin when creating a site, or when creating subsites.
I probably wouldn’t actually delete the webtemp*.xml files. That just sounds like a bad idea.