Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

How can I make a url variable clickable?

Digit
Kilo Guru

Business Need:

I want a user to create a catalog request, and on one of the fields on the request  they are to enter a url. Then, once the request has been submitted, the url that they entered will be clickable on the request and in list view.

I have created a url variable 'Ticket Link' on the form. I assumed using that variable type would automatically make the url clickable later, but it does not. I am having trouble discovering a way to make it into a clickable link. I have pored over the community posts, and have not found a good way to do this yet. I see many posts about adding a static link, but not making a user-input url clickable.

All assistance would be greatly appreciated, as I am fairly new to SN development.

Kingston release

 

 

 

4 REPLIES 4

Nitesh Balusu
Giga Guru

My variables are clickable with just a URL field. This is all I did and it works just fine.

 

find_real_file.png

I am using a url variable, not a field. url fields are clickable, but the variables are not.

SanjivMeher
Mega Patron

OOB, for variables, it is not possible

There are few links which uses a Macro. But not sure if that will be helpful incase you are using Service Portal

https://community.servicenow.com/community?id=community_question&sys_id=a609cfa1db5cdbc01dcaf3231f96...


Please mark this response as correct or helpful if it assisted you with your question.

Thanks Sanjiv,

I found that link and tried the solution, but it didn't work. I was able to create a clickable link, but it rendered all popups, like search and date pickers on the form unusable. I tried to troubleshoot the issue, but was not able to get it to work without breaking the popups.