Hide 'Wish List' from header menu if less than 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2023 11:52 PM
Hello,
Can anyone help?
We're using Employee Service Center Portal. For now, we would like to hide 'Wish List' from header menu if it's less than 1.
Which part of 'Employee Center Header' widget I have to modify?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2023 12:00 AM
Hi @Bird1 ,
If you navigate to Service Portal > Menus you'll see a heap of header menus. Find the one for your portal (the out of the box portal is HRM Header) and open it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2023 12:31 AM
Hi @Community Alums
I am aware of this part., what I need is if Wish List is less than 1, it will be hidden but if it's 1 or more than 1, it will be shown.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2023 12:38 AM
Hi @Bird1 ,
Try to modify in below code according to your requirement in server side of the Employee Center header widget like what is coming in subMenu and try to manipulate it accordingly by setting displayValue and Value properties of enable wishlist object.
Please Mark it as helpful/correct if this helps you.
Thanks,
Akshay