Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

How to distinguish between manually and code triggered publishes?

Vote:
0

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:
0

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

#173941
Jan 13, 2017 10:22
Vote:
0

@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.