Hide 'Wish List' from header menu if less than 0

Bird1
Mega Sage

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?

 

Bird1_0-1683874319547.png

 

3 REPLIES 3

Community Alums
Not applicable

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.

 

SandeepDutta_0-1683874840079.png

 

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.

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.

 

Akshay37_0-1683876865792.png

 

 Please Mark it as helpful/correct if this helps you.

 

Thanks,

Akshay