Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [attachments]

An attachment is a computer file attached to another element.

13
votes
7answers
55k 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 ...
10
votes
2answers
6k 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 ...
7
votes
3answers
9k 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)?
6
votes
7answers
21k views

get the attachement files from REST API

I use REST API SharePoint 2013 to get the items from list: And and I want to get the Attachments Files, How can i do that? This the code : function getListItems(url, listname, query, complete, ...
6
votes
2answers
3k 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
4k 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
3answers
35k 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 ...
6
votes
2answers
188 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
4k 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
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 ...
5
votes
2answers
245 views

Sharepoint not saving attachment on EditForm.aspx

I'm customizing the default EditForm.aspx of a list in Sharepoint with Javascript directly on a Script Editor content webpart on the page. One item that I have customized is the Save Button event. ...
5
votes
2answers
1k 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 ...
5
votes
1answer
41 views

Will SharePoint let me know there are attachments on my saved email?

When I save an email (with attachments) to SharePoint from Outlook, I would like to see an indicator that lets me know that there are attachments on the email. I am aware that I can save the ...
5
votes
1answer
2k views

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

I am trying to create a new list item with an attachment. Below is my code: using (var clientContext = new ClientContext(_sharepointSiteURL)) { clientContext.Credentials = _credentials; var ...
4
votes
1answer
263 views

Missing delete attachments button

I have Calendar wherein the EditForm ListFormWebPart the button needed to delete an attachment is missing on some (almost all) attachments. I'm Admin so I don't think the problem is regarding ...
4
votes
4answers
2k 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
3answers
22k 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 ...
4
votes
4answers
17k 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
4
votes
1answer
1k 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
4k views

Add Attachment File Button in Library Form Sharepoint 2013

I want to add Attachment File Button (like attachment in email / Browse button before upload something file) in Library Form Sharepoint 2013. So, when I fill that form, I could attach some files.
4
votes
2answers
515 views

Where does SharePoint store attachments?

I want to remove attachments from closed requests in order to optimize disk usage. However, when I tried to do so using RemoveAttachments API, nothing seems to change in terms of disk utilization, but ...
4
votes
2answers
905 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
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 ...
4
votes
1answer
1k 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 10 GB storage limit. The change management process requires ...
4
votes
3answers
1k 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 re-...
3
votes
5answers
7k 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
1k 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
8k 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 ...
3
votes
2answers
5k 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 ...
3
votes
2answers
2k 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, ...
3
votes
1answer
2k views

Check if attachment in SPD Workflow

Is it possible to check if an attachment is attached to the current listitem? I can check if Attachments equals or not equals to a value, but not if empty. What value should I fill in then?
3
votes
2answers
519 views

Remove the option to delete attachment on Edit Form

I'm wondering if it is possible to remove the "Delete" hypertext on the Edit Form whenever attachments are added. I've tried to use the JavaScript String replace() method to no luck, I've attached the ...
3
votes
1answer
2k views

Is there a way to show the actual Attachment links inside the list view for my custom list

I have added a custom list inside my sharepoint 2013. and i chose to attach a file inside my list item from "Edit Tab">>"Attach File". but when i chose to display the "Attachment" field inside my list ...
3
votes
1answer
705 views

Getting error of 'Column 'Attachments' does not exist. It may have been deleted by another user.' when calling REST API

I have a list with 3 lookup columns and some of the items have attachments in it. I need to get the list items using REST API with details about any attachments in the items. When I try to run the ...
3
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 ...
3
votes
3answers
843 views

Get attachments hyperlink from a list

I have a SharePoint 2013 list TestList. Each record of my list has three attachments... I am trying to get the links of each attachment and display it in a table using jQuery. Is it possible? My code:...
3
votes
2answers
58 views

SP2010: Trigger Email on Attachment Addition

I've a custom list and it has a people picker column 'A'. I want to send an email to the person in column 'A' if someone attaches a file to the list item. How can this be achieved without using SPD?
3
votes
1answer
5k 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 ...
3
votes
1answer
6k 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 ...
3
votes
1answer
2k views

How to resolve “The property or field 'ListItemCollectionPosition' has not been initialized..” error?

I am trying to fetch list items along with its Attachments and display on a SharePoint page using JavaScript JSOM. My code contains the pagination too which is mentioned here. Now, for attachment we ...
3
votes
1answer
1k views

File attachment button on InfoPath form not working for user but works for me?

I have an InfoPath form with a file attachment button but when a user tries to upload an attachment(clicks on the button)nothing happens. When I click the same button a dialog box to browse for a file ...
3
votes
2answers
2k views

List Item file attachment using ECMAScript Object Model

How to simply upload & attach file to listItem using Javascript? And how to get/download attachments.
3
votes
1answer
2k views

Drag & Drop Attachment to List

I am using SPO. I would like to be able to drag and drop a document file (.pdf etc) to a new list item when using the New Item Form, rather than utilising the attach button from the ribbon and needing ...
3
votes
0answers
1k views

Attach file to approval workflow email

There is a working approval workflow process using SharePoint 2010, Outlook 2010 and InfoPath 2010. When the task is reassigned to an individual the user needs to attach a document to the task ...
3
votes
2answers
7k 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 ...
2
votes
1answer
2k views

SPFX: How to add item in SharePoint list with attachment?

I have created a SPFX webpart to add item in list with attachment. How to add item with attachment ?
2
votes
3answers
6k views

Mandatory File Attachmant

I want to make file attachments mandatory in a list. Every new element should have an attachment. Therefore I used a content editor webpart with following sourcecode: <script type="text/javascript"...
2
votes
2answers
257 views

Upload Attachment field to SharePoint

I am trying to upload an Attachment (file image in jpg format) to a table of SharePoint 2013 throught an Android POST Request. That table has different columns and one of them is of type Attachment (...
2
votes
3answers
3k views

Linking from List Item to Multiple Documents in SharePoint Online

I've created a SharePoint List containing employee names. I would like to be able to link each entry to an associated set of completed training records for each employee. What is the best way to ...
2
votes
1answer
1k views

Query list for all list items and their attachments using CSOM

I've used the following code to retrieve the list items on my SP site. The following code will return "Value does not fall within the expected range" if I try to get the AttachmentFiles: ...