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...

Monday, 26 November 2018

SXA Compatibility and Installation: Tutorial 2

After some idea about SXA and their advantages in previous post, now we are going to setup SXA on our machine. But before installation it is good to know the compatibility with Sitecore and SXA versions.

Sitecore official shared SXA compatibility with Sitecore which i'm sharing here

To setup SXA with Sitecore, we also need compatible Sitecore Powershell Extension version. Below attaching images of compatibility with SXA and Sitecore Powershell Extension.



sxa-compatibility-with-sitecore


sxa-compatibility-with-powershell


So let's start installation after choosing matching SXA, and SPE compatible version with Sitecore.
  • First check License is SXA supportable or not?, if yes then go ahead with installation.
  • After this continue with setup local instance with demosxa, and insure everything working fine before going with SXA
  • Now it's time to install package of Sitecore Powershell Extension by downloading package from MarketPlace
  • After Sitecore Powershell package installation, now it's time to install package for compatible SXA version.
  • Sometime it take times to install SXA, so just chill and wait. And after successfully installation of SXA rebuild indexes.
Good Luck,
and in case of any issue. Let me know.


In coming post will start practicing using SXA...