Turning off Content Approval for an entire site collection - Once

Anthony Kasses
  • Turning off Content Approval for an entire site collection - Once Anthony Kasses

    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.

  • 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.

Tags
publishing-site site-collection content-approval
Related questions and answers
  • We had a situation where auditing was enabled for our site collection and generating monstrous amounts of data in our database. So we finally were able to trim all of that data out and then went in and disabled all of the options under "Configure Audit Settings" on the site collection. However, the AuditData table continues to grow at an extremely quick pace. Is there another setting somewhere that I missed to turn auditing off? Dana

  • I have a WSS 3.0 SharePoint site that is automatically displaying email addresses as mailto link. Ideally I want to prevent this from happening, this is a customised site and we will be forcing users to use the discussion area to send emails. Is there anyway to turn this facility off? It appears to be site specific i.e. I can enter an email address in any text field and it displays as converted to a mailto link.

  • I am using SharePoint Server 2007 x64 and Windows Server 2008 x64. I have setup a site with the publishing portal template. I have granted anonymous access to the entire site. When updating/checking-in a page, an approval notification email is sent in order to complete the page publishing approval process. Is there any setting to skip sending outgoing email for this approval process? Sending the email is an excessive step for my department.

  • have 11 pages of document links, each with its own subheadings. So far I have it set where each document has a custom field called "Page" with a check box list of all the document pages on the intranet site. On each individual page, I have setup a Content Query Web Part that displays the documents that have the corresponding Page value set (i.e. if a document Page value has been checked for "HR... to the documents list and note on which pages they should appear on without having to manually update the pages themselves. The problem that I am having is that I cannot seem to find a good way to sort

  • , the engineering team needs to be able to see the Team View, which has all the submitted information plus fields they will fill in. I have these two views, and the single Customer view shows up by itself in the webpage because I turned off the toolbar that has view selection. But, that means that the engineering team can't see the Team View when they go to the form library. My idea is to have a "Submitted_flag" variable and set this to FALSE. Then when the form is submitted, it will turn to TRUE. I'll have a button to switch to the Team View appear if the "Submitted_flag" variable is TRUE

  • the entire first leg of the approval process before anyone caught this. I plan to implement this question's answer in the future to prevent this from happening again, but now I need to fix this current situation. Because this is a real field test, I cannot simply upload the new PDF file and run it through the process, I need to maintain the field data from the original file, in all of its versions...So I recently had a nice hitch in the SharePoint app I made for my client. We have a Document Library which is supposed to contain PDFs, converted from drawing files made in other programs. The test

  • We have a heavy used site collection with a 30GB quota limit on the content DB - WSS_WebApp_Content1, I have verified the 'dbo.AuditData' table and found that it has 1.4c records and is 35 GB in size. Why SharePoint is not considering 'dbo.AuditData' table while calculating the site-collection size? and what are all the other tables treated like this ?

  • I have a standard website (one Web Application and one Site Collection) with some custom pages and webparts. The issue I'm having is that when I try to switch users, using the "Sign In As a Different User" and entering new credentials (even for another Site Collection admin account), IE tries the account three times, and then it presents a 401 Access Denied screen. After that, if I erase all the stuff of access denied page from the browser's url, I'm logged as the new account I just had entered and was not accepted. After researching for a while on google, I found a KB ( http

  • I have an InfoPath form that starts a workflow (on item created). The business requirement is that after submission form must be read-only (no changes to the initial request can be made). However workflow must change certain properties of the form (e.g. approval time, approval phase etc.). By default SharePoint workflows run under initiator account, however I am wondering would you recommend creating an event handler that is going to kick start a workflow under system account. Workflow would than be able to revoke all the contribute privileges but still be able to update the form during

Data information