An attachment is a computer file attached to another element.

learn more… | top users | synonyms

7
votes
7answers
24k views

I want a workflow that will email attachments

I'm creating a custom list for a helpdesk app. I want the user to fill out a form in sharepoint (2010) and add attachments from screenshots, etc. The workflow should send an email to our helpdesk ...
6
votes
2answers
2k views

Download file from a sharepoint site from code behind

I have an Image button in a custom 2010 webpart, on click of that I would like to download a file. Code Used : foreach (string filename in item.Attachments) { attachmentURL = SiteListURL + ...
6
votes
1answer
3k views

Attach a file to the list item

I attach a file to the list item when it is updating and when new item added. Additional condition when item updating - if the file already exists, remove it and replace the new one. I receive events ...
6
votes
2answers
164 views

View sp list item attachment high CPU usage server restart needed SP 2010 EBS

We are using SP 2010 with EBS (external blob storage http://msdn.microsoft.com/en-us/library/bb802812(v=office.14).aspx). The problem: When a user tries to download some large attachments (100MB) ...
5
votes
3answers
3k views

Get attachments of list items with SPServices

How can I fetch the attachments (the URL, to be precise) of a list item with SPServices (the jQuery library)?
5
votes
3answers
3k views

How do I fetch the attachments from an AttachmentsField control?

In WSS 3.0, I've got an edit form which includes an AttachmentsField control. It corresponds to the list of existing attachments, with delete links. In a normal edit form, if you delete an attachment ...
5
votes
2answers
409 views

Reliably get attachments for list item

I'm working with SP2010's SP.js and I need to get all the attachments of a list item. As it's SP2010, I don't have access to SP.ListItem's attachmentFiles property. :( The following code works for ...
5
votes
2answers
951 views

Why does the FileUpload control get bound to the current list item in a custom list EditForm?

I've written a custom edit form for a list which means I lose certain out of the box capabilities such as Attachments as it was part of the out of the box form. The way I have implemented the form is ...
4
votes
4answers
409 views

How to update the name of an attachment from a list item (if possible, with SPServices)?

Like the title says, I'd like to know how to update the name of an attachment from a list item. The document name.I've figured out how to get the attachment from a list item (see code below), on the ...
4
votes
1answer
734 views

Attaching a document to an item

Is there any way in SP 2007 of showing a column name and a file attachments dialog similar to the one that is displayed when clicking the link 'Attach' on a an list's newform.aspx but as a list column ...
4
votes
2answers
2k views

Custom form: Attachments are half-broken

I've created a custom edit form, and the attachments functionality is half-broken. When I click the attach button, it takes me to the attach form and I can browse, select a file, and hit OK. That ...
4
votes
2answers
307 views

How do I extract / retrieve the full link to a attachment file inside a InfoPath 2007 form?

Suppose that a user have attached a Jack.jpg file as a attachment to a online InfoPath 2007 form, is there a way to retrieve or extract the full URL of this attachment file Jack.jpg?
4
votes
1answer
7k views

How to show names of attachments from a list item in a column?

I have an announcements list and some announcements have multiple attachments. The view is set to show the attachments, but it just shows this paperclip icon which probably means the list item has ...
4
votes
3answers
639 views

Attach file button not showing in forms

I have a custom list (clicked together on the portal site, so no custom templates) in which attachments were disabled and afterwards re-enabled. The "Attach file" action menu item does however not ...
4
votes
2answers
3k views

Auto upload documents to sharepoint from outlook attachments

I'm looking for an out of the box solution to auto upload outlook email attachments to SharePoint and sending them as links instead of actually attaching them as files to emails. I heard about 3rd ...
3
votes
5answers
4k views

Attachments to Documents

I have a document library. I want to be able to add supporting documents to a document(I am using a custom content type based on document). Ideally I would like to add them as attachments so ...
3
votes
3answers
750 views

Difference between Attaching a file & Uploading a file to the SharePoint site

I facing a weird issue. I am able to upload a 32 mb file to a Document Library. But I am unable to attach same file to a task. Do I need to change settings other than Central Admin? I have set limit ...
3
votes
3answers
3k views

Enabling attachments with DataFormWebPart on a Blog template

As most of you probably know, once you customize a form and use DataFormWebPart you lose the attachments functionality. After spending several hours investigating this subject, I've installed Hotfix ...
2
votes
2answers
1k views

Disabling attachements in lists

I'd like tu turn off attachments in my custom list definitions. In order to do that, I specified DisableAttachments="TRUE" whenever it was possible: in list definitions Schema.xml and in Elements.xml, ...
2
votes
2answers
3k views

Form Library and Attachment

Is it possible to add an attachment to a form library? I tried publishing a form that has an attachment control but getting "The selected field cannot be promoted because its data type is not ...
2
votes
1answer
207 views

Issue with list attachments when content approval is enabled

I have a very simple custom list in a Sharepoint 2007 which I'm having an issue with attachments disappearing when content approval is switched on and I edit an item that was previously approved. It ...
2
votes
1answer
3k views

Uploading large files to SP 2010 - InfoPath limits and alternatives

Problem) We have several complex InfoPath forms in production. Got a new requirement for one of them: Client needs to be able to upload large files to SP libraries using this IP form (as file ...
2
votes
1answer
862 views

Attach document from SharePoint List to GridView

I have a SharePoint 2010 list, which has attachments!! I am using a custom grid-view to display some selected List fields from the list. I would like to include the attachment as an embedded ...
2
votes
1answer
4k views

custom attachment field in List

I would like to know, can I create a custom attachment field in a list. I know I already have one attachemnt field in the list, how ever I would like to have one more field, where I can attach files ...
2
votes
1answer
345 views

Read mails from a mail box in SharePoint 2010

Let's say I have a mail address , jithu@abc.com . I will get mails from different mail Id's. All mails have an excel sheet attached. Excel sheet has two fields, 1) another email Id 2) A name Now ...
2
votes
2answers
1k views

