Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

dam search by submitter id for both upper and lower case

Avatar

Level 1

Whats the best way to do a dam search by submitter id for both lower case and upper case ?

Some background

We are using an enhanced "out of the box" solution via:

http://wcms-local.wdf.sap.corp:4502/damadmin - search tab

1) We added a search predicate for the search panel.

path\content\src\jcr_root\apps\dam\content\search\searchpanel\facets\submitter_id

Using an xype of propertypredicate but tried fulltextpredicate but the fulltext field started pulling all result.

2) Also tried adding parameters (for lower and upper case) in search panel processing prior to dam search servlet:

path\content\src\jcr_root\apps\cq\ui\widgets\source\widgets\wcm\SiteAdminSearchPanel.js

If any one has advice it would be greatly appreciated.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Are you getting a result set (of dam assets) using this method? Have you read this AEM topic:

http://dev.day.com/docs/en/cq/current/dam/extending-cq-dam-search.html

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Are you getting a result set (of dam assets) using this method? Have you read this AEM topic:

http://dev.day.com/docs/en/cq/current/dam/extending-cq-dam-search.html

Avatar

Level 1

smacdonald2008 wrote...

Are you getting a result set (of dam assets) using this method? Have you read this AEM topic:

http://dev.day.com/docs/en/cq/current/dam/extending-cq-dam-search.html

 

 

 


Yes  to both. This is the technique we are using with the xtype propertypredicate which is case sensitive.

We tried using the xtype fulltextpredicate ( that is case insensitive ) for submitter id but the full text search filtering appeared to break (cq 5.5).