November Happy Hour will be moved to Thursday December 5th.

Dojo Shell "Publish" and "Navigate Edit" event

Vote:
 

Hi!

In a Dojo module I'm trying to catch 1: When a user publish a page and 2: When a user navigates to edit a page (example: user clicks on page "about" in site tree => catch event). When either of these events happen I want to pull out the full URL to the page.

I was able to find this very helpful gist https://gist.github.com/gregwiechec/5194b2a85d03cc697d13 which list a lot of the events. Currently I have utilized the "/epi/cms/content/statuschange/" and "/epi/shell/context/changed" event. The latter gives the current content in which I have not been able to determine what action is currently taking place. The first event "/epi/cms/content/statuschange/" will give you if you're "Publishing" but does not give you the content, only which content id.

Thoughts?

Thanks in advance!

#176069
Mar 09, 2017 8:28
* 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.