Service Portal Form Widget Clickable Link

Elyse Eckert1
Giga Contributor

Hello,

I am completely baffled on how to make a URL clickable on the Form Widget in the Portal. Our client has a requirement to include multiple clickable URLs on their back-end form, which they also need available on the Portal. This is obviously no problem in the console, but nothing I've tried for Portal has worked.

I've tried read-only HTML fields, which do not work in Portal. It ignores the read-only parameter on the dictionary, client scripts, UI Policies and even outright ACL restrictions. The field is always writable. I've tried HTML Annotations, though I know Annotations do not work in Portal. I've tried URL fields, but those also do not work in Portal. I've tried [code][/code] snippets in Journal fields, etc. Nothing works. I cannot make a URL clickable on the Form Widget.

Am I missing something? Should this functionality be so incredibly difficult to implement? Any help would be greatly appreciated.

28 REPLIES 28

If you always want it to open in another window/tab you can just add it to the anchor tag since it's a custom widget.

find_real_file.png

I am so thankful, 

That works, (though you knew that.... lol)

Thank you very much!

Wont forget this one, I just wasn't confident where to add it, but once you show it, it makes sense. 

You're welcome. I'm glad to be able to help.

Oh no Chris I am back,

I cannot save more than one link at a time....

 

https://community.servicenow.com/community?id=community_question&sys_id=0cc6b936dbe52f002e8c2183ca96194f&anchor=answer_599f47f6db29eb00fa192183ca961998

Any ideas as to what I have done wrong? 

Sorry!!!

No worries. Sorry for the late response but I've been a bit busy. 
Give me a bit to look into it.