An attachment is a computer file attached to another element.

learn more… | top users | synonyms

0
votes
2answers
184 views

How to get item attachment size in JavaScript

I have a SharePoint list with attachments in its items. Now I want to show the attachment size in the item View Form and Edit form. But I cannot find a JavaScript API to get the attachment size. I ...
0
votes
0answers
82 views

CSOM timeout when attaching file to list item

I am attaching files to list items and encounter the following error message: The operation has timed out. Looking at the files that throw this exception, I see that they range in size from ~7MB to ...
0
votes
0answers
19 views

Upload for non-users, e.g. to drop a large email attachment into a users one drive folder

Is there a way to create a site/page where anybody (also non-users) can upload a file directly into a folder (let'S call it "inbox") without first logging in but after entering the receipient user's ...
0
votes
0answers
108 views

Move list attachments to document library and set lookup field on document library to list item

I have a SharePoint 2007 list which holds thousands of items. Each item has potentially multiple attachments. I would like to move the attachments from the list and place these into a document ...
0
votes
1answer
30 views

Adding work hours and attachment when adding comment

I'm tasked with replicating our aging internal issue tracker/ticketing system function to the sharepoint platform. I've created a simple list that requester/customer could use to create a ticket. ...
1
vote
2answers
282 views

REST endpoint working in SharePoint online and not in on premise

/_api/web/lists/getbytitle('List')/items?$select=Id,AttachmentFiles&$expand=AttachmentFiles The above REST endpoint works in SharePoint online and we are able to fetch attachments but the same ...
1
vote
1answer
52 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?
0
votes
1answer
62 views

Need to attach file with illegal character - using shortcuts as workaround?

Let me preface this by saying that I don't know too much about SharePoint right now. I need to attach files to various list items. Each file that needs attaching is in a different folder and they all ...
0
votes
0answers
179 views

Attach file throws 'Uncaught TypeError: Cannot read property 'insertRow' of null'

When attaching a file to a list item the following error is thrown when clicking on the OK button: > Uncaught TypeError: Cannot read property 'insertRow' of null The edit button is greyed out ...
1
vote
1answer
118 views

Sharepoint 2013 Online filter by attachments name

i want to query to list items by filtering attachments name with default WCF query. But i get an error. My query is below. Is that possible? ...
2
votes
1answer
108 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 ...
0
votes
1answer
98 views

Issue with attachment in SharePoint 2013 Discussion Board

I am having an issue with attachment to a discussion in a discussion board. When I try to attach a file, the file appears in the rich text editor and when I hit backspace I am able to delete letter ...
1
vote
2answers
57 views

getting images from list

I can data from all columns but cannot get attachment. how do i get attachment and load it to image tag. Here is code i have so far to get data from list. <script type="text/javascript"> var ...
0
votes
0answers
11 views

Email attachments from flat document library

We have been rolling out metadata only document libraries (SP2010). One problem has been reported by users - when they want to send attachments to external users using Outlook - the document set ...
3
votes
2answers
4k 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 ...
0
votes
1answer
183 views

Copying list items's attachments

I have to modify a .Net console application written in C#. The application references the following assemblies : Microsoft.SharePoint Microsoft.SharePoint.Client Microsoft.SharePoint.Client.Runtime ...
1
vote
1answer
549 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...
0
votes
2answers
1k views

How to delete list attachments using javascript

How to delete list attachments using javascript? I have searched for same thing, but so many results are coming in which they are suggesting by using client object model using C# code. I didn't find ...
0
votes
1answer
115 views

How do I define a Content Type for Attachments?

I want to implement the answer found in Delete Attachment in SharePoint 2010 list: You can define a content type for attachments. Then, set an information management policy for the content type ...
0
votes
0answers
65 views

Problem with attachments on sharepoint online environment custom form

I am trying to attach a file using IE9 on a sharepoint environment on my custom webpart. It seems that IE9 does not support some javascript API and this way I can't save my attachment... I was ...
1
vote
1answer
2k 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 ...
2
votes
1answer
545 views

Fetch list item attachment by name

I am trying to write custom code for list item attachments. As it is not allowed to overwrite them, I will check if file already exists. If yes, will delete and then upload again. I found a method ...
0
votes
1answer
2k views

How can I add a attachment field to my new form list

I have the setting checked yes for attachments. Then I click on the edit tab above then attach file, once I attach the file, it disappears and I cant see it after the record is saved. So how would I ...
1
vote
3answers
870 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... ...
2
votes
1answer
253 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
336 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 ...
1
vote
1answer
1k 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?
7
votes
2answers
2k 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 ...
0
votes
1answer
64 views

Remove Attach File icon from ribbon

When a user enters a new record or edits a record, there is a option in "EDIT" tab called Attach File. How do I disable that so users don't see that action Attach File when they try to input a new ...
0
votes
2answers
464 views

Add attachments to Picture Library images?

Is there any way to add attachments directly to items in a Picture Library? (or display items with attachments in a list of image thumbnails, similar to a Picture Library?) I've seen this about ...
0
votes
0answers
248 views

Import Excel spreadsheet with attachements to SP 2013 list

I have a SharePoint Site which I want to import my Excel spreadsheet. I know how to import the Excel sheet, but a lot of the records in my old application have attachments to them, so is there a way ...
0
votes
2answers
217 views

Remove attachment from SPEmailMessage

I've written an Event Receiver (SPEmailEventReceiver) which is used to populate metadata based on the email message contents. The Event Receiver saves the Attachments in the same Document Library as ...
0
votes
1answer
312 views

GetAttachmentCollection for more than 1 ID?

I need to get URL's and names of attachments from List and I found such code in SPServices documentation. I wonder if there is a way to do the same operation for more than one ID and get separate Div ...
0
votes
0answers
691 views

Adding an a attachment to a new list item programmatically (not typical issues)

I am having a bit of a weird issue. I have created a Visual Webpart for SP2010 using C# and VS2010. I finally got all the bugs worked out and it is working properly. If someone wants to attach ...
0
votes
0answers
170 views

Attachments SharePoint 2007 List - Adding attachment using custom form to a document library

I have tried every possible scenario for adding attachments to a SharePoint list using a custom form with no success. My thought is to try to add the document(s) to a document library and build a ...
0
votes
0answers
164 views

Edit ribbon gone when trying to edit SharePoint 2013 list item

I have a list in SP that has been working fine. I am the admin and have complete full control to the whole site. When a user that has been given "Edit" permissions to this specific list clicks on the ...
2
votes
1answer
43 views

SharePoint 2010 keywordQuery

I am using the keyworkQuery class to fetch some items from a Sharepoint 2010 list. I need to fetch also the Attachments for each item how can I do?. I tried: KeywordQuery kw = new ...
0
votes
2answers
431 views

Get the filename of the first attachment in a list item

I have a custom view form for my list. The form needs to display the contents of the list item as well as the photo that is attached to the list item. Currently I am having the end user copy and ...
2
votes
0answers
332 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 ...
4
votes
4answers
750 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 ...
1
vote
1answer
537 views

Automatically add attachment to new list item

is there any way to automatically add an attachment stored on the SP server to the new list item? I enter the URL of the file and this file will be stored after adding item in ...
4
votes
1answer
12k 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 ...
1
vote
2answers
1k 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 ...
0
votes
1answer
184 views

How to change the name of an attachment in a new item before the item gets saved?

I have a regular list, and the NewForm.aspx page is opened as a modal dialog. When a user wants to add a new item to that list and adds an attachment to that list, I'd like to be able to change the ...
1
vote
3answers
286 views

Programmatically copying attachment sporadically fails

I have an event receiver that copies a list item, including the attachments, to another list. Very rarely, the attachment fails to copy over and gives the error "Value does not fall within the ...
0
votes
1answer
716 views

Make List Item Attachment link clickable with JSLink

I am generating a link to a List Item's attachments using the following code. It works perfect, but it is slowing down the loading / paging of my List view significant. Does anybody know of a more ...
0
votes
2answers
2k views

List Query - How to get attachments link

I have a query: function consultaPropostas() { var customlist ; var clientContext = new SP.ClientContext.get_current(); var oWebsite = clientContext.get_web(); var oList = ...
5
votes
3answers
5k 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)?
2
votes
2answers
10k 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
0answers
71 views

How to keep sharepoint attachment when postback form

I have a custom list with sharepoint attachment control. How to keep this attachment when form is postback? I'm using SharePoint - AttachmentButton and AttachmentsField Thanks