Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

How to find empty rep:AutorizableFolder

Avatar

Level 1

Hi everyone,

we are making a big change of structure in our CRX because we were having performance issues with +1000 users per folder. So we decided to store them in a different way.

Now, we would like to remove all the empty folders that don't contains users anymore. So, we need a way to get all those empty rep:AuthorizableFolder with some kind of query.

Thanks in advance.

Cheers.

Clemente.

1 Accepted Solution

Avatar

Correct answer by
Employee

It should be possible with the Query Builder, but you would need to write a custom predicate evaluator.

Hope this helps

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

It should be possible with the Query Builder, but you would need to write a custom predicate evaluator.

Hope this helps