Publishing from Sitecore 10.3 to Edge
I have a custom pipeline that updates the Last Published field with in Sitecore. When I publish to the WEB, it works as expected, but when I publish to Experience Edge, it doesn't update the Sitecore field.
<pipelines>
<publishItem>
<processor patch:after="*[@type='Sitecore.Publishing.Pipelines.PublishItem.PerformAction, Sitecore.Kernel']" type="{Custom}_Sitecore.Pipelines.SetPublishDates, {Custom}"/>
</publishItem>
</pipelines>
Goal: I want to update the first and last published dates when an item has been published.
I would be grateful if you could provide me with any information.
Last Published
field in Sitecore, whether publishing to web or edge? What are you using this info for? Just reference on the back end or for use on the front end?