My request is simple our client wants to have a link that opens/downloads files in a view.
The object has Notes and Attachments and I can add files to it no problem.
The idea I have with my primitive understanding of the framework is to make inside my Field Set a reference to the files inside Notes and Attachments by ID and visibly by the name associated with the attachment.
How would I go about making the Notes and Attachments visible in the Field Set? Is a Field Set the right way to do this?
The client wants to view many records at once. A nice way would be to give them access to get the associated files of many records in the existing list view. Optimally a hover to get a preview window would be great. . .
This must be a well known and previously solved problem.
Would I need to code a custom method inside the Field Set Controller to retrieve the Notes and Attachments? Or is there a handy wizard to do this? Or something else?
Field Set
is definitely not the right tool, if you are trying to define which records to display and which not. It just creates an ordered collection of fields, and tells you nothing about individual records. Or do they just want to view all the records? If not, what are the criteria?<apex:relatedList>
. Does that not suit your needs?