Use configured ACS Commons generic list values in Asset Share commons search filter. | Community
Skip to main content
cquser1
Level 7
December 3, 2020
Solved

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

  • December 3, 2020
  • 1 reply
  • 2396 views

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 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by cquser1

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

1 reply

cquser1
cquser1AuthorAccepted solution
Level 7
December 7, 2020

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