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?
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?
