
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2018 09:25 PM
Hi,
I want to display Hyperlink within the catalog item variable in serviceportal.
Ex: <a href="https://www.google.com">Click Here</a>
In serviceportal i want to display Click Here as hyperlink in the catalog item.How can i achieve this.
Regards
Sai krishna
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2018 01:46 AM
Hi Sai Krishna,
This is possible by setting the "glide.ui.escape_text" system property to false. Once you make this property false, you can use a label type variable and write your a href tag in the Help Text section .
<a href="https://www.google.com">More information</a>
But this is not advisable since it opens the instance to cross site scripting attacks. Please find below link for your reference
https://community.servicenow.com/community?id=community_question&sys_id=f00fcba1dbdcdbc01dcaf3231f9619f4
The safest way is to create a UI macro for this purpose and this also ensures it is compatible to your service portal widget.
Thank you.
Regards,
Mrudula M
Please hit Correct/helpful depending on impact of response.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2018 09:31 PM
Hi
Please refer the below link :-
Mark correct if it helps.
Regards,
Omkar Mone.
www.dxsherpa.com

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2018 09:34 PM
i have gone through that link, but i want to do it without using Macro variable. Can this will be possible using Label Variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2018 09:37 PM
Hi,
You can use UI Page service catalog variable and add hyperlink in that UI page. Go through below link, which helps you to achieve the same.
Mark Correct/Helpful, if this helps you.
Regards,
Devyani

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2018 09:42 PM
Hi Devyani,
But that UI Page will not work in serviceportal