Add link in list layout

roshanrao
Kilo Expert

Hi All,

Is it possible to have HTML markup rendered in a list layout?

Here is what we are trying to do ...
We have a table, Document, where each record links to a downloadable file (could be external to SN). We are trying to add links to the files in the list layout so that users can download the files without having to open each document record.

The URL type can be used for this. However, it renders really long and does not allow you to specify a label or image as a link target. The ideal experience would be an icon based on the mime type of the file that can be clicked on to download.

I tried adding markup to an HTML field which can contain the anchor tag, but the markup is not being rendered. Instead, the markup shows raw in the list. I have tried turning off HTML sanitization but that did not help.

Thoughts?

Thanks

Roshan

1 ACCEPTED SOLUTION

Gurpreet07
Mega Sage

Ohhh   ... while previewing an update set ... we get a set of ui actions on list..


Accept remote update


Skip remote update


https://instance_name.service-now.com/sys_ui_action_list.do?sysparm_query=table%3Dsys_update_preview...



I think its UI Action Type .... List Action should do the job. Seems like its not selectable but you could try to check this using background script.


View solution in original post

5 REPLIES 5

Great find. I was able to make the UI Action List type visible and add a column of that type.


Populating the actions does require actually picking those values in a slushbucket, but in this case it can be done programmatically - it is not user selected.



Thanks much!