Questions tagged [attachments]

An attachment is a computer file attached to another element.

Filter by
Sorted by
Tagged with
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 ...
1
vote
2answers
4k views

How can I use a Workflow to email the document in a document library

We have a vendor who is not on our network and cannot access our 2010 SharePoint sites. I have a document library for that vendor with a subscription so that Reporting Services creates a report for ...
1
vote
2answers
2k views

SPListItem.Attachments - what type cast?

When iterating through a SPListItems SPAttachmentCollection what type cast am I supposed to use? SPFile or SPFileStream or something else? I want to display the item's filename and when it was ...
1
vote
3answers
2k views

How to overwrite the attachment for List Item CSOM C#?

I am using following code to attach the image file to the list item using C# CSOM. using (ClientContext clientContext = new ClientContext(siteUrl)) { List list = clientContext.Web.Lists....
1
vote
1answer
556 views

SP2013 - export custom list attachments with power shell

I am looking at using powershell to export custom list attachments. Some script help would be good.
1
vote
1answer
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 ...
1
vote
1answer
5k views

How to attach a document from a SharePoint library into a list item?

My client wants to attach a 'Minutes' document (in a SharePoint document library) to a meeting event (SharePoint list item). The trouble they have is that the OOTB 'Attach File' browse option opens '...
1
vote
1answer
735 views

Getting no e-mail alerts when list attachment has been modified

In our SP2010 lists, users who created e-mail alerts will not get notified when the list attachment (here: docx files) has been modified. This is the whether version is enabled or not. Is this ...
1
vote
3answers
4k views

SharePoint 2013 Webpart - Multiple file upload

I want to add the multiple files functionality to my custom webpart in C# .NET 4.5. I want the same functionality as the out of the box multiple files add feature when you create a list item via the ...
1
vote
1answer
871 views

Exception when adding attachment

When I'm saving attachment to list item, an exception is thrown: The list item was saved, but one or more attachments could not be saved.Could not upload file xyz.txt. Despite the exception, list ...
1
vote
2answers
11k views

infopath > How to make sure there is an attachment

Creating a resume upload form where user must upload attachment. On submit button I want to disable submit button if attachments is not present? I added Attachments is not present and this seems to be ...
1
vote
1answer
307 views

Uploading .exe to list works with default form, but not customInfoPath form

