Solved
Check if file exists in DAM or Site admin of Adobe Experience Manager
Hi everyone,
Is there an efficient way to check if a file/resource exists in the system?
Thank you!
Hi everyone,
Is there an efficient way to check if a file/resource exists in the system?
Thank you!
You can use this API to see if a resource exists a specific location:
Resource res = resourceResolver.getResource(location);
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.