Not sure if you still need an answer for this one?
I was going to suggest looking at the Content Maintenance Dashboard package - as this lets you select nodes of a certain document-type, then do bulk actions with them (e.g. move, unpublish, delete, etc).
An alternative idea is to write a small snippet of C# inside a dashboard control to get all the nodes (from their IDs), loop through them, then delete.
var docs = umbraco.uQuery.GetDocumentsByCsv("1111,2222,3333,4444,5555,6666,7777,8888,9999");
if (docs != null)
{
foreach (var doc in docs)
{
doc.delete();
}
}
Delete content nodes?
Hi,
I need to delete about 250 content nodes (all of the same document type, but in different directories).
Is there an easy way to do this? I have all the nodeID's.
thanks
J
Hi Jan,
Not sure if you still need an answer for this one?
I was going to suggest looking at the Content Maintenance Dashboard package - as this lets you select nodes of a certain document-type, then do bulk actions with them (e.g. move, unpublish, delete, etc).
An alternative idea is to write a small snippet of C# inside a dashboard control to get all the nodes (from their IDs), loop through them, then delete.
Cheers, Lee.
Thank you, Lee!
is working on a reply...