Monday, November 19, 2012

failed to get value of the attachments column from the attachments field type control




Issue After customizing New Item and Edit form :
Failed to get value of the “Attachments” column from the “Attachments” field type control.  See details in log. Exception message: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)..


Resolution : 

Update the template value in customized form as below:

find 
Failed to get value of the “Attachments” column from the “Attachments” field type control.  See details in log. Exception message: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx)..

  <TemplateName xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm">ListForm</TemplateName>

Change it to 

  <TemplateName xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm">ListForm2</TemplateName>

This should resolved the problem 



If you found this post helpful to you or think it should have some modification to it , please let me know by comments below..

2 comments:

  1. Thanks... I'm able so sort it out.. but when i browse for uploading a file.. it gives an "Error on page" althouh it uploads file...

    ReplyDelete
  2. Remove this tag from the form where you do not want attachment.
    SharePoint:AttachmentUpload runat="server" ControlMode="New"

    ReplyDelete