Questions tagged [file]

A computer file is a digital resource for storing information, which is available to a computer program and is usually based on some kind of durable storage.

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

SharePoint Online Highlighted Content Query Text Grouping

Using the SharePoint Online Highlighted Content web part, is there a way to group the files using the query text and KQL?
0
votes
1answer
24 views

Use curl to upload files to SharePoint Online - 403 FORBIDDEN

I have to upload files from linux box to SharePoint Online. I have used following command: curl -k -ntlm --user myusername:password --upload-file test.txt "https://url/test.txt" -v But I ...
0
votes
3answers
15 views

Where can I find the setting to allow site members to “Stop Sharing” a document or folder?

Currently, it seems that site members can Share documents and folders with anyone, but cannot then Stop Sharing them. How can I give all site members this permission without turning them into site ...
1
vote
1answer
32 views

SharePoint Online Powershell get content of an file

I would like to read the content of XML files in SharePoint Online. I would like to check if the XML file contains some text. I already tried something like this but it is not working: Connect-...
0
votes
0answers
16 views

Sharepoint folder sharing

I have an issue/challenge with sharepoint folder setting. We (as company) would like to share folders and files to external users (our partners). These sharing should be provided in two ways: One ...
0
votes
1answer
23 views

Sharepoint 2019 autochanges links from file://fs01/Public/Share to file:///Public/Share when editing a site page

Sharepoint 2019 autochanges links from file://fs01/Public/Share to file:///Public/Share when editing a site page. Seems to be something simple, yet I can't crack this one down, please find the ...
0
votes
0answers
4 views

Sharing files among subistes

The idea is to create two subsites under my department's site. The first subsite (A) is intended to be published for authorized partners to download items available for them. The second one (B) is a ...
1
vote
1answer
20 views

Static link to latest version of picture on sharepoint

I have a picture which is on SharePoint which is versioned. I upload automatically a new version every day and now I want to embed this picture to a page. I tried to do it by clicking on the picture ...
0
votes
1answer
29 views

Navigating to upload folder

i need to navigate to an 'upload' folder in the documents folder in code. I can connect to the site ok but not sure how to navigate to that folder. I am attempting to use clientContext.Web.Lists....
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 ...
1
vote
2answers
82 views

Delete sharepoint files older than 60 day using Rest api from powershell

I am working on a powershell script to delete files in a specific folder in SharePoint 2013. We do not have SharePoint online so the operation must be done with Rest API and from powershell. Can ...
0
votes
3answers
239 views

Download file from SharePoint Online with PowerShell

I am trying to download a file with PowerShell from a SharePoint online site. I have tried the script provided here: SharePoint Online: Download a File from Library using PowerShell. But without any ...
1
vote
1answer
50 views

Alternatives for downloading multiple files at once

I'd like to know if there are any alternatives for downloading multiple documents or files at once. Mostly an end-user friendly method. OneDrive for Business is excluded I already make use of the ...
2
votes
1answer
30 views

Is there a way to get the json content of files fetched through a CAML query?

const query = `<Where> <Eq><FieldRef Name="File_x0020_Type"/> <Value Type="Text">json</Value> </Eq> </Where>`; const xml = '<View ...
0
votes
1answer
54 views

filtering by file type is not working in share point 2016 on-premises rest API

I am trying to filter the files in a document library folder by file type and using the below API call for it. But the filtering doesn't work and it returns files with all the file types regardless of ...
0
votes
1answer
126 views

Return last modified date/time in VBA

Been really struggling to figure out how to return the last modified date/time in VBA, a lot of posts suggest using the already existing call to FileDateTime modifying the URL to look as follows: \\...
0
votes
0answers
20 views

How to open Microsoft office files in SharePoint 2013 using Apple Mac

How to open Microsoft office files in SharePoint 2013 using Apple Mac (Windows is working). See below error that i received when opening the file: Thanks
0
votes
1answer
34 views

