This project demonstrates how to trigger outcomes and display custom outcomes as eras on the Experience Profile timeline in Sitecore.
- Build the Sitecore 9.3 docker images using the steps in the Sitecore Docker images repository.
- Build the solution with the
Dockerbuild configuration. - Publish both projects in the solution with the
Dockerpublish profiles. - On the command line:
cd C:\[path-to]\sitecore-custom-timeline-erasdocker-compose up
- Install a new instance of Sitecore 9.3.
- Update the
publishUrlinPublishSettings.Sitecore.targetsto your Sitecore installation's web root (e.g.,C:\inetpub\wwwroot\sc93.sc). - Update the
publishUrlinPublishSettings.xConnect.IndexWorker.targetsto your xConnect index worker's install folder (e.g.,C:\inetpub\wwwroot\sc93.xconnect\App_Data\jobs\continuous\IndexWorker). - Update the
physicalRootPathinCustomSerializationFolder.configto point to the root of this repository on your disk. - Build the solution with the
Debugbuild configuration. - Publish both projects in the solution with the
Localpublish profile.
- Publish the site from Sitecore.
- Open the home page in an incognito window or clear your cookies.
- Click the
Identify Contactbutton to identify the current session. - Trigger some outcomes.
- Click the
Abandon Sessionbutton to force the outcomes to show up on the Experience Profile. - Open the Experience Profile from the Sitecore Launchpad and click Bruce Wayne to see the outcomes on the timeline.
- Enjoy.
This repository contains Sitecore Support patch
Sitecore.Support.126998.134727 to fix an issue with the timeline. Please
see the README.md with that patch for more information.