Variable Instructions Not Being Displayed Internally vs Portal

Joshua Cassity
Kilo Guru

Hello there,

We've ran into an interesting predicament. When we create variables that have instructions, the instructions show up on the new Service Portal but they don't show up on the internal view of the catalog. Has anyone else ran into this issue and/or have a solution? Is this a bug?

See below:

Adding the instructions.

find_real_file.png

Portal View

find_real_file.png

Internal View

find_real_file.png

17 REPLIES 17

Good Morning,

This is pretty easy to do and works in Service Portal as well, I have a Madrid instance which I have tested on:

This can be done within a Client Script with the following format:

g_form.addDecoration("Variable Name","icon to be used","Mouse Over Tooltip");

Example:

g_form.addDecoration("select_box","fa fa-question-circle","Something Tooltip");

Results:

find_real_file.png

I don't think this will work with all variable types so you will need to experiment a little.

I have read you can add color as well on the icon but I can't seem to get that to work with testing this morning.

More information can be found here:

https://developer.servicenow.com/app.do#!/api_doc?v=kingston&id=r_GlideFormAddDecoration_String_String_String_String

 

Hope this helps

Roopa6
Tera Contributor

Thank You Ashley for your response.

ericcrawford
ServiceNow Employee
ServiceNow Employee

Care to share with the community about how to accomplish the icons 🙂 ?