- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-01-2022 12:39 AM
Hi Team,
I have a variable of type label "click here view..." as you can see below. I want to make 'here' as link. So that it links to "www.google.com". Please suggest.
Note: I don't have Variable type- Rich text label in my client instance.
Thanks in Advance,
Sachin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2022 07:47 PM
Hi,
Which version you are using? Is it before Paris? if yes, you have to simply create a UI Macro (Platform View) & a Widget (Portal View) to complete your requirement.
Refer old thread - how to make hyperlink in catalog item variable
For Paris or later versions, you have "Rich Text Label" variable that can display a link.
Kindly mark correct & helpful based on impact. It will be helpful for future readers.
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2022 10:02 PM
Hi
You can create a simple Macro and Widget which can be used in a variable of type:
- Macro
- Macro with Label
Another workaround is to have a read-only HTML variable with a Default HTML value provided under the Default Value form section of the variable. The only issue with this workaround is that you will have a label.
Result:
Configuration:
Please mark my answer as correct if this solves your issues!
If it helped you in any way then please mark helpful!
Thanks and regards,
Kartik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-03-2022 10:12 PM
Since you mentioned your version as San Diego in your question; Rich Text label should be there.
Please use that and you won't require any widget/UI macro and scripting
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader