Need to display a URL field as a clickable hyperlink with custom text (e.g., 'Click here') In MRVS
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday - last edited yesterday
Requirement:
I have a RITM (Request Item) with a MRV (Multi-Row Variable) that contains a field named "link" with type "URL". Instead of displaying the raw URL in the RITM, I want to display it as clickable text that says "Click here" (or similar custom text).
As we can't use HTML in MRVS in Servicenow
Current Behavior:
- The URL field stores values like:
www.google.com - When viewing the RITM, the field displays as plain text or as-is
- Users see the full URL displayed
Desired Behavior:
- The field should display as a clickable hyperlink with custom text like:
[Click here] - Clicking it should open the URL in a new tab/window
- The actual URL should be hidden behind the link text
Additional Context:
- This needs to work in a Multi-Row Variable (MRV) in a Request Item
- The URL may not always have the protocol prefix (e.g.,
www.google.cominstead ofhttps://www.google.com)
Question:
What is the best approach to achieve this? Should I use:
0 REPLIES 0
