- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2018 01:13 AM
Hi All,
I have configured one common Variable Set for most of the Catalog Items.
I want to add one message below the Variable Set for one Catalog Item as below.
I want to add the above message below Justifications/Comment for one specific Catalog Item so that it would not affect Catalog Items.
Can anyone let me know how to achieve this?
Thanks,
SNOW@DAS
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2018 01:38 AM
Here you go, Add this on your catalog item where you need to show this message.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2018 01:16 AM
Hi
You can configure a catalog client script for this. UI Type=ALL
and you can do just this :-
g_form.showFieldMsg('your_variable_set_name','Message','info');
Regards,
Omkar Mone.
www.dxsherpa.com

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2018 01:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2018 01:21 AM
Hello,
On your specific catalog item, you need to create a new onLoad client script and add the following script in it.
g_form.showFieldMsg('variable_name','Enter your justification here','info', false);
https://docs.servicenow.com/bundle/london-application-development/page/script/useful-scripts/reference/r_DisplayFieldMessages.html
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2018 01:33 AM
Hi Alikutty,
Can I have one screenshot like how can I achieve the same.
It will be helpful for me.
Thanks..