Questions tagged [attachments]

An attachment is a computer file attached to another element.

Filter by
Sorted by
Tagged with
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.
0
votes
1answer
608 views

Sharepoint 2013 : How can I ensure that list attachments are included in alert email?

Is it possible to add the attachments to a list item in the alert emails or to at least make them visible in the email? I've added attachment as a field but it displays in the list but not in the ...
4
votes
2answers
852 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 ...
2
votes
1answer
225 views

Result source that only searches attachments in SharePoint 2013?

My requirement is to build a result source that searches documents and items in document libraries, and the contents of attachments of list items in non-document libraries. Does anyone have an idea ...
1
vote
2answers
658 views

Download all attachments of a list item from grid view

I need to download all attachments of a list item from gridview in a visual webpart. I tried hyperlink but unable to get it. Can anyone tell me how to use anchor tag and use href or any other ...
0
votes
1answer
509 views

Save attachment of infopath form to some local drive

Can I save InfoPath attachments to some shared network or a drive when I click on save button? Any help would be appreciated. Thanks.
3
votes
1answer
2k 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 ...
2
votes
1answer
250 views

From Excel 2010 is it possible to attach a PDF file to a list item.

I have the list item ID and I have the location of the PDF file, it is created using the excel sheet and now I want to attach it to a list item.
1
vote
0answers
593 views

Possible to search case-sensitive?

We have a list with resumes attached, about 50/50 between .doc and .docx. The resumes list projects by category, e.g. Highways, Bridges, Airports, etc. I would like to search to see whom and how ...
1
vote
0answers
763 views

SPServices copy list attachments

Trying to follow this post about halfway down to copy attachments from a list item. $().SPServices({ operation: "GetItem", async: false, Url:srcUrl, completefunc: function(xData, ...
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: ...
2
votes
0answers
683 views

Add attachment to Task List in SharePoint Online from Site Mailbox

I'm looking for a way to add an attachment to a specific Task within a list from a library or list. We have SharePoint Online as part of our E3 subscription. The ideal scenario is files are emailed ...
1
vote
1answer
1k views

how to attach document in custom list for sharepoint online using Powershell?

I have tried this code to attach a document in custom list for sharepoint online, but it is not working. $site = [Microsoft.SharePoint.SPSite]("Your site name") $web = $site.OpenWeb() $list = $...
1
vote
3answers
2k views

Drag attachments from outlook to sharepoint?

Does Sharepoint have any integration with Outlook where I can simply drag and drop e-mail attachments in to a Sharepoint library? It looks like "Harmon.ie" does it but the company is unwilling to ...
1
vote
3answers
12k 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
2answers
2k 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 ...
2
votes
3answers
2k views

Add multiple attachments over custom list item using javascript

Is there a limitation for the attachments that can be added over a custom list against each item in SP2013 online? If not, am I stuck over a scenario where I need to add more than 2 different files ...
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 ...
0
votes
2answers
961 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
1answer
54 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
1answer
272 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?
2
votes
2answers
14k 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
1answer
203 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 ...
1
vote
1answer
494 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? /_vti_bin/ListData.svc/<MyListTitle>?$expand=...
0
votes
1answer
259 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 ...
2
votes
1answer
311 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 ...
1
vote
2answers
86 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
1answer
1k views

read content of list item attachment in SPD workflow and convert to base64 string

I need to write a workflow that reads the content of attachment of a list item, convert it to base64 encoded string and then invoke a custom REST service. I know I can access /_api/web/lists/...
2
votes
1answer
3k views

Can't see 'Attachment' option to a discussion in Discussion Board in SP 2013

I can't find a option in the ribbon for attaching a document/file to a discussion post in SharePoint 2013, either while creating a new discussion or Editing an existing one. I know while we have ...
1
vote
2answers
947 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
2answers
6k 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
127 views

List Item Attachment

I am using SharePoint 2013 On-premise environment. When I try to open an attachment of list item , it gives me an error "Connection refused".
0
votes
1answer
513 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
91 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 ...
3
votes
3answers
10k 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
2k 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 SP....
0
votes
1answer
21k 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
3k 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
0answers
1k 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 ...
10
votes
2answers
7k 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
431 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
1answer
1k views

Cannot delete attachment from a list item from a sharepoint online app

I get a success message after running the following code displayed below. However, when I go and verify the list item the file is still there. If I try the client side of this code, the file gets ...
2
votes
3answers
9k 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"...
0
votes
0answers
1k 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
1answer
715 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
3k 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
2answers
375 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 ...
6
votes
7answers
30k 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, ...
0
votes
0answers
312 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
58 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 KeywordQuery(proxy)...

1 2 3
4
5
7