+ Start a Discussion
Shobhit SaxenaShobhit Saxena 

I wanna override the Notes & Attachments related list with a Visualforce page,providing the same functionality.

I wanna override the Notes & Attachments related list with a Visualforce page,providing  the same functionality.Please help.
Dario BakDario Bak
Hi Shobhit,
    Things you will need to do:

If there is only one parent:
1) Create a custom object for your new notes & attachments
2) Create fields for that object (you can use lookup field to the parent ). 
3) create VF pages to overwrite view & edit standard pages for that object
4) Add related list in the parent.

If you want to make this work for every object, lookup field to parent doesn't look good, I'd go with a VF page inside every standard layout. Custom object would have a text field where you store the parent ID. You recognize the parent object type based on the first 3 letters of the ID.