function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Shrijan ShresthaShrijan Shrestha 

How do i render already attached files to record in Visualforce page. I need to view all the attached files but without add files button.

vijay kumar kvijay kumar k
Hi Shrijan

In visualforce page we have Apex:relatedList tag which helps you show all related child records.With help of this tag you can able to see attched filed under the record.
1.http://sfdcsrini.blogspot.com/2015/01/how-to-use-apexrelatedlist-tag-in.html#:~:text=in%20Visualforce%20Page%3F-,How%20to%20Use%20Apex%3ArelatedList%20tag%20in%20Visualforce%20Page%3F,lookup%20or%20master%2Ddetail%20relationship.
2.https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_quick_start_custom_mapping.htm
3.https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_dynamic_vf_components_sample.htm



If you are not able to find the solution then create an apex controller to query child object records using record id. then show this data on page

Regards
Vijay