Sitecore 8 Content Testing : Start A/B Multivariate Tests without Workflow

Greetings Readers,

In my previous blogpost , we saw how to add the ability to start A/B test in Experience Editor using workflow. Everything was good until a thought crossed my mind that even today many sitecore implementations and organisation that have Sitecore CMS do not use workflow. so my quest began to find out a solution which allows content editors to create test in experience editor on items that dot not have workflow implemented.

As shown in the below image   if you create a component test, here is what you see in the Experience Editor. As you can see that the notification area in the experience editor shows that the “The Item has a test in draft” . But there is not way for the content editor to start or create a test.

b2s1

 

In Sitecore 8.1 and above there is a hidden setting which can be turned on to allow the content authors to start test via experience editor. Please add the below settings either as  patch config file or you can edit the value in the config file called App_Config\Include\ContentTesting\Sitecore.ContentTesting.config and the setting name is “ContentTesting.AlwaysShowTestCandidateNotification

[code language=”xml”]
<?xml version="1.0"?>
<!– Override Setting to Enable Starting Test using Experience Editor –>
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
<sitecore>
<settings>
<setting name="ContentTesting.AlwaysShowTestCandidateNotification" value="true" />
</settings>
</sitecore>
</configuration>
[/code]

Now when we open the same item in the experience editor, we see the below results. This is awesome and now the content editors can create test right inside the experience editors without workflow.

b2s2

Should you have any questions, Please comment below.