Message Boards

Listen page updates

Nikita Laitinen, modified 3 Years ago.

Listen page updates

Junior Member Posts: 44 Join Date: 12/18/19 Recent Posts

Hello!

I would like to listen to page updates  and run my own logic.
If html structure of the page was changed I need to know it.

I noticed that I can use service override approach (like write a class that will extend LayoutService and override updateLayout method ). It works. 
I can see when user updates page (save it, resave it or move portlets on the page)

But the question is how to be with web content portlets?

If user update web content then web page will include the newest version of it.
User does not update page straight, but just updates web content that is used on the page.
Technically page was updated but the problem is I can't catch this event  using approach above (LayoutService overriding)

Any ideas?

Thanks!