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
SMasterSMaster 

How to display the Notes & Attachments in Visualforce Page

Hi All,

 

how can i display all my Notes & Attachments as an image inside the visualforce page..

Best Answer chosen by Admin (Salesforce Developers) 
Imran MohammedImran Mohammed

I could not get your question , but if you mean to expose the Notes & Attachments section VF page, then you can use the 

apex:relatedList tag

<apex:relatedList subject="ParentObjectId" list="NotesAndAttachments"/>

 

All Answers

Imran MohammedImran Mohammed

I could not get your question , but if you mean to expose the Notes & Attachments section VF page, then you can use the 

apex:relatedList tag

<apex:relatedList subject="ParentObjectId" list="NotesAndAttachments"/>

 

This was selected as the best answer
SMasterSMaster

Hi Imran,

 

I am able to get the Notes and Attachments inside the Visualforce page as a related list, however.. i want to display all Notes and Attachments as in read only mode..