How do you show the glyph icon in the Menu item /sub menu using script of Service Portal?

Virendra K
Kilo Sage

Hi All,

I have created a menu item and want to show glyph icon using script. please refer the below red marked menu snap.

find_real_file.png

Please guide me. Thanks in advance.

Regards,

Virendra

 

1 ACCEPTED SOLUTION

Hi,

Yes. it's html, sorry.

If your sub menu items are listed out 3 lines, 1 for each item, then place that in front of each one.


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

12 REPLIES 12

I set "Type=Scripted List" and that is only causing the problem. I tested it on person instance setting different type and its working fine. I am able to see the icons. 

How we could write a script for glyph icon in Server script of the menu ? do you have any idea?

what the code you posted, "<span class="glyphicon glyphicon-search" aria-hidden="true"></span>"

I guess I cannot use it in server script.

do I need to use in "menuTemplate" -->Angular ng-template  ??

 
 
 

Hi,

Yes. it's html, sorry.

If your sub menu items are listed out 3 lines, 1 for each item, then place that in front of each one.


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Thanks a lot, Allen.

VigneshMC
Mega Sage

Go to the menu items and add the icon you need in glyph field

find_real_file.png

Thanks for your reply. Its already assigned but still its not showing. I have selected "Type=Scripted List"  does it causing the problem?