Unpublish a project in Episerver

Vote:
 

We were working upon a translation project that requires us to create a project so that this can create a translation package that can be sent to a translation company.

During this process a user changed and published the project by accident.

Is there simple way to unpublish the project or revert all the items to their previous version?

Thanks 

Paul

#202659
Mar 28, 2019 16:41
Vote:
 

Hi Paul you can't from the UI as far as I'm aware.  

However you could reactivate it from code using the Project Publisher class- 

ProjectPublisher projectPublisher = ServiceLocator.Current.GetInstance<ProjectPublisher>();

projectPublisher.ReactivateAsync(project);
#202730
Mar 29, 2019 13:02
Vote:
 

It seems like their is no option to UnPublish a project but it is most asked feature and Episerver will introduce it in future release. Please see the Asa Sundin comment on below article.

https://world.episerver.com/articles/Items/the-projects-feature/

#202755
Mar 30, 2019 10:34
Vote:
 

Hi Ravindra,

I have created a feature request here.

It would be great if other developers could show their support for this feature.

Maybe using the code Janaka has posted.

Thanks

Paul

#202782
Apr 01, 2019 11:47
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.