cancel
Showing results for 
Search instead for 
Did you mean: 

Finding documents with aspect sys:hidden

bengrah
Champ on-the-rise
Champ on-the-rise
Hi all,

We've got an issue where deleting files via WebDAV does not actually remove the files from Alfresco; the file appears to be deleted via WebDAV, but in reality it is just removed from view. The files can still be seen in Share/Explorer, but the files themselves have an aspect called sys:hidden attached to them which stops them from appearing via WebDAV.

When you do a search query for files with this aspect attached (ASPECT:"sys:hidden"), the query returns 0 results.

So instead we've got to do a query for all child nodes then check what nodes have the "sys:hidden" aspect, but this won't work on high level folders due to the limitation on Lucene search query results returned.

Anyone got any ideas here? Or better yet if there is any way for us to search on ASPECT:sys:hidden and get results?

Thanks,
Ben.
1 REPLY 1

mrogers
Star Contributor
Star Contributor
The approach of not deleting files for webdav was discontinued and replaced in 4.2.  What version of Alfresco?

I also don't think you should be able to search for hidden or temporary files.   The point is that they are not indexed.