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
Ag7Ag7 

How to add attachment section in custom event page new/edit mode

Hi all,
 I have one vf page with standard controller 'Event'. I want to add attachment section in the new page as like the standard page. I tried with <apex:relatedList list="CombinedAttachments"  />. But the attachment section is not available in the new /edit mode. If you have any idea please reply

Thanks in advance
Anju
ShashankShashank (Salesforce Developers) 
You may find these helpful:
http://salesforce.stackexchange.com/questions/45432/how-do-i-use-the-same-visualforce-page-to-override-view-new-and-edit-buttons-o
http://salesforce.stackexchange.com/questions/33192/how-to-override-edit-button-for-custom-visualforce-page-based-on-recordid
Sai Ram ASai Ram A
Hi Anju

Use this to see Attachment Related List in your Page
<apex:page standardController="Event">
  <apex:relatedList list="Attachments" />
</apex:page>
Hope this Helps!!

Thank you
BLearn
 
Ag7Ag7
I  tried with <apex:relatedList list="Attachments"/> but it is not working