g_form.setLabelOf does not reflect on RITM and SCTASK even when checkboxes are selected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2025 09:43 AM
Hi Experts,
I have wriiten a one line onload catalog client script to change a variable name of one of my variables from variable set. Since this change should be applied to single cat item, I'm nt touching the original label in the variable set.
Issue: Even after selecting
Applies on Requested Items ✔️
Applies on Catalog Tasks ✔️
The label only chages on the portal form and not in the backend. I tried changing the isolate script option too, but it didn't work.
Please help me to resolve this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2025 10:34 AM
Hi @saint ,
Is this what your referring? - https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0867606
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hello @saint,
Were you able to figure out the underlying issue and fix it? I'm in a similar situation. I've changed the labels for some of my variables using an onLoad client script to accommodate the length constraints, and it works fine on the portal view, but the variables within the RITM don't seem to be overridden by the script. FYI, I have enabled those applied to checkboxes.
Regards,
Akshay
