Dynamically update the Rich Text label field(catalog variable) on the RITM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2025 02:06 AM
Hey,
i need to dynamically update the Rich text variable which is a catalog variable where im updating with the Hyperlink dynamically using client script
if we use setLableOf will work only on the client side and not on the RITM or Task level
if we use the DOM manipulation also works only on client side
is there a way where we can dynamically update the RIchTextLabel
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2025 02:11 AM
it won't work like that for Rich text label variable
You can have 2 different Rich text variables and include the link you want in each of those
Then use g_form.setVisible() to show/hide the variables based on your logic
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2025 02:15 AM
Thank you for marking my response as helpful.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader