Hi,
When a component is dropped onto a page, or copy/pasted, it is possible to perform some post processing using a SlingPostProcessor custom class.
However, when a page is copy/pasted in the Touch UI, as the operation is using the wcmcommand endpoint, SlingPostProcessors are not invoked.
Is there something similar to SlingPostProcessor that can be used to implement custom post-processing logic for when pages are created, deleted, copy/pasted, etc.?
Thanks.
Solved! Go to Solution.
Views
Replies
Total Likes
There is no API that is invoked after a page is created or deleted. However - why not look at using Workflows to do post-processing and use custom Workflow steps to perform unique application logic to address your business requirements? You can use this API to perform page operations:
http://docs.adobe.com/docs/en/cq/current/javadoc/com/day/cq/wcm/api/PageManager.html
Another option that you have is to look at using JCR event handlers. WHen a node is created (ie - page) - you can configure AEM to invoke a custom event handler.
Views
Replies
Total Likes
There is no API that is invoked after a page is created or deleted. However - why not look at using Workflows to do post-processing and use custom Workflow steps to perform unique application logic to address your business requirements? You can use this API to perform page operations:
http://docs.adobe.com/docs/en/cq/current/javadoc/com/day/cq/wcm/api/PageManager.html
Another option that you have is to look at using JCR event handlers. WHen a node is created (ie - page) - you can configure AEM to invoke a custom event handler.
Views
Replies
Total Likes