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
2 votes
0 answers
26 views

Using custom file handler when sharing document

I added a custom file handler for certain extension for both editing and preview on my SharePoint Online tenant. However, when generating and sharing an anonymous link to a document of this type, the ...
user avatar
0 votes
1 answer
28 views

Move large amount of files between libraries

We have a library with nearly 1TB of data stored in around 5M files. These need to be moved to another library on the same SPO site because at the moment the files files are stored in the default ...
user avatar
  • 129
0 votes
0 answers
38 views

SharePoint Online file preview page always redirects back to library - chance of custom backlink?

In a SharePoint Online modern library you get a preview page with clicking on a PDF file. This is a very cool feature so far. But the moment you click on the X to close this online viewer, you always ...
user avatar
  • 3
1 vote
2 answers
254 views

SharePoint find and delete file

A cyber attack generated thousands of files in SharePoint with this name "Read_me_now.htm". In PowerShell with the command Find-PnPFile -Match * read_me_now.htm * I display them. With what ...
user avatar
0 votes
0 answers
46 views

How to upload a file to a hub site in SharePoint Online using PowerShell

I've created a new app, generated app id and secret, assigned full permissions for https://mydomain.sharepoint.com , but I can't upload a file to the Shared Documents folder using the following ...
user avatar
1 vote
2 answers
25 views

Having different columns and categories for each file level

I have been tasked with reorganizing our SharePoint library using metadata filters. I was curious if it was possible to change what columns are present based on what file level I am in. For example, ...
user avatar
0 votes
0 answers
17 views

Is there a difference between the /Files endpoint and the /Children endpoint with the Sharepoint Rest API

I'm currently working out how to iterate through files on a sharepoint using rest. Ultimately I'll have to get all files from a folder, do stuff, and then upload to another folder. From what I can ...
user avatar
  • 103
0 votes
1 answer
94 views

Display sharepoint file in iframe on custom website

I would like to use this https://docs.microsoft.com/en-us/graph/api/driveitem-createlink?view=graph-rest-1.0&tabs=http#creating-embeddable-links and display webHtml in my website. I'm trying ...
user avatar
  • 43
0 votes
1 answer
145 views

How to select all files in SharePoint Online Folder and Download (more than 100)?

I am trying to select all files in SharePoint folder (2000 files) however when I click on the circle next to name, it only selects 100. How can I select all 2000 files and download them?
user avatar
  • 103
0 votes
1 answer
47 views

SharePoint restrict column edit

I am creating a document management system on O365 SharePoint Online. I have added several columns of data for each pdf which is uploaded to a folder. I would like to temporarily "lock" a ...
user avatar
  • 1
0 votes
2 answers
73 views

SharePoint Page CSS Updated but Not Showing On Page

I needed to change the position of an element on my site page CSS. The folder that contains the CSS is located in the Site Assets. I changed it and reuploaded it to the Site Assets, and when I open ...
user avatar
  • 129
0 votes
1 answer
420 views

In a REST call to '/_api/web/Lists/GetByTitle('title')/items?$select=... , what are the allowed fields?

Where could I find a list with these allowed values ? I could use, for example, FileLeafRef, File, *. But I could not find these values documented somewhere. Can anybody help?
user avatar
  • 113
0 votes
0 answers
46 views

SharePoint Rest API(add file) request returning http 500 when using Transfer-Encoding chunked

I'm hitting my SharePoint online site, to add files to the 'Shared Documents' list. Trying from postman, I can get the access token (https://accounts.accesscontrol.windows.net/xxxxxxx-xxxx-xxxxx-xxxxx-...
user avatar
0 votes
1 answer
344 views

File Downloaded From SharePoint Online using PowerShell is not Formatted Correctly

When using Powershell to download a file from SharePoint Online, the file is not encoded or formatted properly. With the below code, I am able to successfully authenticate to the site and download a ...
user avatar
0 votes
0 answers
31 views

SharePoint 2013 API / versions on files. Extract version history of custom SharePoint file properties

I'm trying to iterate through the file versions of documents on our SharePoint document library. The goal is to extract what some custom properties were at a given point in time. However, I'm having ...
user avatar
1 vote
0 answers
79 views

PowerPoint not opening from Desktop app

I have a problem to open pptx from SharePoint Document Library modern view SharePoint online. When I click on the file nothing happens, where docs or docx and excel files opens from desktop app. This ...
user avatar
0 votes
1 answer
24 views

Can I upload a PDF attachment in a list and edit/save in the browser?

Can we edit PDFs directly as an attachment? This is probably impossible, but is there a way to upload a PDF as an attachment, make changes to that PDF in the browser, and save it to the attachments ...
user avatar
1 vote
1 answer
854 views

How to query only documents from a library filtering out folders

I need to get all documents from a lib. I use Get files (properties only). It returns documents and folders as well as separate items. How I can set a query to return only documents?
user avatar
  • 45
