Document Library Attachment Column Error

Jul 21, 2012 at 12:48 PM

Hi experts, thanks for the great work!

Also can someone tell me why Im having the Attachment column error.

System.ArgumentException: Column 'Attachments' does not exist. It may have been deleted by another user. 
   at Microsoft.SharePoint.SPFieldCollection.GetField(String strName, Boolean bThrowException) 
   at Microsoft.SharePoint.SPListItem.GetValue(String

 

Cheers-R2

Jul 21, 2012 at 7:18 PM

Hi R2,

When are you getting this error?  The only thing I can think of is the list you are running this workflow action on has attachments turned off.

Matt

Jul 28, 2012 at 6:38 AM

Hi Mattj28,

 

Appreciate the response.

It seems a misleading error message as the document library does not have the option available for attachment column but only on list library. 

The error Im getting was related to Also attach file name [filename.extension], I was trying to run the webpart without the file extension.

Cheers,

R2

May 21, 2014 at 9:26 AM
@R2C3

You saved my big time. By replying correct answer.