You are viewing limited content. For full access, please sign in.

Question

Question

How to search for specific folders?

asked on February 14, 2018

I need to grant access rights to specific subfolders. All I've been able to do with the advanced search syntax is find documents located in the subfolder I need. But I'd like to find all folders. The file path I need is:

 

\Human Resources\Employee Files\VARIABLE BY EMPLOYEE NAME\Safety

 

Is there a way to grant permissions to all Safety folders?

 

The closest I've come is:

{LF:Name="*Safety*"}& {LF:LOOKIN="\Human Resources"}

But this only returns documents within Human Resources folder with safety in the name... not exactly what I need.

0 0

Replies

replied on February 14, 2018 Show version history

Do a search for all Folders (including subfolders) in "\Human Resources\Employee Files" 

{LF:Name="*", Type="F"} & {LF:LOOKIN="\Human Resources\Employee Files", SUBFOLDERS=1}

Then for Each Entry, use a conditional with a Path "Matches Regular Expression" condition.  And for the condition use:

\\Human Resources\\Employee Files\\[^\\]\\Safety

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.