Tuesday, 5 September 2017

How to install Sitecore Experience accelerator SXA Learning Site "ShowCase"

What is ShowCase for Sitecore Experience Accelerator.?

What Habitat is for Helix; Showcase is for Sitecore Experience Accelerator.

The showcase was originally created by Cognifide for Zen Garden - a product that later evolved into Sitecore Experience Accelerator. And is currently passionately maintained by Adam Najmanowicz

Here are the Steps in order to do Set up for Showcase.

The Latest cut of Showcase can clone or downloaded from Sitecore Showcase

In my case, I have downloaded the same @ C:\projects\Showcase\Sitecore.XA.Showcase

Launch the Visual Studio with Administrative privileges and open the Solution.

Update the showcase folder in Sitecore.XA.Project.Showcase.User.Config depending upon the location you have cloned the Git Solution as shown below.

Rebuild the Solution and Publish the solution to Root of  Sitecore Instance.In my case it was

C:\inetpub\wwwroot\sitecoresxa\Website as shown below

If all goes fine then go to your Sitecore Instance and Login as Admin.

Now goto http://<yourSitecoreinstancename>/unicorn.aspx

Sync in order to install all the Sitecore item.

If all went fine you can see a tenant called showcase and a site called int as shown below

I found some cosmetic issue while accessing in preview mode.

When connnect Sitecore SXA community over Sitecore SXA Slack  Adam replied that the current Git version is not compatible with version 4 and have provided compatible package as given below


Voila all fine as shown below

Happy Sitecore Experience Acceleration.                        

Saturday, 2 September 2017

How to Use Login and Logout in Sitecore Experience Accelerator SXA

Open the Sitecore in experience Editor Mode and add login in the Main section while log out rendering in Header section as shown below.

Add the Associated items(Login and Logout)  under given item path as shown below.


These data source items are useful in order to customise the label, Error Message and Redirection Url post successful login as shown below.



Alright look like all set; let's see how its works in preview mode.  Voila, it works perfectly fine as shown below.


Isn't it too easy?                                                                                                                                  

Yes, It is very straight forward  However I am pretty much sure you must be having the similar question How to get this working with custom login provider or with federated authentications, etc.

Alright time to do deep dive to find the clue the crux is here.                                                                  

My deep love with latest crush Sitecore SXA continues  :)                                                                   

Happy Sitecore Experience Acceleration.