Hi Friends,
I have a question regarding deleting rolled out pages in one shot.
Example scenario: Lets say I have rolled out a page from english to 10 english speaking countries accidentally and currently to delete those pages, I am going to each locale and deleting it. Is there any way we can delete all these 11 pages in one shot ?
Thanks, eagerly waiting for reply.
Solved! Go to Solution.
Views
Replies
Total Likes
There is not OOB to do the job for you. If its done accidentally and one time job, then I would suggest you to go and delete it manually
Views
Replies
Total Likes
Out of the box no - but you can write a custom workflow that would do the job. Have you considered an AEM workflow? Or another solution would even write a custom tool that deletes nodes from the JCR. There are different ways you can approach this if you want to write some code.
Views
Replies
Total Likes
Simply write a sling servlet or a service and inside that write a query searching for the pages which have been rolled out, like while being rolled out every page must have been added with some property. In your query search pages with that property and delete all the pages which comes as a result.
Views
Replies
Total Likes
There is not OOB to do the job for you. If its done accidentally and one time job, then I would suggest you to go and delete it manually
Views
Replies
Total Likes
Hi
As mentioned by other experts, there is not such OOB to achieve this.
I would Support Lokesh's answer, that if this is one time job, them its better to do this deletion manually.
If not, then you need to write a Sling Servlet/Service to achive this as mentioned my Hemant i.e. "write a query searching for the pages which have been rolled out, like while being rolled out every page must have been added with some property. In your query search pages with that property and delete all the pages which comes as a result."
I hope this would help you.
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies