New answers tagged document-library
0
votes
Get full Site file listing
The "Export to Excel" button in the web interface downloads a .iqy file that opens in Excel and shows a full file listing. It's fast and can be searched and processed:
- 113
0
votes
How to hide columns of subfolders inside a library?
It's not possible in Folder in SP Library. However, you can use Document Sets instead of folders. You can create content types for Document Sets and you can add/edit columns as per your need
- 334
1
vote
Get all the Document set title in the library using REST API in SharePoint
Use REST endpoint like below:
https://contoso.sharepoint.com/sites/SPConnect/_api/web/lists/getbytitle('DocumentSets')/items?$select=Title
Where DocumentSets is the name of your document library.
...
- 36.5k
1
vote
Accepted
How document's metadata/property sync behaves - SPO To MS Office Files (Word, Excel, PPT) and MS Office Files (Word, Excel, PPT) to SPO
Default / OOTB behavior of SharePoint Document’s Metadata Sync / Document Parser
Sync is enabled by default in every SharePoint library. Document
metadata sync is bi-directional (SharePoint Online to ...
- 334
1
vote
Accepted
Customizing PnP Search results
You need to create managed properties for your column from SharePoint Admin Center. You can follow steps from below link:
https://sharepointmaven.com/how-to-create-a-managed-property-in-sharepoint-...
- 1,462
0
votes
Change SharePoint Online Document Preview Pane Height
Unfortunately, this is no way to customize this panel using SharePoint out of the box settings.
SharePoint does not allow customizing this details pane using JSON formatting or Power apps either.
- 36.5k
0
votes
File not found error when uploading file using CSOM
Try replacing line 8 from your code with this:
string documentUrl = txtSiteURL.Text + "Docs/" + fileName;
If the txtSiteURL.Text parameter already comes with a / at the end. the "/Docs/...
0
votes
Different format for sub folders in document library
Unfortunately, this is not possible using SharePoint out of the box capabilities.
The views in library are created at document library level and not at folder/subfolder level.
So, if you change any ...
- 36.5k
0
votes
How can I format a column using JSON to prepend the office URI scheme to the document link?
I have tried this on our SharePoint site and found the exact same issue at our end.
I think the issue is because hyperlink URL is not starting with either http or https. Hence the hyperlink / anchor ...
- 36.5k
1
vote
Accepted
Unable to get the file which have '.lock' extension inside PnP PowerShell script
Try below code to fetch .lock extension file:
$LibraryName = "Documents"
$LibraryItems = Get-PnPListItem -List $LibraryName -PageSize 500 -Fields "FileLeafRef" | Where {$_....
- 1,467
1
vote
Accepted
SharePoint Online - Can we restrict a user from copying files/documents?
I think this is not possible using SharePoint permissions as you want to allow users to move files but not copying the files.
For moving files from document library, you need Contribute or higher ...
- 36.5k
0
votes
Link from SharePoint Library to list item
Try below suggestions:
Create one more column in document library and pull the item ID from list into this column against the subfolders.
Use SharePoint JSON Column formatting on above column to ...
- 36.5k
0
votes
Find all files matching metadata tag
If you want to create a new document library view with all files & without subfolders,
You can modify the current view and select "Show all items without folders" under the Folders ...
- 36.5k
0
votes
Link to a list item from a document library
Follow this steps:
Navigate to the SharePoint list using the browser.
Select the Settings (gear icon at the top right corner >> List Settings
You can find the List GUID in URL
Example URL:
...
- 36.5k
0
votes
Modification date gets updated when selecting/clicking a file
You can add a created by and created date by editing your view and selecting those from your column options as well. it helped us find original versions.
0
votes
Allow specific user to view SharePoint documents (minor versions) / Create file with specific user 'Created By'
You can set Created By column value to respective user using Power automate flow.
Follow the steps:
Pass email address of current user to Power automate flow
Get loginName (user principal name) of ...
- 36.5k
0
votes
Merge multiple document libraries into one
Bit late to the party but we use Metashare. It allows you to search on metadata as we as normal filenames and file content. Nice easy way rather than duplicating sites.
- 1
0
votes
Record changes in Document Library. File Updated, File Replaced File's Metadata updated etc
Most of this is covered by SharePoint version history and the Microsoft Graph API has endpoints for fetching these versions:
List versions of a driveItem
Listing versions of a ListItem
Alternatively, ...
- 3,350
0
votes
File upload got slow all of sudden on SharePoint 2016
After one long month to look into the cause of this issue. We didn't find anything and decided to switch to a different library.
As any template from built from the same library behaving is same ...
- 1,204
1
vote
Accepted
SharePoint 2013 REST API Methods to Get File Names from Folders
You can use SharePoint REST API endpoint in below format to get the files from specific folder inside document library:
https://contoso.sharepoint.com/sites/SPConnect/_api/web/...
- 36.5k
0
votes
Accepted
List all Files with all Properties/Fields for a given folder Path
Use REST API endpoint in this format:
_api/web/GetFolderByServerRelativeUrl('/sites/<site-name>/Shared Documents/folder path')/Files?$expand=ListItemAllFields
Similar thread: How to get all ...
- 36.5k
1
vote
SharePoint 2013 REST API Methods to Get File Names from Folders
You need to provide the "Folder URL" which is a server relative path of a folder. Let's say you need the file names from "Folder1" folder of "ABCLibrary" document library....
- 1,467
0
votes
How to inherit variable set to folder to files in the folder
This is not possible using SharePoint out of the box functionality for folders (SharePoint default "Folder" content type).
Instead of using these folder content type, you can use Document ...
- 36.5k
1
vote
"Sorry, your files couldn't be uploaded. The upload might be too large or the server might be experiencing high network traffic." uploading large file
Saw the same error across multiple sites but not in our lower environments. On a hunch, reached out to network team before opening a Microsoft ticket.
We narrowed down the cause to be a network load ...
- 21
Top 50 recent answers are included
Related Tags
document-library × 3943sharepoint-online × 891
2013 × 474
2010 × 345
sharepoint-enterprise × 325
permissions × 240
document × 240
sharepoint-server × 218
list × 200
content-type × 175
folder × 173
development × 159
powershell × 157
workflow × 149
2007 × 125
sharepoint-foundation × 120
javascript × 114
file-upload × 114
sharepoint-designer × 110
modern-experience × 107
versioning × 100
web-part × 98
document-set × 91
office-365 × 82
metadata × 82