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

Attachment in Event Standard Controller


For creating events through vf page i am using Event Standard Controller. Also i am showing the attachment related list in the edit page. My requirement is,If the user is attaching files before event creation it should be successfully attached and should be shown in the related list. After event cration attachments should have event id as parentId. Can anybody help me on this?

Sagar PareekSagar Pareek
You wil need to use extension in addition to your standard controller to achieve this functionality. 
Hi Sagar,
How to save the attachments without parentId in backend. once event is created then even id should be copied into event parent Id.