コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

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

Avatar

Level 8

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 受け入れられたソリューション

Avatar

正解者
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:

元の投稿で解決策を見る

1 返信

Avatar

正解者
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: