Questions tagged [attachments]

An attachment is a computer file attached to another element.

Filter by
Sorted by
Tagged with
0
votes
1answer
40 views

Preventing a SharePoint workflow from triggering every time I upload a new list item attachment?

I have a list in SharePoint where users can add requests, assign it to a user, and a workflow runs in the background to notify the user via email when something has been assigned to them. ...
0
votes
1answer
27 views

SharePoint list won't save attachments

SharePoint newbie here. I have created an out-of-the-box list (with no custom code) and have been happily using it. This morning when I went to create my 16th list entry, it would not allow me to save ...
0
votes
2answers
23 views

Javascript to retrieve and validate file attachments in new item form

I have a requirement to inject javascript via a script editor web part into a form and validate that it's not a macro enabled Excel file (xltm or xlsm), and throw a validation error if it is and not ...
1
vote
1answer
18 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
1answer
23 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 ...
0
votes
0answers
13 views

Multiple Attachments

I am creating a SharePoint list gathering travel information from users. This will require adding multiple attachments to be submitted. Is there a way to add all the attachments in one upload? ...
2
votes
1answer
26 views

Flow sending mail attachment with bad encoding

When I send an e-mail attachment with flow, the files get corrupted. I guess it is sending in wrong encoding. The original file looks like: The file received in the e-mail looks like: I have tried ...
0
votes
0answers
16 views

Getting Name of MS Teams Channel Message Attachment

I'm trying to get the name of an attachment that was sent to my MS Team Channel's email. It was posted as a message on the conversation board, which is how I've been referencing it. Right now, I have ...
1
vote
0answers
12 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 ...
0
votes
1answer
27 views

Upload Attachment to SP List but Files either are empty or not able to open

I am trying to upload an attachment to my Sharepoint list and the upload goes well with a 200 message, however when I go to my list and try to open it, if it is a pdf will open an empty file with the ...
0
votes
1answer
26 views

How can I programatically move an SPListItem from a source list to a destination list (into a specific folder of the list)?

I am pretty new in SharePoint (I am working with SharePoint 2013) and I have the following problem: I have a source list(an SPList) on a source website and I have to move its items to a destination ...
0
votes
0answers
33 views

Get multiple attachments from SharePoint list using pnp.js

I want to get all the added attachments from the SharePoint list using pnp.js and show those attachments in to a custom page div. I have to use pnp.js to get the attachments. Could you please help ...
0
votes
0answers
8 views

Getting the size of a list item attachment using _api without downloading the whole file

I am using the bearer token for authentication, therefore I need to download list item attachments like this: https://tenantname.sharepoint.com/_api/web/lists/getbytitle('...
0
votes
0answers
14 views

MS Flow - Word file in attachment

I need some help with my flow. I want to add MS Word file in attachment of letter. How can I do that? By default I can add only .txt file in attachment of email. Thanks for attention.
0
votes
1answer
22 views

Creating a URL link with href not going to the URL

We have a page that is using AngularJS. I am creating a link: <div ng-if="breakout.AttachmentFiles"> <div ng-repeat="file in breakout.AttachmentFiles" style="display: flex; align-items:...
0
votes
1answer
31 views

How to allow access to list item file attachments that was not created by the user with special constraints

I am struggling for some time with this problem and can't decide how to handle it. We have a sharepoint list with 3 groups of users: SOHO Account Managers SMB Account Managers ENT Account Managers ...
0
votes
0answers
19 views

Allow user to complete a form & attach document

I have a sharepoint, which is a repository of project document templates, which are blank. The idea is that when people use one of the templates and fill it in for their project, they can submit it ...
3
votes
3answers
283 views

Copy attachments from list to another list

In this script, i want to to copy an item from list to another list. This item contain an attachments. How i can add the attachments to my code $web = Get-SPWeb http://intranet/sales/ $listSales = $...
1
vote
0answers
37 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
58 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
26 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 ...
0
votes
1answer
232 views

Multiple attachment upload causing 409 conflict error. (SPFX, PNP)

I have noticed a bug when using the PnP library for SPFX to upload multiple attachments. Using: sp-pnp-js@3.0.10 targeting: SharePoint Online Expected Behavior Question When uploaded multiple ...
1
vote
0answers
95 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
246 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
26 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 ...
0
votes
1answer
842 views

add attachments with javascript on item edit

I'm using SP Online. I have the following code to update a list item. I added this code in a script editor inside EditForm.aspx. It works fine and I'm able to update several fields, but If user adds ...
0
votes
1answer
227 views

Add an Attachments section to a discussion board form

I have a discussion board and I want the users to have the ability to add attachments to their post. I know that this can be done through the ribbon but I was looking for a way to put it into the form ...
0
votes
1answer
99 views

Questions about List items' Attachments. Can we link them with custom columns + Can we allow them to appear on search [duplicate]

