Esta conversación ha sido bloqueada debido a la inactividad. Cree una nueva publicación.
Nivel 1
Nivel 2
Iniciar sesión en la comunidad
Iniciar sesión para ver todas las insignias
Esta conversación ha sido bloqueada debido a la inactividad. Cree una nueva publicación.
Hi,
Our requirement is to get the list of all the available assets and metadata from /content/dam/wknddemo path.
¡Resuelto! Ir a solución.
Vistas
Respuestas
Total de me gusta
Hi,
Please use below query in Query Debugger to fetch all the Assets :
path=/content/dam
type=dam:Asset
p.limit=-1
Query debugger Path : /libs/cq/search/content/querydebug.html
Vistas
Respuestas
Total de me gusta
Hi,
Please use below query in Query Debugger to fetch all the Assets :
path=/content/dam
type=dam:Asset
p.limit=-1
Query debugger Path : /libs/cq/search/content/querydebug.html
Vistas
Respuestas
Total de me gusta
Use below query to get all assets and metadata from dam path.
type=dam:Asset
path=/content/dam/<project>
p.hits=selective
p.properties=jcr:content/metadata/dc:format jcr:content/metadata/dam:size
In above query i am fetching format and size. Click on JSON QueryBuilder Link to view metadata json
Json Response like this:
{"jcr:content":{"metadata":{"dam:size":649544,"dc:format":"image/jpeg"}}}
Vistas
Respuestas
Total de me gusta
@ksh_ingole7 @HeenaMadan thank you for your time and reply.
I am running the query(given in the original post) successfully in AEM(On-prem) environment without any issues. However, I wanted to make sure it was the right way to get an asset list from AEMaaCS or need to go with AssetHTTP API.
@kautuk_sahni Thank you in advance for any suggestions you may have.
Vistas
Respuestas
Total de me gusta