Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [attachments]

An attachment is a computer file attached to another element.

0
votes
0answers
8 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
12 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
23 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
7 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
12 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
20 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
30 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
17 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
158 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
35 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
50 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
23 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
171 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
67 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
161 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
608 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
156 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
83 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
325 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
0answers
29 views

Change an attachments displayed filename with title

I have the following code. <xsl:element name="SharePoint:AttachmentsField"> <xsl:attribute name="runat">server</xsl:attribute> <xsl:attribute name="FieldName">...
0
votes
2answers
172 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
27 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
208 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
258 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
27 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
739 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
531 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
260 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
101 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
22 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
305 views

Survey : Add Attachments type of answer?

can i add a new Attachments type of answer to survey !? thank you
0
votes
0answers
47 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
349 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, ...
0
votes
1answer
89 views

Copy attachment from subsite list to main site list

I need to copy attachments from list in subsite to list in main site. I dont have any idea how to start and as far I know and what I have search, you cant use wf because it wont work. So does ...
0
votes
2answers
597 views

Placing a hyperlink (to click on) for an attachment in list view

Is there a way to place a hyperlink (to click on) for an attachment in list view that automatically pulls up the attachment you have on a form?
0
votes
1answer
355 views

Create lookup column in document library to attachment in list

I currently have a workflow that creates a document from a list. This works well. I am currently looking for a way to take an attachment from the list and somehow append it to the document. I ...
0
votes
2answers
64 views

How to add only the hyperlink of the document to a custom list instead of attaching it in Sharepoint 2013?

I would like to create a column in a custom list where the users can add hyperlinks of their documents instead of attaching them. I would like to make them able to browse casualy, just like when they ...
2
votes
1answer
268 views

How to check adding all attachments in list item

I know that in SharePoint Designer workflow it can be checked when attachments are added, but this isn't so super, because when there is some attachment in the list item and someone forgot to add ...
2
votes
0answers
147 views

How to get the attachment files of an expanded lookup column

I am trying to get the attachments from a lookup column. A loose example: ListA has a column LookupColumnName and I am trying to do something like this: _api/web/lists/GetByTitle('ListA')/Items? $...
2
votes
2answers
39 views

Save Outlook attachments to SharePoint to be processed by accounts

I have been playing around for a couple days, but keep coming stuck and hope someone can advise me. As a finance manager I want emails from suppliers with attachments to be processed via a flow: ...