Questions tagged [attachments]

An attachment is a computer file attached to another element.

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

Why are image attachments silently disappearing when trying to add them to list item through our wcf-service?

When using our WCF-service to add an attachment to a list item, files that are named with a image extension ("xxx.jpg", "xxx.png", etc) are triggering an discrete error: w3wp.exe (0x3934) 0x1698 ...
0
votes
1answer
33 views

Add file to SharePoint list item column using JavaScript

I created a custom form using PowerApps. In this form one can also add attachments. The attachment column also shows up when I go to the list, but when I go to the list settings, there's no "Anlagen" ...
1
vote
1answer
43 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 ...
2
votes
2answers
18 views

Is it possible to have two attachment fields. I have one attachment field already but I require one more add attachment option

I am working on a SharePoint list and I have a query. Is it possible to have two attachment fields. I have one attachment field already but I require one more add attachment option to upload an image ...
1
vote
1answer
23 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
36 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
32 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
2answers
68 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.
0
votes
1answer
27 views

How do you extract specific strings from an attachment in a SharePoint list?

I want to extract certain parts of email content and put the results into list item fields. I want to add this to a flow I've already created that: Forwards an email from a shared mailbox to a ...
0
votes
1answer
16 views

Grant permissions on the attachments folder of a list

I noticed a strange behaviour when using attachments and folders within sharepoint lists. If I create an item in the root of a list, then move the item in a subfolder where userA has contribute ...
0
votes
1answer
50 views

Email body as the attachment in a Sharepoint list

I'm trying to create a flow that will: receive an email from a shared mailbox create a list item on SharePoint and add the email message as an attachment to that list item Preferably, when opening ...
0
votes
0answers
14 views

Create folder in attachments on costum list

I despair slowly. I want to create a folder via JavaScript and rest api in the attachments of a custom list. but I can't find an example on the internet. Who can help me? My List Name ist "Reviews" ...
0
votes
0answers
15 views

Column type “file upload” not available [duplicate]

I'd create a custom list and add a new column. I want to have this new cloumn as an attachement upload column. But I could not find the type "file upload". Where I can configure the column types? I ...
3
votes
1answer
92 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 ...
0
votes
2answers
33 views

Attachment button not working on InfoPath Form for SharePoint 2016

I have created a custom InfoPath form with an attachment button. When the last drop-down is yes then only the attachment section appears. The problem is when this is clicked, a grey overlay appears ...
0
votes
1answer
46 views

Flow with SharePoint Online

I have a list where I'm running a workflow created on MS Flow. I am using "start and wait for approval action" for an approval process. But with the approval, I also want to give the feature of ...
0
votes
1answer
50 views

How to copy item attachment to another item through Rest api or JSOM?

I have a list item with attachments. I want to copy this attachment to another item using JSOM or REST API. Anyone suggest an idea to do this.
0
votes
0answers
34 views

Problem with OkAttach() in a custom form

I have a custom form in which I add attachments. When I use OkAttach() function onclick I get TypeError: l is undefined (lowercase L) The problem is in file form.js in _layouts/15 My solution ...
0
votes
0answers
30 views

File not found error JSOM Sharepoint file uplaod

The code was working perfectly and suddenly this error: "Request failed with error message - File Not Found. Stack Trace - undefined" comes out, can some please help me? onFileSelected(event) { ...
0
votes
0answers
19 views

Cannot attach a file in a custom form - “getElementById is null” error

The problem : I am editing a custom form for a list in SharePoint. When I try to click "Attach file" on the ribbon it does nothing. In console there is an error: TypeError: document....
0
votes
0answers
139 views

Multiple attachments in single email in Flow

I have a html table where the data source is from SharePoint Image library. When a user selects the checkbox the row gets selected and I want to send an email to the user with the selected row value ...
0
votes
2answers
44 views

Sending Emails with Attachments

We have a requirement to have automation of sending emails with Attachments. For example the ff. scenario: User requests for a document which user does not have access. Then some approvals happen and ...
0
votes
1answer
141 views

409 conflict error when deleting multiple attachments using PnP js or REST

I am trying to delete multiple attachments from list item as below private _deleteOneByOneAttachment(ln: string, id: any, file: any):Promise<any>{ let item = sp.web.lists.getByTitle(ln)....
0
votes
1answer
85 views

Attachments to infopath list form

i created a list, then in the ribbon went to customize in infopath. There i created a form. The form will go through a few different steps where different people will review then add an attachment. ...
0
votes
1answer
59 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
131 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
202 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
23 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
124 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
21 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
174 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
99 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
17 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
119 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
38 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
1answer
25 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
50 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
22 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 ...
4
votes
3answers
640 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
69 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
109 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
60 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
554 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
197 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
522 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
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 ...
0
votes
1answer
2k 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
628 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
154 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
728 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("...

1
2 3 4 5
7