+ Start a Discussion
Sushma  RamakrishnanSushma Ramakrishnan 

Is it possible to create the new Notes related list in Visualforce Page

Hi All,

Please help whether is it possible to create related list for "New Notes" in Visualforce Page?
If Yes please also guide on how to do that.

Thanks,
R.Sushma.
Dayakar.DDayakar.D
Hi Sushma,

Instead of using  "NotesAndAttachments" try to use "CombinedAttachments", it will work.

Please find below example
<apex:page standardController="Account">
    <apex:pageBlock>
    You're looking at some related lists for {!account.name}:
    </apex:pageBlock>
    <apex:relatedList list="Contacts">
        <apex:facet name="header">Titles can be overriden with facets</apex:facet>
    </apex:relatedList>
    <apex:relatedList list="Cases" title="Or you can keep the image, but change the text" />
    <apex:relatedList list="CombinedAttachments" title="Notes & Attachments" />
</apex:page>
Please let me know, if it solves your problem.

Best Regards,
Dayakar.D