You need to sign in to do that
Don't have an account?
George Adams
Add link to attachment on related list (custom object)
Hello,
I've created a custom object (Hearing Results) that appears as a related list on most Contact page layouts.
Here's the related list on the contact:
And here is one of those records with it's attachment:
Is it possible to have a column in the first screenshot, on the related list, that lets the user view the attachment that is on the associated Hearing Results record? (just like how there's a "view" link for the attachment once you actually click through to the Hearing Result record)
Thanks!
I've created a custom object (Hearing Results) that appears as a related list on most Contact page layouts.
Here's the related list on the contact:
And here is one of those records with it's attachment:
Is it possible to have a column in the first screenshot, on the related list, that lets the user view the attachment that is on the associated Hearing Results record? (just like how there's a "view" link for the attachment once you actually click through to the Hearing Result record)
Thanks!
That would not be possible with standard functionality. The issue is that there could be multiple attachments per hearing result record. So if a hearing result has 2 attachments, which attachment should the "view" link to? One way to accomplish this would be to build a custom visualforce page to put on the contact page layout. There are many ways to accomplish this, but will require custom development.
Hope that helps!
I assumed it would require some custom development, just wanted an idea of where to begin. I think it would be fine to have a "view" button that opens all attachments on the record. This feature isn't too mission-critical right now though.
Here is a small sample of what you would do. The apex:command button on the top of the page redirects to a standard salesforce url that lists all of the record's attachments.
VF
Extension:
Hope that helps!