Saturday, May 18, 2019

Check the users Logged into the sitecore backend

Hi,

Today I'm going to discuss about "how to check the concurrent users logged into the sitecore backend ? ".

For this question is to be answered, we need one more question to be answered

How to check the maximum number of concurrent users for a license ? .

It depends on the license, You can see the details in license details section.




Ok then come with the discussion, to check the the concurrent user follow the below steps,

try opening this url and verify total number of concurrent sessions

<your sitecore url>/sitecore/client/Applications/LicenseOptions/KickUser

you will see the list of users logged in.




Thanks :)

Friday, May 17, 2019

Step by Step Sitecore 9.1 Commerce Installation

Hi,

I'm going to discuss about the steps for installing sitecore 9.1 commerce in a simple way.



Prerequisites:

  1. Windows 10
  2. Sitecore XP 9.1
  3. Sitecore Experience Accearator 1.8.1
  4. Sitecore Powershell Extensions 4.7.2 or 5.0
  5. Installation Packages


Here we go,



Step 1:  I assume that you have already installed the Sitecore XP software (9.1) on your
system, as described in the Sitecore Experience Platform Installation Guide (let's say sitecore91.sc).

Step 2: (Preparing the instance for commerce installation)

2a . Rebuild the Link databases :
  • Navigate to Sitecore Launchpad, click Control Panel, and in the Database section, click Rebuild Link Databases
  • Select the master and core databases and then click Rebuild.





2b. Rebuild the Indexes :
  • On the Sitecore Launchpad, click Control Panel, and in the Indexing section, click indexing manager.
  • In the Indexing Manager dialog box, click Select all, and then click Rebuild





Step 3: Preparing the Installation folder


a. Create a folder "D:\SC91_Com"

b. Copy the Microsoft.Web.XmlTransform.dll from the path "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\NuGet "
or Download from NuGet. But if you downloaded from NuGet, you need to follow the below steps
  1. You need to unblock that file as Windows thinks it is suspicious (as you have downloaded it from internet in "zip" file). 
  2. Right click on the file and on General tab check "Unblock" on the bottom of the screen. Click on "OK" or "Apply" afterwards.
for more info 
But Copy from path is preferable.

c. Download Sitecore Experience Accelerator 1.8.1 for Sitecore 9.1.1 and put it into D:\SC91_Com folder.

d. Download Sitecore Powershell Extensions 4.7.2 then put it into D:\SC91_Com folder.

e. Download and unzip Packages for On Premise 2019.04-3.0.163  then put it into D:\SC91_Com folder. 

f. For better practice, unzip D:\SC91_Com\SIF.Sitecore.Commerce.2.0.19 and then rename D:\SC91_Com\SIF.Sitecore.Commerce.2.0.19 to D:\SC91_Com\SIF.

g. unzip the D:\SC91_Com\Sitecore.BizFX.2.0.3.zip

h. Unzip the D:\SC91_Com\Sitecore.Commerce.Engine.SDK.3.0.40.zip file
     Copy  D:\SC91_Com\Sitecore.Commerce.Engine.SDK.3.0.40\Sitecore.Commerce.Engine.DB file into D:\SC91_Com folder

Now D:\SC91_Com folder having the all packages (ref. below screenshot)



i. Download sc910_com_install.ps1 and put it into D:\SC91_Com\SIF

Step 4:  Preparing the Installation File


Edit the Installation file.

Parms:

  • $Prefix - Name of your Sitecore site.
  • $SiteHostHeaderName - Host header for your Sitecore site.
  • $ScInstallDirectory - Location of the default sitecore site installs


(Note : The all parm values must match with your XP sitename,Xconnect site name, Identity server site name)
ex. refer the below screenshot for your reference(try to add same like image if your XP site name is sitecore91.sc ,sitecore91.xconnect,sitecore91.identityserver)



  • Path - The path to the Master_SingleServer.json file provided in the "SIF.Sitecore.Commerce package". for ex. 'D:\SC91_Com\SIF\Configuration\Commerce\Master_SingleServer.json
  • BaseConfigurationFolder - The path to the SIF Sitecore Commerce folder for ex.  'D:\SC91_Com\SIF\Configuration'
  • InstallDir   - Location of the Sitecore site
  • XConnectInstallDir - Location of the xConnect site.
  • SitecoreDbServer - Location of the database server hosting the Sitecore databases (same value used for $SqlServer during Sitecore XP installation).



Try to provide static values, refer the below image.



Rename the installation script to "Sitecore-Commerce-Install". Now your installation script is ready.

Step 5: Run the Installation process

  • launch PowerShell as an administrator
  • change directory to 'D:\SC91_Com\SIF'
  • execute .\Sitecore-Commerce-Install





I assure, if you follow the above steps, you will get a smooth installation.

After this , login into sitecore and navigate to /sitecore/content/Sitecore/Storefront/Home and preview the example eCommerce page.



After this follow the post installation steps mentioned in the sitecore document
http://commercesdn.sitecore.net/SitecoreXC_9.1/Sitecore_XC-9.1_Installation_Guide_for_On-Prem.pdf
                        
Thanks :)

