You need to sign in to do that
Don't have an account?

Visualforce Edit Task Attachments Related List Button
I have a visualforce page for both Task View and Task Edit. I have added the Attachments related list to the standard page layout and added :
to the Task View page as a related list.
I can render the related list in the Task Edit page with the same code but I am not able to get the "Attach File" button to show up. I understand that this should only be visible when the task is being edited. I have tried updating the visualforce apiversion from 25 to 29 with no luck there either.
Anytime I use "AttachedContentDocuments" or "CombinedAttachments" in place of "Attachments" in the code, I get an error message saying it's not a valid child of the Task object.
Any help would be appreciated. This should be simple... I guess I am just not seeing it.
<apex:relatedList list="Attachments" subject="{!$CurrentPage.parameters.id}" />
to the Task View page as a related list.
I can render the related list in the Task Edit page with the same code but I am not able to get the "Attach File" button to show up. I understand that this should only be visible when the task is being edited. I have tried updating the visualforce apiversion from 25 to 29 with no luck there either.
Anytime I use "AttachedContentDocuments" or "CombinedAttachments" in place of "Attachments" in the code, I get an error message saying it's not a valid child of the Task object.
Any help would be appreciated. This should be simple... I guess I am just not seeing it.

Sorry for the late response. If you are still having issues with this, you can only upload attachments in edit mode for Activities.