Creating a link that works in list view

e_wilber
Tera Guru

I need to have a link that is clickable when you view the field in the table's list view.

I originally attempted to create a URL field and did find that the link was clickable when you're viewing the column in list view. However, the field shows the entire URL AND it opens another window/tab for a fraction of a second and closes it (the URL links to a file download).

I tried creating an HTML field with the link instead. The link works on the record view (I have it say "Download" and when you click it, it starts a download transfer) but in list view, all you see is the HTML text. The HTML is not rendered in list view so the link doesn't work at all.

Any ideas of a way I can get a text link where I can specify the link to display "Download" in list view and have it function as a link?

3 REPLIES 3

venkatiyer1
Giga Guru

Hi Eric,



Using an UI macro might be a better option for you to achieve the Download link. The thread in the below link explains it further.



How to provide a link to a server shared folder?



Thanks


Venkat


HI Venkat,



Thank you for that suggestion. Unfortunately formatters won't help here since I'm trying to get a download link to work in list view. As far as I know, formatters only affect a record in form-view. And I'm not able to create a Macro field on a custom table, otherwise I might try to just create a macro and see if that works.


Michael Ritchie
ServiceNow Employee
ServiceNow Employee

See this similar thread from a few months ago:


Add UI Action in a row in list view