change the variable set label names
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2020 01:29 PM
i want to update the fields labels in the catalogs
ex: instead of department, Dept
the department one, i have already defied in the variable set
for one particular catalog i want to change the label
- Labels:
-
Facilities Service Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2020 01:41 PM
You can create an onload client script and use g_form.setLabel() method.
Reference:
https://developer.servicenow.com/app.do#!/api_doc?v=london&id=r_MGF-setLabel_S_S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2020 05:37 AM
this code is working for the normal forms not for the catalog items
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2020 02:23 PM
This post may help you...
http://www.servicenowguru.com/system-ui/ui-scripts-system-ui/modifying-label-form-fields-client-scripts/

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2020 05:44 AM
kindly have a look on below thread.
if you dont want to use DOM then you can hide the variable for your item and create new one on item