I was planning to extend the approval flow and do different things in different states. I saw that the SendingToPublish and SentToPublish events only happens when sending for approval so maybe I can solve it somehow. I wonder if it's possible to use my own enum with published states and in this way set different states but I don't know if this will mess things up or not.
Extend PublishedState
Hi,
Is it possible to extend the PublishedState enum and the publishing workflow, if yes how can I do it?
Hi Simon.
Can you try to elaborate on what you want to achieve?
You cannot extend the published state, but you can listen to events that Umbraco triggers when a piece of content is being published.
Here is the documentation for their ContentService events: https://our.umbraco.com/documentation/reference/events/ContentService-Events
Hope it helps a little bit.
Hi,
I was planning to extend the approval flow and do different things in different states. I saw that the SendingToPublish and SentToPublish events only happens when sending for approval so maybe I can solve it somehow. I wonder if it's possible to use my own enum with published states and in this way set different states but I don't know if this will mess things up or not.
is working on a reply...