I have a question about content events. Say I have document type that has image picker. I create content and pick an image. Then save and publish. I listen to the save event and perform some logic this all works fine.
What I want to do is if the image is removed then page is saved published I want to know if that image has been removed then I can trigger some other logic how would I go about that?
FYI the image / s can be added to picker but also to any number of grid components etc. I am thinking would i need to on save get a previous revision then compare with current revision to figure out what has changed?
Basically I need to know which image has been removed from the content.
Which image has been removed from content
I have a question about content events. Say I have document type that has image picker. I create content and pick an image. Then save and publish. I listen to the save event and perform some logic this all works fine.
What I want to do is if the image is removed then page is saved published I want to know if that image has been removed then I can trigger some other logic how would I go about that?
FYI the image / s can be added to picker but also to any number of grid components etc. I am thinking would i need to on save get a previous revision then compare with current revision to figure out what has changed?
Basically I need to know which image has been removed from the content.
Regards
Ismail
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.