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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

how to get user menu when click on menu icon on header component

Avatar

Level 4

Hi,

In asset share commons package the user menu, some property filters are appearing when we click on menu icon of header component. I created a search template in my project and in structure policy I added asset share commons-structure components to root layout container then I added header component at template level and I unlocked the component.I checked in page whe I click on menu I am getting blank.

 

I found in some of the articles the usermenu component is giving that hello administrator part in addition to that there are some property filters, date range filters components also there. I didnt understand where they added user menu component, and some filter components. Can anyone help me on this.

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @Vani1012,

Below I've explained in details Looking into original Search Template shipped with Asset Share Commons, you can observer that:

  • user menu component is added under Structure section of Search Template
  • filter components are added and configured as Initial Content of Search Template
  • both user menu and filters are added into right hand side layout container - please be aware that this container is not visible on screens with lower resolution - sometimes to make it visible, it is needed to hide AEM side panel to  (that contains list of components, assets, content tree option etc)

This is how above looks for original template:

  • CRX level:
    search-template-crx.jpg
  • Template editor - Structure view
    search-template-s.jpg
  • Template editor - Initial Content view
    search-template-ic.jpg

In other words you have add user menu and filters components in proper place -described above - to get the same result like the one you can observe on page created using template provided by Asset Share Commons.

If you are doing your own version of templates, I would suggest to always refer to original ones.

Some references to documentation:

View solution in original post

0 Replies

Avatar

Correct answer by
Community Advisor

Hi @Vani1012,

Below I've explained in details Looking into original Search Template shipped with Asset Share Commons, you can observer that:

  • user menu component is added under Structure section of Search Template
  • filter components are added and configured as Initial Content of Search Template
  • both user menu and filters are added into right hand side layout container - please be aware that this container is not visible on screens with lower resolution - sometimes to make it visible, it is needed to hide AEM side panel to  (that contains list of components, assets, content tree option etc)

This is how above looks for original template:

  • CRX level:
    search-template-crx.jpg
  • Template editor - Structure view
    search-template-s.jpg
  • Template editor - Initial Content view
    search-template-ic.jpg

In other words you have add user menu and filters components in proper place -described above - to get the same result like the one you can observe on page created using template provided by Asset Share Commons.

If you are doing your own version of templates, I would suggest to always refer to original ones.

Some references to documentation: