volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Set "Ready to publish" programatically

Is there a way to set "ready to publish" programatically? I tried setting isPendingPublish true but that didnt work.

Have anyone done this before? 

Thanks!

#146502
Mar 16, 2016 16:40
Vote:

Use IContentRepository with save method and use SaveAction.CheckIn. 

That should do it.

http://world.episerver.com/documentation/Class-library/?documentId=cms/9/5864AC72

#146509
Mar 16, 2016 18:57

That worked! Thanks!

#146519
Mar 17, 2016 9:02
error 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.