How to publish specific version of an item in Sitecore

Did your client ever asked you to make specific version of Sitecore item live in website?, considering we have several versions exists for specific item in Sitecore and client wants to publish specific version and not the latest one.

When we publish an item in Sitecore- it always publish the latest and greatest version, how about if we want to publish previous or some old version?

Sitecore-Version

We have a quick solution for this- we can make use of Sitecore Publishing Restrictions and make all the version unpublishable except the one which we want to publish in the website.

For example- If we have four versions available for specific item and out of four we want to publish version #2 in the website, in this case we can just go to Sitecore->Publish->Change and unpublish version no #3 and #4

Sitecore-Version-2

After this change when we publish this item- version #2 gets published, screen shot below for ref.

Sitecore-Version-1

Later if we want to publish version #3 or #4 we just need to make these versions publishable and we should be good to go.

Hope this helps.

Happy Learning 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s