AEM 6.5 Metadata profile search on the Metadata profile page | Community
Skip to main content
Level 9
August 30, 2021
Solved

AEM 6.5 Metadata profile search on the Metadata profile page

  • August 30, 2021
  • 4 replies
  • 1283 views

Hello, 

 

Was wondering if anyone knew of a way to customize the search functionality within Aem 6.5.8 and above  to have an ability to search for metadata profiles on the metadata profile page , especially when the list is huge within the page so as to be able to filter and choose options such as copy etc 

is adobe planning to include this feature anytime soon ? 

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 NitroHazeDev

In response to my question, below is what i followed to implement the feature. The outstanding bug was the card view since perhaps MP do not have that view in foundation

I used the omni search api and set the resource type to apps/XXX/components/metadata with the overlay for list card view 
Ensure there is an ID set in the omnisearch class that you have implemented and use the ID for the search in the UI.

Ensure index is set and that it works prior to running the search

4 replies

Kiran_Vedantam
Community Advisor
Community Advisor
August 30, 2021

Hi @nitrohazedev,

 

You can write custom code to add custom location search. Please check here: https://www.slideshare.net/justinedelson/omnisearch-in-aem-62-search-all-the-things

 

Hope this helps.

 

Thanks,

Kiran Vedantam.

Level 9
August 30, 2021

Hey @kiran_vedantam 

Is this something that is doable in 6.5.8

I could use this option but are there any references to show implementation step wise? I do not find anyone implementing the omnisearch for metadata profile online

Level 9
August 31, 2021

@kiran_vedantam 

It does not appear that this code referenced works for 6.5.8 .
I tried adding a filter to the metadata profile page similar to fragments /libs/cq/experience-fragments/content/experience-fragments/jcr:content/rails/omnisearchfilter but

a. Metadata profile is marked a granite internal area and hence overlay is not possible /libs/dam/gui/content/processingprofilepage/metadataprofiles 

b. The search filter although helps bring up search but does not search at the location of Metadata profiles 

Level 9
February 4, 2022

Anyone please? 

Level 9
February 4, 2022

Inching there, will update the tickey should anyone have troubles implementing it with details

NitroHazeDevAuthorAccepted solution
Level 9
May 8, 2022

In response to my question, below is what i followed to implement the feature. The outstanding bug was the card view since perhaps MP do not have that view in foundation

I used the omni search api and set the resource type to apps/XXX/components/metadata with the overlay for list card view 
Ensure there is an ID set in the omnisearch class that you have implemented and use the ID for the search in the UI.

Ensure index is set and that it works prior to running the search