I am working on a online sharepoint site collection, and i have attached files to custom list items, as follow:- But i have the following questions:- can i link the attachment with cusotm columns? ...
-1
votes
2answers
402 views

Send Attach file sharepoint 2013 list with web Part C#

i want to add attachment file Sharepoint 2013 library but it doesnt work. here is my code protected void Button1_Click(object sender, EventArgs e) { using (SPSite oSPsite = new SPSite("...
0
votes
1answer
27 views

Opening attachments

When attaching documents using their link to sharepoint, they only seem to open in a browser then you have to open them in the application separately. Is there a way to directly open links to ...
0
votes
1answer
26 views

Need Help setting Rule for field to require Attachment before allowing a selection from a drop down,

I have a form field which has 3 different selections in the drop down, In Progress.. On Hold.. and Completed. Since the form is opened many times before marked complete, I do not need a code that ...
0
votes
2answers
198 views

How to add attachment in SharePoint list using SharePoint Hosted App

I am working on a SharePoint Hosted app in JSOM, where a user enters his expenses with attachment. I have no Idea how to upload attachment and add it into a SharePoint List. I have created that ...
1
vote
1answer
30 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 ...
0
votes
1answer
239 views

Multiple attachment buttons (not unique fields) in custom form

I'm building a custom form with branching logic - basically if they tick box A they need to upload form A, and if they tick box B they need to upload form B. I know you can attach multiple documents ...
5
votes
2answers
294 views

Sharepoint not saving attachment on EditForm.aspx

I'm customizing the default EditForm.aspx of a list in Sharepoint with Javascript directly on a Script Editor content webpart on the page. One item that I have customized is the Save Button event. ...
2
votes
1answer
3k 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 ?
0
votes
1answer
30 views

Form Library InfoPath Document Template - Is there a way to digitally sign the form, plus any documents attached to the form?

I have a form library with a template created through InfoPath. The template allows users to attach additional documents to it. For audit purposes, each "page" (form + each attachment) needs to ...
0
votes
1answer
45 views

Attachments bypassing approval system

We have a custom list which is being used for management of controlled documents. There are several document types with associated InfoPath forms and file attachments enabled. We are using the basic ...
0
votes
1answer
18 views

Turning off list attachments deletes all existing attachments--Can I recover any of these files?

Turning off a list's attachments deletes all existing attachments--Can I recover any of these files after turning off the attachments feature? They don't seem to go to the recycle bin when you turn ...
2
votes
2answers
807 views

SharePoint 2013 - Attach file to custom list using drag and drop

In Sharepoint 2013, is it possible to drag and drop a file (.jpg , .pdf, .png) to a custom list as an attachment? If so, can this be achieved by using a script (JS, jquery)? So, if a user is reporting ...
3
votes
2answers
570 views

Remove the option to delete attachment on Edit Form

I'm wondering if it is possible to remove the "Delete" hypertext on the Edit Form whenever attachments are added. I've tried to use the JavaScript String replace() method to no luck, I've attached the ...
2
votes
2answers
264 views

Upload Attachment field to SharePoint

I am trying to upload an Attachment (file image in jpg format) to a table of SharePoint 2013 throught an Android POST Request. That table has different columns and one of them is of type Attachment (...
1
vote
1answer
3k 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, ...
0
votes
1answer
114 views

Handle errors while attaching files to list item via SPServices

I have used the below code to add multiple attachments to a list item function AddAttachments(itemID) { //Retrieving all the files which are available in an Array, Created this Array in //...
0
votes
1answer
16 views

write a workflow, that extracts some fields from my list

I am attempting to write a workflow, that extracts some fields from my list and write those to an excel spreadsheet. Upon completion send an email to me with excel spreadsheet attached.
1
vote
0answers
28 views

Attachment in a Custom List Form at different position

I am trying to create a custom form having 5 buttons on it at different sections. on click of button i have to attach "n" number of document, and show at the same section. In the same way have to do ...
1
vote
1answer
329 views

Survey : Add Attachments type of answer?

can i add a new Attachments type of answer to survey !? thank you
0
votes
0answers
48 views

Workflow won't fire on list attachment update

We have a SharePoint 2010 list with attachments, and if the user simply views the list item and updates the attachment, the workflow email action fails to fire. The only way updates will fire the ...
0
votes
1answer
378 views

SP 2013 Custom form and embedding attach file dialog in a modal(No Sharepoint Designer)

I have a custom form where users have an option to upload attachments to a list item. This works without issue, however, I would prefer if I could use ASP in the HTML to embed the SP attach file ...
0
votes
1answer
52 views

JQuery script not working in SP2013

I would like to show list of attachements in my flat view of discussion board in SP2013. Unfortunately i don't have access to SP Designer, so I was trying to use JQuery. But the script from this site, ...