- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2024 09:22 PM
Hi Team ,
can anyone please help me here .
For a Particular catalog item , I have to change label 'Description' to >> 'Justfication' .
NOTE - The variable ' Description ' we are using from variable set . If we change in variable set means it will effect for all the catalogs .
so can any one please provide me cilent script .
Thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2024 10:22 PM
Hello @nameisnani ,
You can create an on load client script on variable set, and write below code:
if(g_form.getUniqueValue() == 'sys_id of cat item'){ //sys_id of catalog item for which you want to change the label
g_form.setLabelOf('Description', 'Justification');
}This code will only change the label of variable for particular catalog item.
If my answer solves your query then please mark it as Accepted✔️ and Helpful👍 based on the impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2025 09:12 PM
@Vrushali Kolte / @vermaamit16,
The script works brilliantly in the catalog form (portal) but the same script fails to run within the RITM variables. Is this something you've encountered as well?
Regards,
Akshay
