I would like to programmatically add a custom site template (.stp file) to a MOSS team site collection as part of my build process. Can anyone point me towards the best way to do this?
Thanks, MagicAndi.
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.
A way of doing this with a feature would be to use the File element. STP files live in
/_catalogs/wtso this type of feature will upload the file.Update: More details in Create Feature to Upload Site Template File (.stp) in MOSS but for completeness here is the elements.xml: