- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2018 06:02 AM
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2018 06:43 AM
Ohhh ... while previewing an update set ... we get a set of ui actions on list..
Accept remote update
Skip remote update
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2018 06:20 AM
A UI Action with type list context menu. Make it client and in onClick function, simply use window.location.href = 'targetUrl'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2018 06:28 AM
Hi Gurpreet - Yes, that can be done. It would still need two clicks, but surely better than opening the record.
I hope if there are other ideas to get to the ideal solution as per the opening post.
Thanks
Roshan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2018 06:35 AM
Earlier there was a UI Action Type 'List Button'. You could search on community and you will get some thread regarding this but it seems like this UI Action type is removed in latest versions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2018 06:43 AM
Ohhh ... while previewing an update set ... we get a set of ui actions on list..
Accept remote update
Skip remote update
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.