i'm trying to trigger this listener on the event of replication but its not triggering.
i have a scenario where i need delete zip extraction content in publish environment on event of unpublish/delete zipfile from author environment.
same solution its working fine in on-prem but in AEMaaCS is not working.
Views
Replies
Total Likes
Hi @KarthickVe
Please check
Deactivation should automatically trigger delete on publish. This is OOTB behaviour. Are you observing some discrepancy?
@aanchal-sikka , This EventConstants.EVENT_TOPIC + "=" + "com/adobe/granite/replication" event is not trigger in AEMaaCS and not sure why.
same its working fine in on-prem. i'm just trying to migrate to AEMaaCS but its not working.
I guess that's because Cloud emits following event
Cloud uses SCD, thus the events might also be different.
But, as I mentioned earlier, please cross-check, deactivation from author should automatically delete files in publish OOTB.
by deactivating in author the published asset is removed in publisher and i also there is associate file i would like to delete along with removed file.
scenorio: zip file published and extracted using workflow.
when unpublished zip file is removed.
we have a custom solution which will remove the extraction content also in the event of unpublish or remove. this is not working now.
Thanks for the clarification @KarthickVe .
I hope the event shared in previous thread works for you.
@aanchal-sikka , i have tried that event also but not triggered...
@aanchal-sikka Did you find the suggestions from users helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
Views
Replies
Total Likes
https://sling.apache.org/documentation/bundles/content-distribution.html#events these events were not helpful ?
Views
Likes
Replies