How can I find orphaned files in the Vault?

Hi, I want to track the amount of Files that are not related to a Document or Change Processes anymore. I noticed that these unrelated files are somehow assigned to the SystemFileContainer Orphaned Files Container. SystemFielContainer is used as PolySource in FileContainerItems. But I have some trouble to find the right query, to detect all of my orphaned Files. Does somebody have an example query for finding orphaned files? Or maybe just some hints, how these different ItemTypes stick together? Thanks and best regards! Angela
Parents
  • Hi Chris, Thanks for the fast answer and the code sample! I didn´t know about the FileContainerLocator. Finally I think I understand what the File_Handling.pdf provided in the Documentation folder want´s to tell me. Now let´s see if I get things right: 1. Regular files referred to ECOs, Documents, etc. -> no container assigned 2. Regular files removed from ECOs, Documents -> Orphaned Files Container -> can be automatically deleted when using the Force.Delete.Orphaned.Files Variable 3. Thumbnails, Files created by conversion server or any other files without container -> Global Files Container I wonder what´s the best way to clean up historic conversion server files? The files are easy to detect, as they all share a similar checkout path. But I do not think it´s good idea to remove them automatically. Do you have any recommendations? Right now the amount of Converser Server files is no problem, so this is more a question of "how to do things the correct way".
Reply
  • Hi Chris, Thanks for the fast answer and the code sample! I didn´t know about the FileContainerLocator. Finally I think I understand what the File_Handling.pdf provided in the Documentation folder want´s to tell me. Now let´s see if I get things right: 1. Regular files referred to ECOs, Documents, etc. -> no container assigned 2. Regular files removed from ECOs, Documents -> Orphaned Files Container -> can be automatically deleted when using the Force.Delete.Orphaned.Files Variable 3. Thumbnails, Files created by conversion server or any other files without container -> Global Files Container I wonder what´s the best way to clean up historic conversion server files? The files are easy to detect, as they all share a similar checkout path. But I do not think it´s good idea to remove them automatically. Do you have any recommendations? Right now the amount of Converser Server files is no problem, so this is more a question of "how to do things the correct way".
Children
No Data