Friday, 26 October 2012

SharePoint Designer created custom display forms do not display attachments

Custom display forms do not display attachments in sharepoint designer 2010

Recently i came accross an issue that if you are creating a custom display form using Designer than it does not display the attachment controls thus it does not shows the attachments in that form.

After some google i came accross the solution that the attachment <tr> tag is not present in the custom form so u have to add it manullay

Below is the code just edit your display form and add this after the last <tr>

                                                                                                <td width="190px" valign="top" class="ms-formlabel">
                                                                                                                <H3 class="ms-standardheader">
                                                                                                <td width="400px" valign="top" class="ms-formbody">
                                                                                                                <SharePoint:AttachmentsField ControlMode="Display" FieldName="Attachments" runat="server" Visible="true"/>
You can also refer solution from Microsoft support site:

No comments:

Post a Comment