cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Delete multiple folders

Delete multiple folders

Why it is not possible to delete more than one folder?

 

I know, if folders are inside other folders, we can...

But when we have 25 folders inside a folder, and we have to delete 20 of them...

7 Comments
agaalen
Contributor

That Would be a great one.  I have 100 Folders to remove...

Edoardo.Baima
Enthusiast

This could help a lot

darius.simkunas
Advocate

Hi,

Try this.

If Vault do not have a function, this does not mean it is not possible.

 

foreach (ISelection selection in e.Context.CurrentSelectionSet)
{

if (selection.TypeId == SelectionTypeId.Folder)
{
selectedFolder = connection.WebServiceManager.DocumentService.GetFolderById(selection.Id);

try
{
connection.WebServiceManager.DocumentService.DeleteFolderHierarchy(selectedFolder.Id);


}
catch (System.Exception ex)
{ }

}

}

 

agaalen
Contributor

Hi Darius,

 

Yes that's a way to do this.  How ever,  I think this forum is for Idea's  for the Vault standard functionality.  I think this should be standard functionality in the vault. (with admin privileges of course.) 🙂

 

Kind regards, Alain

darius.simkunas
Advocate

I agree.

Darius

kmiller
Collaborator

Deleting multiple folders after you find via search results/view filter would be a huge benefit to us.  I was going to try grabbing them all and moving them into one folder to bulk delete, but unfortunately since they are all the same name I can't. 

Christine_SmithZJQV7
Community Visitor

Agreed.  This would be hugely beneficial.  We have changed our folder structure within Vault and I cannot remove the folders that are no longer used.

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea