Show Link/URL in List with Display Value

MarcB1
Tera Guru

Hi

We like to insert a link to a Catalog Item in a "regular" list.

I know there is a field type "URL" and another type "HTML".

Unfortunately, the HTML field type only works fine on the form itself and the URL field type does not allow setting an display value.

How is it possible?

List.png

Form.png

btw: the values are calculated:

calc.png

1 ACCEPTED SOLUTION

None that I know of at this point for the list view.



I love the idea and invite you to open an enhancement request! Our product managers DO listen.


Enhancement requests: Tell us how you would improve the ServiceNow product


View solution in original post

39 REPLIES 39

HI Chuck,   I see this post is trying get the hyperlink on a list view.



The referenced post (shared with my by veena.kvkk88) tells how to make a client script to convert the full URL to a hyperlink.



Do you know of a way to make a business rule that will convert to a hyper link?     My records are created using a web service from SharePoint so I can't use a client script as it would be bypassed.


Hi Carl,


A business rule (or calculated value for the field like that shown above) would do the trick.



I thought we already figured this one out yesterday. A before business rule something like this. (Note: Change field values to match yours.)



current.u_full_url = 'https://' + gs.getProperty('instance_name') + current.u_base_url + '/' + current.u_vendorName;



(or something close to that.)


You helped me concatenate the 2 fields to create the full URL in another field yesterday and it works great! Now I am asking how to make it look nice on the form.



Screen shot of yesterday's result and visual of why I need a hyperlink rather than the full url




Can you please share the link the where @veena.kvkk88 showed the client script the URL into a hyperlink in list view?