Workflow to sent attachments and mark completed in a List

My client emails the same document to users within the company and also outside the company. I would like to set up a workflow within SharePoint that will do this very same thing and mark a check box ...
2
votes
4answers
7k views

Attaching an Item to Survey List?

I was planning on giving user an option to upload files while answering a survey. Is it possible to attach an item to a survey list ? Thanks Joe
2
votes
3answers
2k views

Whats the deal with spaces in attachment file names in SharePoint 2007?

I have a list, with a list item that contains an attachment. I was horrified to see that the link to the attachment doesn't work if the attachment file name contains a space. I'm amazed that ...
2
votes
1answer
189 views

Is there a way to determine if there is an attachment in a calculated column?

I'd like to have a column display "Yes" if there is an attachment to the sharepoint list item, or "No" if there isn't one. Default would be no, but then if they edit the item to add an attachment, I ...
2
votes
1answer
1k views

Multiple File Columns on a list

A client of mine need a list where each item can have 3 attachments. Each attachment would be tied to a column. For example, if the list is called "Meetings", it would have two file columns; ...
2
votes
2answers
1k views

List DVWP and directly linking to upload attachment

I'm working on a dataview web part in a MOSS 2007 environment which comes from a custom list. In this dataview web part, I'm wanting to link to the Attach Item form so users can attach some ...
2
votes
1answer
352 views

Blob Cache and List Item Attachments?

If I use the Blob Cache, are List Item attachments cached in it? Are there any special considerations for using the Blob Cache with list item attachments?
2
votes
0answers
28 views

How to upload an attachment to a list item using Microsoft.SharePoint.Client?