Copy file between document libraries and update metadata

I'm using the following code to copy a file from one document library to another in the same site collection but I want to get the ID of the recently created file to update its metadata properties ...
0
votes
1answer
18 views

Flow with For a Selected File Trigger Passes not Info about Item

I created what should be a simple Flow: user selects doc in doc library, clicks Flow>FlowName. It prompts me to add approver emails which I do. The flow works great, but I cannot get any info about ...
0
votes
2answers
31 views

Show all files in documents folder view/structure but limit access to individual files in Sharepoint Online

is there a way in Sharepoint online to allow anyone who has access to a Sharepoint page to be able to view every single file within a folder but restrict certain users from actually viewing the files? ...
0
votes
0answers
23 views

Excel file upload

When I upload an excel file in SharePoint, some of its tabs are missing when I access it in SharePoint. I have 12 tabs in my 2Mb excel file but only 9 appears when I open it in SharePoint. How can I ...
1
vote
3answers
448 views

Create .xlsx file using Sharepoint Rest Api

Is their any specific headers need to set while creating .xlsx file in SharePoint? I have used the below Rest API code in postman to create the one but getting the attached error while opening the ...
0
votes
1answer
86 views

How to get content of file in sharepoint using sharepoint rest api

I am using below endpoint to get the content of file in sharepoint: https://<site>/_api/web/GetFolderByServerRelativeUrl('folder name')/Files('file name')/$value?binaryStringResponseBody=true ...
0
votes
2answers
54 views

I want sharepoint API to list last 5 files that got modified in a range of newer to older

I want SharePoint API to list last 5 files that got modified in a range of newer to older. How to get the top 5 files last modified.
1
vote
2answers
20 views

Migrating Local Filezilla Server to SharePoint

My company currently has a local FileZilla server that we use to share and store pretty much all of the company files. Primarily for the project managers and accounting department. I'm wondering ...
1
vote
1answer
55 views

How to speed up file reading using SharePoint CSOM?

I have created a function using the SharePoint CSOM to extract all files within a Document Collection (List) using the below code however it takes over 5 minutes to get a list of 3671 files. Is it ...
0
votes
0answers
45 views

Upload file from external web application to sharepoint online using REST service

I need to upload a file to SharePoint Online from SAP UI5(SAP UI5 is a front-end user interface to build desktop/mobile applications and is based on HTML5 & Javascript library). I'm trying to ...
0
votes
0answers
37 views

Sharepoint local folder naming convention

My organisation has moved over to SharePoint relatively recently. Most of the usual teething problems have been ironed out, but this one has been driving the programmers mad: When we sync a folder ...
0
votes
1answer
47 views

MS flow delete file from file system

I have created a flow to delete file from file system but I am getting error as below screenshot: Thanks in advance.
1
vote
0answers
74 views

CSOM to append a line in a text file [closed]

Using SharePoint 2010 and Microsoft.SharePoint.client.dll. I am trying to update a text file (basically adding a line at the end of the text file with log details) that is stored in a SharePoint ...
1
vote
2answers
488 views

Microsoft flow - Get First Char from File Name

I have a form that creates .docx files from a form / word template. User inputs Firstname = Joe Lastname = Dirt Then a file is created "Joe Dirt - New Hire.docx" I like to find a way to get the ...
0
votes
1answer
88 views

Name conflict behavior

In SharePoint online when my flow moves the file (PDF, ZIP...) named "U000" in a folder where is a file with the same name it renames the file in "U0001". How can I customize this to be renamed like "...
1
vote
1answer
25 views

sharepoint 2013 file don't edit in app

I have a problem with File in SharePoint 2013. I can open a file, but I am not able edit it. This problem is across the SharePoint farm. enter image description here
0
votes
0answers
35 views

Problem with file adding to item field

Good day, I have some SharePoint list. The List has multi-line field "Attachments" with the option "advanced rich text (rich text with pictures, tables, and hyperlinks)". And when I create new list ...
0
votes
1answer
36 views

