Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [attachments]

An attachment is a computer file attached to another element.

Filter by
Sorted by
Tagged with
3 votes
3 answers
11k 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 ...
Garima's user avatar
  • 3,024
14 votes
7 answers
63k 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 ...
Mark Latture's user avatar
8 votes
8 answers
45k 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, ...
Imen Turki's user avatar
  • 2,183
4 votes
3 answers
26k 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 ...
wahle509's user avatar
  • 371
3 votes
2 answers
2k views

SPO Modern List - How to make the Attachments field mandatory?

I would like to ask if there is a way to make the Attachments field required in a Modern Experience List, either if it's possible to set the column order of this field in "New Form" to be the second ...
SmithBZ's user avatar
  • 341
3 votes
1 answer
7k 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 ...
Jithu's user avatar
  • 1,031
3 votes
1 answer
3k 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 an item in lists/list_name/...
Ludvik Ctrnacty's user avatar
2 votes
1 answer
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 ...
R Hilton's user avatar
2 votes
1 answer
1k views

Sharepoint 2013 won't save attachments added in edit screen

I've got a list that is using custom forms for new items and edit. Customization moved screen elements around, but the Attachments part of the forms is pretty much stock. If I edit an item, and ...
SvdSinner's user avatar
  • 263
2 votes
1 answer
2k 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: ...
Dinerdo's user avatar
  • 769
2 votes
3 answers
12k 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"...
Tobias's user avatar
  • 23
2 votes
1 answer
11k 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 ?
Ronak Patel's user avatar
  • 3,251
2 votes
2 answers
7k 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 ...
Robin Li's user avatar
  • 159
2 votes
1 answer
471 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 ...
Kahle's user avatar
  • 25
2 votes
1 answer
3k 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 ...
Michael Colbs's user avatar
1 vote
1 answer
1k views

how to copy data over with attachments to a new list

I just created a new list by copying my template over so all of the columns have the same property... how can i filter on Area =NY and copy that data over included any attachments assoicated with the ...
user56323's user avatar
1 vote
0 answers
2k views

Delete attachment from SharePoint AttachmentsField Control not working

I have a custom visual web part that contains a SharePoint AttachmentsField control. <SharePoint:AttachmentsField ID="AttachmentsField1" ControlMode="Edit" ItemId="33" EnableViewState="true" ...
TreK's user avatar
  • 111
1 vote
1 answer
7k views

how to copy List item attachment to document library with SharePoint Designer workflows?

I have SP Foundation without access to the server local folders, so my only change is through Sharepoint designer as far as I know. how can I copy a List item attachment to document library with ...
Oscar Castro's user avatar
1 vote
1 answer
748 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=...
Yavuz's user avatar
  • 180
1 vote
2 answers
1k 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 ...
Jinxed's user avatar
  • 1,244
0 votes
1 answer
1k views

Add another attachments column to sharepoint list

I've used the Asset manager template to for a list of the companies machines. This template has the attachments column enabled. This column is used for all documents for the machine. I would like to ...
Mister 832's user avatar
0 votes
3 answers
2k views

Contact list with pic and sync them from outlook

I have a contact list with attached images to each contact person in the list. All of the contact list items are synced with Outlook and it gets all the information from there. Is there a way to ...
t.sharepoint user's user avatar
0 votes
1 answer
2k views

Event Attachments Opens Excel Spreadsheets in XLViewer

I have a calendar list with attachments enabled. When i attach an XLS file to an event, SharePoint wants to open it in xlviewer.aspx, but throws an error every time. I don't want to open the file in a ...
Markus's user avatar
  • 349
0 votes
2 answers
1k 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 ...
Ryan W's user avatar
  • 1