An attachment is a computer file attached to another element.

learn more… | top users | synonyms

0
votes
2answers
371 views

Can't properly “get” attachment binary for certain filetypes

I am performing a "GET" request for a file on my SharePoint site because I need to be able to copy a list item and then copy each of its attachments. I am able to use this code to get the associated ...
1
vote
2answers
396 views

Get Listitem Attachment URL

I want to get the Attachment URL with via REST or Javascript. Is there an easy way? The reason I need this, is because I want to build a marketplace in my company. User creates new list item User ...
0
votes
0answers
29 views

Group Validation Error When Adding an Attachment

I have an InfoPath form and workflow set for a list in SharePoint 2013. I am receiving the validation error: Field or group: my:group_2 Error: No exact match was found. I have reviewed the ...
0
votes
0answers
121 views

Display attachment filename of list item in a page

I need to display the attachment filename only. I would like to display like this [filename]. It is sharepoint 2013 environment. Thanks!
0
votes
0answers
22 views

infopath image attachment screenshot

I have this InfoPath form where I want to add an attachment of an image and when attached for it to show the image, but at the moment when I add the image it just shows the text of the image. How can ...
1
vote
1answer
581 views

Viewing my attachments

I created a custom list where I upload attachments to. I also added the new column "attachments" with a staple icon. But is there also a way to display the name of my attachment with a direct download ...
0
votes
0answers
59 views

invalid file name . sharepint site collection

i use Sharepoint 2010 as farm server .. every thing was good .. but suddenly i get this error . when i want to attach a file to new item in every list . Error text: invalid file name the file name ...
0
votes
2answers
4k views

Attach multiple files to a list item with a single action

I have a list with a "New Item" form that has the built-in "Attach File" button at the top. If I want to upload I file then I can click on that button and I am taken to a page where I can choose the ...
0
votes
0answers
12 views

Is there any designer workflow that would allow admin to add list attachement to one list and automatically update attachement in user list?

Here when admin finishes a request, we usually need to provide the customer with an attachment. The way we do it now is to have the admin manually add the attachment to both the private and the ...
1
vote
2answers
1k views

How to migrate Custom List w/ Attachments to SharePoint 2013

Is there a way to migrate Custom List w/ Attachments to the SharePoint 2013? Currently we are migrating from SharePoint 2003 to SharePoint 2013, now I am just doing copy paste to datasheet view to ...
0
votes
2answers
200 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
89 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
115 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
32 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
299 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
65 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
205 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
123 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
112 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
103 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 ...
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
200 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
586 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
123 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
66 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
571 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
921 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
266 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
361 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
471 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
268 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
225 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
322 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
738 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
180 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
167 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
447 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
360 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
793 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
568 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 ...