Difference of two files using SharePoint

How do I get the diff of file1.csv and file2.csv from SharePoint (maybe using API calls, if possible)? diff : Compare the contents of file1 and file2 and produce the list of changes necessary to ...
1
vote
1answer
142 views

Retrieve File Sharing links via CSOM for the users outside of the domain

I currently have a program that will upload selected files to a specific folder on SharePoint and give access to specific users based on their emails using the SharePoint CSOM API, however, I am ...
1
vote
0answers
25 views

Move pdf files to a folder with in the same library

In SharePoint doc library I have few files. When I upload PDF files, these files only should move to a folder called 'PDF' and remaining files will have to move another folder. (These folders are in ...
0
votes
2answers
36 views

Number of upload limit inside a folder

May I know the upload files limit inside a folder? I mean each folder can contain how many files ?
0
votes
3answers
77 views

How to get deleted file when itemDeleted event fire in remote event receiver

How to get the deleted file when itemDeleted event fire in remote event receiver in SharePoint Online. I have tried as follows but this does not work: List photos = clientContext.Web.Lists.GetById(...
1
vote
1answer
206 views

How can I remotely delete a file in document library in sharepoint online using remote event receiver?

I want to write a program using remote event receivers to delete a file within a document library. when itemDeleted event fire the that same file which was in another document library should be ...
0
votes
0answers
18 views

Accesing excel cell data hosted on SharePoint from java code level

I have following use case: I need to get to SharePoint, pass authentication using my credentials and retrieve data from excel file(certain cell) stored inside. Everything done in java. I was ...
0
votes
2answers
338 views

GetFileByServerRelativeUrl is returning 400 bad request

I am trying to download file from SharePoint using below code url ='https://site_url/_api/web/GetFileByServerRelativeUrl("/PraveenTest/Test/file_name")/$value' headers = {Authorization: "Bearer" + ...
1
vote
0answers
32 views

Get a File Which Contains Turkish Characters

I am using Java with Rest api to get file from Sharepoint online. It is okay but if the file contains Turkish character i can't get it. If the file name is "test.pfd" , i can open the file but the ...
1
vote
0answers
34 views

Powershell script for deleting files starting with X and finish with_old Sharepoint online library [closed]

I need a script to delete files from the doc library in Sharepoint online. All files starting with specific latter (for example "X") should be deleted. And the ones starting with the same latter but ...
1
vote
4answers
82 views

Get link to file without sharing the file

Me and a colleague both have access to the same document library. I want to tell him to take a look at a PDF file inside this library. When I click on "Copy Link" a link is created and an additional ...
0
votes
1answer
32 views

What Real-time Collaboration Advantages Are There By Using a SharePoint Document Library Versus OneDrive?

I know SharePoint is a powerful multi-faceted platform useful for collaboration and that it is obviously very capable when trying to work on a document or spreadsheet simultaneously with other users. ...
0
votes
2answers
288 views

SharePoint Online: User can delete their own document or files, can't delete other's files

I would like users to only be able to delete their own files, But edit and view everything else. Is this possible in SharePoint Online?
4
votes
1answer
58 views

Difference between EffectiveInformationRightsManagementSettings and InformationRightsManagementSettings

Microsoft.SharePoint.Client.File has above two properties. Can someone tell me details about them and difference between them. According to my research, when IRM on a library is enabled, the details ...
1
vote
1answer
339 views

How to get document names inside a folder in sharepoint document Library?

I have a document Library in which there are a number of different folders. Each folder contain different documents. I need to fetch the name of all the documents in a particular folder. So far I have ...
1
vote
1answer
196 views

“Bad request” when trying to upload file

I am trying to upload file via C# to sharepoint server 2013, I copy pasted the code from here. I just added inside the constructor my credentials, like: public SharePointClient(string webUri) { ...

1
2 3 4 5 6