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
Docker
build configuration. - Publish both projects in the solution with the
Docker
publish profiles. - On the command line:
cd C:\[path-to]\sitecore-custom-timeline-eras
docker-compose up
- Install a new instance of Sitecore 9.3.
- Update the
publishUrl
inPublishSettings.Sitecore.targets
to your Sitecore installation's web root (e.g.,C:\inetpub\wwwroot\sc93.sc
). - Update the
publishUrl
inPublishSettings.xConnect.IndexWorker.targets
to your xConnect index worker's install folder (e.g.,C:\inetpub\wwwroot\sc93.xconnect\App_Data\jobs\continuous\IndexWorker
). - Update the
physicalRootPath
inCustomSerializationFolder.config
to point to the root of this repository on your disk. - Build the solution with the
Debug
build configuration. - Publish both projects in the solution with the
Local
publish profile.
- Publish the site from Sitecore.
- Open the home page in an incognito window or clear your cookies.
- Click the
Identify Contact
button to identify the current session. - Trigger some outcomes.
- Click the
Abandon Session
button 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.