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'd like to turn off Content Approval, for all libraries, (Page, Document, Images) once, at a Site Collection level and, hopefully, it will be automatically set across the entire site collection. Having it off helps during the development of a Publishing Site. Once all the content/web parts are in then it would be good to turn it back on before going to UAT/Prod. Having approval workflows start in dev is just a waste of time.

I'm working in SP2010, but MOSS 2007 is still relevant as I have sites in both platforms.

share|improve this question
up vote 1 down vote accepted

I'm not sure that this is a great idea, but I expect that you could do it either with the object model or with the SharePoint Web Services. For the latter, take a look at my jQuery Library for SharePoint Web Services (SPServies).

Either way, you'd need to loop through all of the sites and lists, changing the property settings.

share|improve this answer
Thanks for the response Marc. Yes I could loop through the site collection modifying the .EnableModeration to false. What I ended up doing is just deactivating the Approval Workdflow whilst I was entering content. Brutal but it works. – Anthony Kasses Mar 18 '10 at 5:31

Check this out ...It might help you

share|improve this answer
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. – Hugh Wood Dec 13 '12 at 8:56

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.