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

Avatar

Avatar

cquser1

Avatar

cquser1

cquser1

02-12-2020

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.

@Arun_Patidar 

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

cquser1

Avatar

cquser1

cquser1

07-12-2020

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

Answers (0)