Developer forum

Forum » CMS - Standard features » Mass Publish pages?

Mass Publish pages?

Charles Johnson
Reply

I'm working on a bunch of new pages, which I'd like to release all at once.  Is it possible to mass-update many pages to be launched at once?  I looked at the database, and the only values I see changing when you cycle between Unpublished, Hide in Menu, and Published are the Page.PageHidden and Page.PageActive columns, but manually updating these to the values that are set with the different buttons doesn't have the effect that I'd like.

Thanks!
Charles

 


Replies

 
Olga Shedko Dynamicweb Employee
Olga Shedko
Reply
This post has been marked as an answer

Hello Charles,

You can execute queries like:

update Page set PageHidden = 0, PageActive = 1 where PageId=xxx

And after that restart the application pool (iisreset on your server).

Thank you for the interesting case.

Best regards,

Olga | QA

 

Votes for this answer: 1
 
D W
Reply

Thanks Olga!  I didn't even think about resetting the appool, but that makes complete sense.  That is what I was missing.

 

Thanks!
Charles

 

You must be logged in to post in the forum