0 votes
1 answer
206 views

Is file link hyperlink protocol not supported in SharePoint?

Hyperlink which opens a file locally on SharePoint Fails (2016/2019). When selecting the link, the console reports: Not allowed to load local resource: file:// If right click and select copy link ...
user avatar
  • 131
0 votes
1 answer
103 views

Why doesn't SP remember my column sort settings?

I have a SP files site, the folders of which are labelled 01_label 1, 02_label 2 etc. which I want to have sorted in order of the first two characters. Instead, every time I open it, even after ...
user avatar
  • 1
0 votes
2 answers
114 views

Web Preview Limit Size

My company is reviewing some solution, one of them is SharePoint. I need to know the size limit of file that can be preview thru web viewer. For example, if I want to open and present PowerPoint file, ...
user avatar
1 vote
0 answers
91 views

How to get long-lived embeddable link from Sharepoint / Onedrive file picker?

In our web app, we enable users to upload files, and preview them. We also enable them to upload from their cloud drives, such as Google Drive, DropBox, and OneDrive.Most of our users are using ...
user avatar
  • 11
0 votes
1 answer
409 views

Folder Icon of a document library disappeared

I have a document library with folders. The folder Icon disappeared. How can I get it back?
user avatar
0 votes
5 answers
446 views

What Is The Path To A PnPFile In SharePoint?

In the Documents directory in Sharepoint online I have a sub-directory called Development and a file in there called FontDemoInfo.txt. In the browser it looks like: Documents > Development ...
user avatar
0 votes
3 answers
436 views

Download files from SharePoint library folders

I have SharePoint Online site and library with folders. There are folder like YEAR / Month / 16 June / files inside. What would be the best way to download files from this folders? I can use C# or VBS....
user avatar
  • 25
2 votes
1 answer
359 views

SharePoint 2019 Site Library Files missing (Open with explorer view and mapped network drive)

I have mapped the SharePoint Site Library as a network drive on the same SharePoint server. However, some files are not appearing in the File system but the same files are appearing in the SharePoint ...
user avatar
1 vote
1 answer
46 views

File update statistics

We have a workflow, where business users have to update the data in SharePoint every day. Is there a way to monitor it easily and smart way? Currently I am clicking each folder to the file and I have ...
user avatar
0 votes
3 answers
46 views

Sharepoint - Online

I am looking for a similar windows which will pop in when uploading the document to a SharePoint online site "Modern Look". I am able to get this window in SharePoint classic library when ...
user avatar
1 vote
2 answers
1k views

How to replace an existing file in SharePoint Online using REST API

I am trying to upload a file using REST API as below: String.format("{0}/_api/web/getfolderbyserverrelativeurl('{1}')/files" +"/add(overwrite=true, url='{2}')",serverUrl, ...
user avatar
0 votes
1 answer
56 views

Why is SearchExecutor returning results in inconsistent formats and what can I do about it?

I use the following method to find List<File> on our SharePoint site: private async Task<List<File>> FindAsync(ClientContext clientContext, KeywordQuery keywordQuery) { ...
user avatar
0 votes
1 answer
51 views

File viewer web part renaming file in document library

I added a file viewer web part in SharePoint Online page and uploaded file from local desktop. When I wanted to modify or add some changes in file, I do changes in local computer file and I am ...
user avatar
0 votes
1 answer
263 views

What is this green box with a white arrow next to the word doc icon?

I was moving folders to a different location in sharepoint, where all the files within the folder moved except for this one. What is distinct about this file from the others is the green box with a ...
user avatar
0 votes
3 answers
4k views

Download file contents from SharePoint Online via REST

I have a site on SharePoint Online with some documents in the Shared Documents document library I'd like to download via REST. All the calls I make are returning a bunch of file properties in XML. I ...
user avatar
  • 101
0 votes
1 answer
79 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?
user avatar
  • 1
0 votes
1 answer
2k 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 ...
user avatar
0 votes
3 answers
121 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 ...
user avatar
1 vote
1 answer
2k 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-...
user avatar
  • 47
0 votes
1 answer
30 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 ...
user avatar
  • 1
1 vote
1 answer
72 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 ...
user avatar
  • 13
0 votes
1 answer
116 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....
user avatar
  • 1
1 vote
2 answers
529 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 ...
user avatar
2 votes
3 answers
10k 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 ...
user avatar
1 vote
1 answer
392 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 ...
user avatar
2 votes
1 answer
84 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 ...
user avatar
0 votes
1 answer
389 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 ...
user avatar
  • 3
0 votes
2 answers
1k 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: \\...
user avatar
0 votes
2 answers
379 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 ...
user avatar
  • 309
0 votes
1 answer
279 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 ...
user avatar
  • 59
0 votes
2 answers
207 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? ...
user avatar
  • 1
1 vote
3 answers
2k 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 ...
user avatar

1
2 3 4 5 6