I am trying to create anew list item with an attachment. Bellow is my code: using (var clientContext = new ClientContext(_sharepointSite)) { clientContext.Credentials = _credentials; var list = ...
2
votes
1answer
52 views

Forbidden error when trying to copyTo document from list to Document Library

I am on a SharePoint 2013 cloud setup (but for testing purposes, it is a prem server). I am customizing an Edit form for a list, so that when a user checks a box the preSave event will copy the ...
2
votes
0answers
151 views

Move list attachments to document library

Scenario I have a workflow built that runs on a document set. The workflow runs well, but there are some problems that we are encountering regarding having business users submit documents to this ...
2
votes
1answer
430 views

Archiving Sharepoint 2010 List with Attachments

I have a SharePoint 2010 site collection that runs a complex change management process using multiple lists. The site collection has a 10gb storage limit. The change management process requires each ...
2
votes
1answer
138 views

Copying an attachment from one Custom List to another using a workflow

My initial requirement is to have column level permission in a custom list.(Set of users can see the column and set users cannot). Since SharePoint doesn't support column level permission i have ...
2
votes
0answers
531 views

How do I display a jpeg attachment as an image rather than as a link on an InfoPath form?

After reading this article: InfoPath 2007 - Extracting Those Pesky Binary Attachments, I notice that Visual Studio is required in order to display the attachment file rather than as a link to the ...
1
vote
2answers
7k views

How can I export all attachments from a SharePoint 2010 list without code?

Is there any solution in exporting all the attachments from a list without code? I do not have Visual Studio installed on my machine and am looking for a way to just grab all the attachments and place ...
1
vote
1answer
451 views

How to add attachment to new item silverlight client object model

I am trying to add an attachment to new item but I could only succeded to upload the attachment into the list's folder (not to list's attachment folder). How can I achieve uploading the attachment on ...
1
vote
2answers
622 views

Can lists do version control on attachments?

All of our project descriptions Word doc attachments to entries in a sharepoint list. It does not appear that versions of the attachments are being created. When I click on the pulldown arrow and go ...
1
vote
1answer
286 views

Check if the user has attached any file

When I open(edit) some item in a list I want to check with JavaScript if the user has attached any file in my Edit Form...
1
vote
2answers
781 views

SPListItem.Attachments - what type cast?

When iterating through a SPListItems SPAttachmentCollection what type cast am I supposed to use? SPFile or SPFileStream or something else? I want to display the item's filename and when it was ...
1
vote
1answer
620 views

Upload list item attachment using JSOM

I am trying to upload list item attachment using the below code. There is no error in the code and all the variables are present with proper values but in uploadFile method it goes to error handler ...
1
vote
3answers
305 views

PowerShell script to download SharePoint attachments (Excel) with certain worksheet name

I'm trying to write a PowerShell script that will scan a SharePoint list and download an excel spreadsheet if it has a certain worksheet name. I'm not sure of where to start as far as syntax goes... ...
1
vote
1answer
260 views

Getting no e-mail alerts when list attachment has been modified

In our SP2010 lists, users who created e-mail alerts will not get notified when the list attachment (here: docx files) has been modified. This is the whether version is enabled or not. Is this ...
1
vote
1answer
978 views

Sharepoint 2013 delete AttachmentFiles by JS

how can I delete an AttachmentFiles of a list item by Javascript? (with REST or using SP.RequestExecutor) Thank,Nk
1
vote
3answers
2k views

SharePoint 2013 Webpart - Multiple file upload

I want to add the multiple files functionality to my custom webpart in C# .NET 4.5. I want the same functionality as the out of the box multiple files add feature when you create a list item via the ...
1
vote
1answer
271 views

Uploading .exe to list works with default form, but not customInfoPath form

(please note: this question isn't about the validity of allowing .exe files to be uploaded - We know the risks, and have read all the alternatives. For us, using .exe is critical, as we have decades ...
1
vote
1answer
25 views

Adding attachments in list instance

As we can add list instances in element.xml, is there a way to attach an image in Attachments field?