Favorite Icon Issue

Neel Patel3
Giga Guru

Hi All,

 

Working to setup the Employee center for a client and ran into a weird issue.

The Favorite icon on forms and KBs is working but not changing colors when clicked.

PFB SS. Thanks in advance.

NeelPatel3_0-1701906453167.png

Favorites Page ->

NeelPatel3_1-1701906501979.png

 

 

1 ACCEPTED SOLUTION

Hi Sanjay,

 

Thanks for the reply. It turns out there was no issue in config.

We had a custom footer on the employee center which used custom icons, that somehow broke the Fav icon logic.

View solution in original post

2 REPLIES 2

SanjivMeher
Kilo Patron
Kilo Patron

Refer this

 

https://www.servicenow.com/community/employee-center-forum/about-favorite-widgets/m-p/2738703

 

Check if you have this which shows a icon when check and unchecked.

  • [{"favorite":{"icon_checked":"fa-heart","icon_unchecked":"fa-heart-o","color":"primary"}}]

Please mark this response as correct or helpful if it assisted you with your question.

Hi Sanjay,

 

Thanks for the reply. It turns out there was no issue in config.

We had a custom footer on the employee center which used custom icons, that somehow broke the Fav icon logic.