Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

How to distinguish between manually and code triggered publishes?

Vote:
 

As asked in the subject, is it possible to distinguish between manually triggered (using the Edit mode) and code triggered publishes when you hook in to the PublishingContent event?

#173915
Jan 12, 2017 17:47
Vote:
 

Perhaps by checking on which user that did (or did not) perform the publish?

#173941
Jan 13, 2017 10:22
Vote:
 

@Per Unfortunately that's not an option in our case. Is it possible to set some variable that can be read in the handler for the PublishingContent event or something?

#173955
Jan 13, 2017 14:25
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.