Sunday, July 29, 2018

What is Site in Sitecore Experience Accelerator (SXA)

What is Site in Sitecore Experience Accelerator (SXA) The Site item in Sitecore Experience Accelerator (SXA) will represent the actual site which would be accessible to outer world. The Site item present inside the Tenant item and all sites present inside the Tenant will share the same set of templates and other items, for example Page template:
        Sitecore Experience Accelerator (SXA) shared Templates for all Sites inside Tenant

 When you right click on the Tenant, you will find option to create site/site folder: 
Insert option for Tenant 
Site Folder: If you want to clubbed more than one site under one then you can use this option.
Site: Once you click on the Site, it will show you the dialog for creating the site:

                                         Sitecore Experience Accelerator Create Site Wizard
 General Tab:
   Site name: enter the site name which would be visible in content tree, e.g. corporate
   Host name: enter the host name which would be present in the IIS binding and Host file of your system.
   Leave rest of the options as default one.
   Features Tab:

  It will showcase the features/components/renderings grouping, which you wanted to show to Content Author at the time of adding content via experience editor and this concept is based on the Sitecore Helix principal. It means, group similar types of features under the one item/group.
 Theme Tab:

By default Wireframe would be selected and you can select Basic2 theme also but it would be common for all the websites, so as a best practice to create Site specific theme so that you can control the look and feel of the site without disturbing other sites, in simple words Separation of Concerns.
For creating new theme:
Select “Create new theme” check box.
Enter the theme name in the New theme name textbox, e.g. hrsitetheme

SXA Tips: Please do not use hyphen "-"  character while adding the Theme name.

Grid Tab:
Out of the box (OOTB) Sitecore Experience Accelerator (SXA) providing the functionality to create Responsive web site on the basis of Bootstrap/Foundation/Grid 960 themes and all these themes help us to create Responsive web site. SXA supports a 12-column responsive grid. With this grid system you can design your page with one column/two column layouts as per your need without creating any physical layouts, which generally we will be creating in the normal sitecore development.
After providing the required details, it will create the site under your Tenant folder. Sometimes SXA site creation process will hang or take so much time, in those case you can open the site in new window and verify that Site item created under the Tenant or not and verify following items, before your development:
  • You will be able to open Page/Partial Design/Page Design in Experience Editor.
  • You will be able to select the placeholder and it will show you the “+ Add here” option:

  •  Also add one or more component and publish the site and verify the changes.
Useful articles:



Sitecore® Technology MVP 2019

Featured Post

Sitecore SXA Web Accessibility Testing: Fix for Sitecore SXA Gallery Video component

Sitecore Experience Accelerator (SXA) Web Accessibility Testing: Fix for Sitecore SXA Gallery Video component The Web Accessibilit...

Total Pageviews

State Counter


About Me

My photo
Based in Bangalore, INDIA, Amit is a Sitecore MVP and MCC. He has an MCA from the U.P.T.U., INDIA and holds certifications including Sitecore and SharePoint 2007/2010. He is an contributor to Sitecore/MSDN communities and Amit have experience in Sitecore, ASP.Net with C#, MVC, SharePoint, Classic ASP, VB,Macros,HTML,JavaScript,JSON,BootStrap and AngularJS.


Follow me on Twitter