(please note: this question isn't about the validity of allowing .exe files to be uploaded - We know the risks, and have read all the alternatives. For us, using .exe is critical, as we have decades ...
1
vote
2answers
91 views

Convert SharePoint file object into hex string

I am trying to convert sharepoint attachment into hexadecimal string and push it to SQL via powershell. How can we convert sharepoint file/document into hex in CSOM / Powershell.
1
vote
1answer
262 views

Enabling an attachments field when creating an event in SharePoint Online?

I have my site configured with a basic out of the box events app, where the user can click 'add event' and fill in the details of it. When filling in this info, I want the user to be able to attach ...
1
vote
1answer
646 views

Attach File to Document Set via REST

Is there a way to upload files using Sharepoint REST API to my created Document Set? Document Set: Inside "Test" woud be: I can upload files via browser but how do I do it via REST?
1
vote
1answer
882 views

Is it possible require an attachment when a specific drop down option is selected?

I have created a SharePoint list that automatically sends an email upon submission of a list item. One of the features I've added is a flag indicator '[*]' at the beginning of the email subject line ...
1
vote
1answer
45 views

SharePoint 2013 Attachments

Can you attach multiple attachments to a list. I know you can in 2010
1
vote
1answer
270 views

SharePoint Designer workflow InfoPath form with attachment control

We have an InfoPath 2013 form created by a SharePoint designer workflow. We would like to add an attachment control to the InfoPath form. We understood that by design it is not possible to add such a ...
1
vote
1answer
3k views

Adding a separate Attachment column to a list in Sharepoint 2007?

How to add a separate Attachment column to a Custom list in Sharepoint 2007?
1
vote
1answer
117 views

Using get_name() with attachment files in a list

I am trying to retrieve the names of two attached files that a single item may contain in a list I'm not sure how this function works, but here is what I have so far var PicName1 = ''; var PicName2 =...
1
vote
2answers
281 views

Getting Multiple Attachments URL's

I am trying to obtain the full URL of every item's attachments in a sharepoint list Here is what I am specifically trying to obtain, in bold: site.sharepoint.com/sites/mysite/Lists/ContactList/...
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
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?
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=...
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 ...
1
vote
2answers
539 views

Creating/editing Sharepoint 2013 columns with VS2013

Firstly, I'm very new to SharePoint, just the 6th day working with this powerful tool. The problem I'm facing which I can't solve is how to edit for example existing attachment column for list for ...
1
vote
1answer
2k views

attach file in sharepoint list, validation with attachment

Is there anyway to have a field that can link to a document. Like the attach file but an actual column field. If not is there anyway to use the attachment as a validation. So if there is no attachment ...
1
vote
1answer
761 views

How to add a calculated column which shows the modified date/time of an attachment?

I have a list where each item has an attachment (or in some cases 2 attachments). I would like to add a "Last modified" column in a view which shows the date/time of the last attachment modification. ...
1
vote
1answer
2k views

File attachement not working in sharepoint 2013

I've created a Infopath 2010 form with file attachment control as one of its fields. When I publish the form in SharePoint 2013, and fill up the form uploading a document in the attachment field, the ...
1
vote
1answer
1k views

Can i move the attachment location to the top of the list form in 2007 SharePoint?

I already have the attachment first in my list order but it always appears on the bottom of the form that opens up when you edit the item which makes it hard to navigate to for users. Is their a way ...
1
vote
1answer
6k 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 ...
1
vote
1answer
2k views

Setting attachments to Read Only after upload to an item on a custom list

I have a list where we add attachments to the list item. I want the list item itself to be editable but I want to make the attachment read only. Is this possible?
1
vote
1answer
969 views

Method behind attachment, for custom pages

This may be a poorly formed question, but I'm fairly new to sharepoint. What I'm doing is creating a custom page (just basic HTML and JS), and using that page to call SPAPI and SPServices to input ...
1
vote
1answer
494 views

AttachmentsField Object Causes Error

I'm trying to display download links for files attached to list items in my DVWP. The below code was working fine until I switched to (by switching I mean, deleting and creating a new web part) ...
1
vote
2answers
484 views

Configure Sharepoint Server site to send email attachments

We want to use Sharepoint to send attachments to secure users email group. Basically sending attachment once if verified metadata that will indicate which email user group needs to receive the ...
1
vote
0answers
11 views

Retrieve the documents from Multiple Attachment Control of Nintex Form

I have a list with the form customized using Nintex. In that, we have used the multiple attachment control feature of Nintex. Now, I want to retrieve the attachments programmatically. I can get the ...
1
vote
2answers
62 views

Can we prevent attaching more than one attachment file to a custom list item?

I have a custom list inside a SharePoint modern communication site, and i want to prevent attaching more than one attachment per list item? is this possible through UI,power-shell or development? Now ...
1
vote
1answer
205 views

Using Power Automate to Export Outlook .xlsx Attachment to SharePoint List

I'm in the middle of setting up an automated flow using Microsoft Power Automate and I have some questions. I'm seeking to extract an .xlsx file from an Outlook email attachment and have the data from ...
1
vote
1answer
30 views

Working with adding attachment works fine on workbench but generated 404 error on site

While working with adding attachment to sharepoint works fine with workbench i.e.-https://sample.sharepoint.com/sites/Dev/_layouts/15/workbench.aspx but while deployed at sharepoint site it generates ...
1
vote
3answers
100 views

In 2020, how to Email a SharePoint document as an attachment, not a link

There are lots of answers to the question 'Can I email a SharePoint document', but they often seem to suffer from two defects: 1. They assume the recipient has access to my SharePoint site 2. Many ...
1
vote
2answers
236 views

I want to insert attachment in particular list item using pnpjs

I want to update the list item with attachment but not sure why its failing the payload while saving it. try { sp.web.lists.getByTitle(listName).items.select(item.Title).add((r => { // this will ...
1
vote
1answer
27 views

How do i get a mandatory attachment when a list item is of a certain value?

Hopefully someone can help. I am trying to get a SharePoint new item form to raise an error message if an attachment is not included when a certain choice is selected in a drop down menu. I have the ...
1
vote
0answers
18 views

SharePoint C# move attachment and keep creation values in SP 2019

We want to copy item attachments from one Item in one site collection to another item in a different site collection using C# (Server Side Object Model). Is it possible to keep or replicate the ...
1
vote
0answers
82 views

Require Attachments Issue on List with Enhanced Rich Text Items

We migrated a site from 2010 Foundation to Online with a list that has multiple enhanced rich text items. Also on the NewForm.aspx is the following script that validates for attachments on the list......
1
vote
0answers
152 views

Cannot upload attachment to SharePoint list item using JavaScript

I am trying to upload the email attachment to SharePoint list item using JavaScript. But I landed up on the following error on the console. Cannot rename "_120" to "120": destination already exists....
1
vote
1answer
103 views

Require attached file with column choice selection before saving record

I have a custom list in SP13 with a choice column containing 'Yes', 'No', and 'NA' drop down values. If the column value is marked 'Yes', I want to require the user to attach a related file to the ...
1
vote
0answers
230 views

Invalid file error

I get the following error when trying to upload a PDF file to a SharePoint list. File is less than 20MB. Have previously been able to upload these files. Still able to upload some PDF files but not ...
1
vote
1answer
28 views

Programattically Imposing Size and Type Restriction on a List Attachment

I'm using the code below to allow users to upload files as attachments to items in a SharePoint (2010) List. How can I add type and size restrictions to the attachment, for example, if I wanted the ...
1
vote
1answer
37 views

Attaching files to items in lists

I am creating multiple lists in SharePoint that use each other for "lookup" columns. Here is the situation and what I am doing. It is a very expansive inventory list of Equipment Racks. I have ...
1
vote
1answer
5k views

Send an email with attachments through a workflow [duplicate]

I have been looking for a solution to my issue, but I can't find anything. The matter is the following: - I set up a workflow to start manually to send an email to a specific distribution list, ...

1 2
3
4 5
7