Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

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

cquser1
Level 8
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.

@Arun_Patidar 

 

1 Accepted Solution
cquser1
Correct answer by
Level 8
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
cquser1
Correct answer by
Level 8
Level 8

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

View solution in original post