Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

get a list of files from a directory in the repository


Level 6

I need to get a list of all the files from a specific directory in the workbench repository. I think there isn´t a workbench component that perform this action, so I would like to know if this is possible using Java APIs. If yes, where can I find an example?

thank you
2 Replies


Level 6
Just one more thing,

Is it possible to include this code in a execute script object? My concern is about the necessity to include client JAR files in the project. I believe that if I use a execute script, I will not need such thing right?

Thank you