basically, there are a great deal of images being added as child nodes every week and the list will get huge so they need to be removed completely after 60 days.
Unpublishing will only mean that they wont be shown, i've covered that in the XSLT be only showing the latest 60 images.
Manually deleting the images older than 60 days from @createDate would be a nightmare :-/
Auto delete content
Does anyone know if there is a way to automatically delete content from a specific parent node ID if @createDate is greater than 60 days?
Thanks in advance
You can auto unpublish automatically via the inbuilt functionality, is that not enough?
Rich
I know this is not what you're looking for, but the source code might show how you can do it yourself: http://our.umbraco.org/projects/website-utilities/unversion
Jeroen
Hi Rich, no its not enough unfortunately.
basically, there are a great deal of images being added as child nodes every week and the list will get huge so they need to be removed completely after 60 days.
Unpublishing will only mean that they wont be shown, i've covered that in the XSLT be only showing the latest 60 images.
Manually deleting the images older than 60 days from @createDate would be a nightmare :-/
You could use ApplicationBase to run through the nodes and deleting if createDate is greater 60 days
is working on a reply...