Hyperlink in Catalog Item variable

cgedney
Giga Guru

I have a Catalog Item in which the requestor wants to add a hyperlink (i.e., a Click here) to take the user to a specific knowledge article. I tried with a UI Page and I am getting:

cgedney_0-1700168461199.png

It is obviously not happy with the ampersand (&), so I am trying to figure out how I can fix this. Any ideas? 

I've read that this could also be done in a UI Macro, but how would you put the UI Macro in the Variable?

Thank you, Charles

1 ACCEPTED SOLUTION

Shubham Singh
Mega Guru

Hi @cgedney 

 

Try Rich Text Label variable type. It will allow you to add hyperlink as per your requirement.


Just open the URL in a tab and copy paste.
Or share your complete code here. I’ll check the issue.

 

Thanks!

 

Please mark this response as correct and helpful ✔️👍

View solution in original post

4 REPLIES 4

Shubham Singh
Mega Guru

Hi @cgedney 

 

Try Rich Text Label variable type. It will allow you to add hyperlink as per your requirement.


Just open the URL in a tab and copy paste.
Or share your complete code here. I’ll check the issue.

 

Thanks!

 

Please mark this response as correct and helpful ✔️👍

Had issues since someone before me hid the Rich Text editor and I had to find it. Thank you Shubham Singh

Good to know that you got the solution, i replied based on "requestor" prospective that requestor want to provide the some URL while submitting the request. 


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution

AshishKM
Kilo Patron
Kilo Patron

Hi @cgedney 

As you mentioned, requestor want to add a hyperlink means it should be editable.

Requestor can't change/updated UI page based link, it will always show the same link. 

 

Use the URL type field on catalog and make editable.

AshishKMishra_0-1700169179956.png

User can edit that 

AshishKMishra_1-1700169236009.png

 

Thanks,

AshishKMishra


Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution