SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have site where we have made some changes to the SiteTemplate (which consists of the ONET.xml file and 2 .aspx files). We also had to update the site theme (CSS changes mostly) for some of the changes. We have packaged up all the changes in a .wsp package and deployed it, so that for future sites everything should be in order.

I know SharePoint 2007 doesn't propogate changes to existing sites, so I wrote a script that iterates the sites and replace the two .aspx-files (default.aspx is one) - that should be fine.

The way I updated the theme was to run:

SPWeb web = // ... get web ...

Visually it seems to do the trick, but I want to make sure that there's no old files that haven't been updated, so I'm asking you: Did I forget anything?

share|improve this question

If your theme has been deployed in the right directory and is present in the THEMES.XML, you should be ok.

share|improve this answer

Your Answer


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.