Sitecore Deployment Mode: Sitecore Module

Ever had Content Editors editing while you were deploying even though you told them  not to do any editing? This can happen in most projects and of course it will be your responsibility to try to recover whatever they did during deployment.

One way to prevent this is by using tool such as this Sitecore module which helps you force Sitecore users to stay back during deployments.

This module simply allows you to block Sitecore users from publishing during deployments or even block them from logging in to Sitecore.

How to use

Once the module is installed, you will be able to find a new settings item under ‘/sitecore/System/Settings/Deployment Mode Settings’ which will allow you to do the following:

  1. Enable/Disable the entire Deployment Mode
  2. Enable/Disable the locking out of Sitecore non-admin users
    1. You can exclude certain roles from this lock out
  3. Enable/Disable the publishing of items
  4. Enable/Disable the ability for Admins to publish even if above publishing was disabled

deployementModeSettingsItem

When non-admin users try to log in while being locked out, they will see the following:

loggingError

When users try to publish while publish is disabled, they will see the following:

publishError

As simple as that! Once you’re done with the deployment you can just uncheck ‘Deployment Mode On’ and everything goes back to normal!

This module has been tested on Sitecore 8.2 and Sitecore 9.0

Advertisements

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