Wednesday, May 15, 2019

Triggered Goals not displayed in sitecore analytics tab

 Hi friends, I'm going to share my issue experience during work with goals.

Error that I faced.

           Triggered Goals not displayed in sitecore analytics tab

Scenario:

I have created one goal and I set rule as

trigger when the page name as my item name.

Process that I followed:

1. I have published that goal item.
2. I have added the goal to the page item.
3. I have run the page in published version of the site.
4. Then I noticed sitecore analytics tab did not show the created goals and triggered goals.

Solution

The session needs to end either expicitly by closing the browser or via code.

As per the documentation "xDB data is not committed until after the user's session ends"



Personalization using Goals and Engagement value

Hi,

I'm going to share about the "how to create a goals and personalization using Goals and Engagement value"

Follow the steps,

1. Navigate to path /sitecore/system/Marketing Control Panel/Goals or Marketing Control Panel from Launchpad.


      

2. Click Goals, Right Click and Create new Goal and set Engagement points that is going to be assigned to the user when the goal is triggered.



  









3. Under Review Tab, Click Deploy, to deploy the goal(Because initially it is not in the final Workflow state so it's not published).



4. Click Publish Tab, and publish your goal.

5. Go to the page and add the goal that needs to be triggered either using analyze tab or Tracking field on the item.




6. Go to the page that you want to set personalization. Under presentation tab , click details , click edit, under controls tab, click the component that you want to personalize and click personalize.



7. The default rule is shown. Hide the default. Now we are going to add personalization rules for this component. Click Add + icon on the top right corner.


8. Specify the rule name and click edit rule and search for goals
Select the rule where the Specific goal was triggered . click the specific and choose the goal that needs to triggered for this component.
And also choose another rule where the the number of current contact's engagement value points compares to the number.
Click the number and set 30
Click compares and set greater than.
And click the data source for the component when the component shown up. 



Now we all set for personalization. click OK and save.


Run your pages and see the differences.

Experience Profile not showing anonymous contacts

I'm going to share my issue experience during work with experience profile.

Error that I faced.

"Experience Profile not showing anonymous contacts"

Scenario: 

I  have created a contact with facet in XDB using XConnect programmatically.

but created contact is not showing in experience profile and shows no records to display.

Solution

Then I refereed the sitecore documentation and got the workaround.

If you are working on Sitecore 9.x then I would suggest to follow below steps to show anonymous data to Experience profile.

Update IndexAnonymousContactData setting to true by default this is false in XConnect website.

<IndexAnonymousContactData>true</IndexAnonymousContactData>

You can find this setting into below xml files in Xconnect site-
C:\inetpub\wwwroot\sitename.xconnect\App_Data\jobs\continuous\IndexWorker\App_data\config\sitecore\SearchIndexer
And
C:\inetpub\wwwroot\sitename.xconnect\App_Data\Config\Sitecore\SearchIndexer

Check the users Logged into the sitecore backend

Hi, Today I'm going to discuss about " how to check the concurrent users logged into the sitecore backend ? ". For this ...