Retrieving a list of published items using History Table and History Engine in Sitecore 9.x

Vincent Lui
1 min readJan 11, 2019

--

Photo by João Silas on Unsplash

Someone on Slack asked how to retrieve a list of items that are just published from the latest publish job, using the oldschool traditional publishing. I remembered having to utilise the History Engine to achieve the same thing before switching over to use Sitecore Publishing Service. The instructions can be found in here for Sitecore 7.2 to Sitecore 8.2 https://horizontalintegration.blog/2014/03/21/a-brief-look-at-the-sitecore-historymanager/

When I tried this on a vanilla instance of Sitecore 9.0.2, I could not find the settings of History Engine when browsing through /sitecore/admin/showconfig.aspx. It turns out that the History Engine is disabled by default. The config file to turn this on can be found inside /App_Config/Include/Sitecore.HistoryEngine.config.example.

The file can be modified so that the History Engine is also enabled in the published target databases. It should look something like this:

I have a similar approach with Publishing Service, which I will blog about some other time.

--

--

Vincent Lui
Vincent Lui

Written by Vincent Lui

Sitecore Technology MVP 2020–2025 | Solution Architect on Sitecore, Akamai, Microsoft Azure | Passionate on DevSecOps Lifecycle

No responses yet