Tuesday 27 November 2018

SXA Tenant Creation: Tutorial 3

In the previous post we installed Sitecore with SXA on local, and now it's time to start working on it.
Since we are completely new with SXA, so will start with creating the Simple website using existing features and simple markup.
Here we are not going to write code or create new rendering or SXA component, we only reuse existing SXA features as much as possible.
Follow the below steps and in case of any issue share your problem in below comment section.
Let's start,

Step 1: We will first create tenant under Content,
But before creating we should know why Tenant?
Simply we can say here Tenant is a brand name for a Big Multi brand Company (ex: Tata, Loreal, Amazon, etc).
Suppose we are an International Cosmetic Company (ICC) with multiple Brands, so how will create a structure using SXA features

Sitecore
Content Tree
ICC (Tenant Folder)
Beauty (Tenant Folder)
A-Brand (Tenant)
B-Brand (Tenant)

Watches (Tenant Folder)
A-Brand (Tenant)
B-Brand (Tenant)

Sunglasses (Tenant Folder)
A-Brand (Tenant)
B-Brand (Tenant)

So here basically will start with Tenant Creation for a simple single website
right click on the Content Tree -> Insert -> Tenant -> Give the Name of Website/Brand (let's say demosite1)

by default all features will be selected at the time of tenant creation, as per need can add or remove from checkbox

tenant-feature


Note: Remember - try to avoid the space in name of Tenant Folder/Tenant and Sites.

Hope Tenant will be created, to cross-check all done well. We can select newly created Tenant Item and will see configuration section will certain settings.



Go to each settings by the following path, you will see the structure will be created.

And it's not less than magic, because behind creating the New Tenant many PowerShell scripts run as part of automation and that helps to improve delivery.


  1. In the next part will see how to work with Site creation under newly created Tenant...

No comments:

Post a Comment