- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-30-2016 10:12 PM
Hi,
I have to add an Help icon to each field on condition. Could you please let me know the procedure / steps to do this?
Thanks
Guru
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-31-2016 05:04 AM
It sounds like you need field_decorations (or ref_contributions), an attribute on the field that displays a UI Macro after the field.
See http://wiki.servicenow.com/index.php?title=Dictionary_Attributes#gsc.tab=0
Assume you want to add a help icon to the CI field ion an Incident when the Xfire CI is selected.
Find an icon image and add it to the Image gallery
Create a UI Macro
Your condition for showing the icon is in the evaluate script here.
Update the Attributes on the field in the Dictionary:
Each attribute is separated by commas, and each value for one attribute is separated by semi-colons.
Please note that ref_contributions/field_decorations do not work on all field types.
The result is this
The icon will show when you save the form. You can use a Client Script to show it as soon as the field is changed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-31-2016 02:55 AM
Below link might help you.
Field Label Help - ServiceNow Wiki
Mark Correct if it solved your issue or hit Like and Helpful if you find my response worthy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-05-2018 12:16 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-31-2016 05:04 AM
It sounds like you need field_decorations (or ref_contributions), an attribute on the field that displays a UI Macro after the field.
See http://wiki.servicenow.com/index.php?title=Dictionary_Attributes#gsc.tab=0
Assume you want to add a help icon to the CI field ion an Incident when the Xfire CI is selected.
Find an icon image and add it to the Image gallery
Create a UI Macro
Your condition for showing the icon is in the evaluate script here.
Update the Attributes on the field in the Dictionary:
Each attribute is separated by commas, and each value for one attribute is separated by semi-colons.
Please note that ref_contributions/field_decorations do not work on all field types.
The result is this
The icon will show when you save the form. You can use a Client Script to show it as soon as the field is changed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2017 03:37 PM
Hi,
Do you happen to have any ideas on how to achieve an image to display under a field when a field decoration/icon is selected? We would like to add a help icon next to our Impact and Urgency fields and when that icon is selected have it display an image or wording that explains what each selection means. Attached picture is what we would like to achieve.
Appreciate any help you can give .
Niccole