Problems, need help? Have a tip or advice? Post it here.
2 posts Page 1 of 1
Hello,

I am using a DataBound Form on an Intranet Site so employees can submit flex-time tickets. Each submitted form creates a new cloned page.

Due to GDPR requirements I need to ensure all tickets that were created (equals publishing date in all cases) more than 6 months ago are deleted. I rather not use MYSQL to do this directly in the DB, allthough i could.

I previously stumbled upon an older post with instructions how to enable a delete mode for db_persist but I can't seem to find it anymore.

So basically my idea would be to fetch all cloned page id's where publishing date is older than x and then delete all of them. Maybe someone already has a finished snippet to do that? ;)
Hi,

I think what you are looking for is the 'staggered' approach for working with a large number of pages.
It was originally discussed with the CSV importer (viewtopic.php?f=5&t=8803) but you should be able to easily adapt it to work with <cms:pages>.

Hope it helps.
2 posts Page 1 of 1