Show filtered result in aem 6.5 inbox on load based on payload | Community
Skip to main content
manisha594391
Level 4
February 16, 2021
Solved

Show filtered result in aem 6.5 inbox on load based on payload

  • February 16, 2021
  • 1 reply
  • 1021 views

Hi Team,

 

I have a requirement to land user to aem 6.5 inbox on click of a link on custom page.

The user when landed on aem inbox should be able to see only the tasks associated with the payload by default.

Any pointers appreciated.

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 arunpatidar

you can create use an OOTB filter to filter out results based on palyload. Just add payload as query string and open filter using javascript.

 

 

 

 

 

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
February 16, 2021

you can create use an OOTB filter to filter out results based on palyload. Just add payload as query string and open filter using javascript.

 

 

 

 

 

Arun Patidar
manisha594391
Level 4
February 16, 2021

@arunpatidarThanks for the suggestion. I too tried using the same approach, I am able to open filter and add the payload there. The actual challenge I am facing with this is updating the omnisearch param so that the query gets triggered.

 

Basically what am trying to do is triggering the click events on filter and updating the payload using /libs/cq/inbox/gui/components/inbox/clientlibs/inbox/js/inbox.omnisearch.js and updating the dom.

However, am unable to figure out how that selected payload goes in the payload path displayed on omnisearch bar as "Path", Since this actually triggers the search query.