I have a list of Contacts and I’d like to be able to access their latest attachment via the list view.
(of course I think if I can make a URL on the contact detail itself I can also access this from the list view… maybe using a formula field? This would be aweseome)
When clicking on this link or row action, it would be great if we can either, open a new tab with the latest document, do a pop up, or even better a scroll over view. Really anything will suffice.
I found this online which allows me to create a button and utilize JavaScript. https://success.salesforce.com/answers?id=90630000000hQ6jAAE
This is great on the Contacts detail record, but again I am trying to do this from a list view.
I’m guessing it is as easy as having a URL redirect to this.
<A Href = “/servlet/servlet.FileDownload?file={{{Id}}}”; Target = “_Blank”> {{Name}}
Or setting up a pop up
BUT… how I get the most recent attachment ID from this Contact… that is a bit confusing because I can’t really traverse the model from the list view.