Create an icon for a mobile navigation tab

epinetti
Tera Guru

HI Everyone

I am trying to have more information about mobile Navigation tab Icons

I did not find anything in the documentation regarding my following questions: 

Icons for Navigation tab are Type: Images . There is a List of available navigation tab icons here but

  • b) Where that "Images" are placed? Can I upload my own ones?
  • c) Can I add/customize it? I found this great tutorial for icon customization but does not applies for Navigation Tab
  • d) From the table sys_sg_icon, I ca also create another icon Type called: User, but there is not documentation. Any info to share it

 

Thanks in advance

Eduardo Andres 🙂

 

1 ACCEPTED SOLUTION

epinetti
Tera Guru

I opened a Hi Ticket and I got these responses

 

 

b) Where that "Images" are placed? Can I upload my own ones?

The "Images" type icons are not stored anywhere on the client-side(like sys_attachment table or anything) so you would be access it or add another icon. JSON objects are used to store icons instead of storing SVG/image format icons separately. When the icons have to be accessed, these JSON objects are accessed which contains references in the server(where these are stored) so that the system can recognize the icon by the name and value field you have entered for the sys_sg_icon record. So you cannot add custom images for icons and refer to be used as icons in the mobile application.

c) Can I add/customize it?

Until now (Orlando version) is not possible to customize Icons for Mobile Navigation bar

 

d) From the table sys_sg_icon, I ca also create another icon Type called: User, but there is not documentation. Any info to share it

Regarding "User" type icon - The user type icon just shows the logged in user's image(The image you upload in the sys_user record) as an icon. Attaching a screenshot for your reference(It would look like the icon on the top right). For the icon type user, the "Icon.Name" and "Icon.Value" need not be filled in. But I see in OOB instance that it is a mandatory field even for User type. This is due to the UI policy being incorrectly called "Hide icon json for icon type user " - https://<instance-name>.service-now.com/nav_to.do?uri=sys_ui_policy.do?sys_id=7e27836973132300ed095a7b1bf6a744 in the sys_sg_icon form. This is a problem on the platform.

 

Next action: I submited this enhancement request -> Custom Mobile App icons for Navigation Bar

Please Vote if you think that could be helpful for you!

 

Thanks

View solution in original post

1 REPLY 1

epinetti
Tera Guru

I opened a Hi Ticket and I got these responses

 

 

b) Where that "Images" are placed? Can I upload my own ones?

The "Images" type icons are not stored anywhere on the client-side(like sys_attachment table or anything) so you would be access it or add another icon. JSON objects are used to store icons instead of storing SVG/image format icons separately. When the icons have to be accessed, these JSON objects are accessed which contains references in the server(where these are stored) so that the system can recognize the icon by the name and value field you have entered for the sys_sg_icon record. So you cannot add custom images for icons and refer to be used as icons in the mobile application.

c) Can I add/customize it?

Until now (Orlando version) is not possible to customize Icons for Mobile Navigation bar

 

d) From the table sys_sg_icon, I ca also create another icon Type called: User, but there is not documentation. Any info to share it

Regarding "User" type icon - The user type icon just shows the logged in user's image(The image you upload in the sys_user record) as an icon. Attaching a screenshot for your reference(It would look like the icon on the top right). For the icon type user, the "Icon.Name" and "Icon.Value" need not be filled in. But I see in OOB instance that it is a mandatory field even for User type. This is due to the UI policy being incorrectly called "Hide icon json for icon type user " - https://<instance-name>.service-now.com/nav_to.do?uri=sys_ui_policy.do?sys_id=7e27836973132300ed095a7b1bf6a744 in the sys_sg_icon form. This is a problem on the platform.

 

Next action: I submited this enhancement request -> Custom Mobile App icons for Navigation Bar

Please Vote if you think that could be helpful for you!

 

Thanks