Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Use configured ACS Commons generic list values in Asset Share commons search filter.

Avatar

Level 8

Hi All,

 

We are using AEM 6.5 and Asset Share Commons 1.9.4 version.

 

We have configured an asset metadata property[audience property in asset i.e., /jcr:content/metadata/audience] values in acs commons generic list, which is accessible if I hit the url in browser

http://localhost:4502/mnt/acs-commons/lists/<custom folder>/audience.json

 

I am trying to add an additional search filter in Asset Share Commons search page to pull the values for "audience" asset property from the configured acs commons generic list, by selecting "Source"  ->  "DataSource" and "DataSource" - > "/mnt/acs-commons/lists/<custom folder>/audience.json", but this doesn't work.

 

Fails with the message :

org.apache.sling.servlets.get.impl.DefaultGetServlet No renderer for extension html, cannot render resource TypeOverwritingResourceWrapper, type=/mnt/acs-commons/lists/<custom folder>/audience.json, path=/content/<custom folder>/us/en/home/jcr:content/root/rail/responsivegrid/property_audience, resource=[TemplatedResourceImpl, type=asset-share-commons/components/search/property, path=/content/<custom folder>/us/en/home/jcr:content/root/rail/responsivegrid/property_audience]

 

Any pointers/reference code on how to achieve this will be really helpful.

@arunpatidar 

 

1 Accepted Solution

Avatar

Correct answer by
Level 8

This will not work OOTB. Custom datasource logic needs to be written to pull in the data.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 8

This will not work OOTB. Custom datasource logic needs to be written to pull in the data.