The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [document-library]

Use a document library to store, organize, sync, and share documents with people. You can use co-authoring, versioning, and check out to work on documents together. With your documents in one place.

1,088 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8
votes
1answer
891 views

Set metadata column value from query string when uploading documents

When users upload files to a SharePoint Online (2013) document library, I would like for a value from the query string to be inserted into a metadata column in the library. I found a number of posts ...
6
votes
1answer
545 views

Move files to subsite and retain version history, no coding (Sharepoint Online)

We are dividing our team's site into more specific subsites, and I'm trying to migrate some files from the site's Documents library to a subsite without losing the version history. I know this ...
6
votes
2answers
1k views

hide 'Folder' in the document-set properties, Content Type dropdown

I have a document library where I use document sets. The setting 'Make "New Folder" command available?' is set to NO. When I however edit the properties of a document set, 'Folder' is available in the ...
5
votes
1answer
140 views

SharePoint Online Management Shell

Is there any way to check site collection document libraries Metadata i.e. (last modified date, owner name) using SharePoint Online Shell?
5
votes
1answer
431 views

Document & Library with Anonymous Access Prompting for Credentials

I have a SharePoint 2013 Web Application, where I have configured Anonymous Access. At the Site level, I have enabled Anonymous Access for Lists and Libraries. In one of the Libraries, I have broken ...
5
votes
3answers
3k views

Get size of SharePoint list and library using CSOM

Is there any REST api / any approach to get the size of list and library in a site collection using client object model.? I know we have SPSite.StorageManagementInformation but this is can be used in ...
5
votes
1answer
191 views

Content types drop down list and creating a <Please Select> option

When uploading a new document to a library, I have a list of 10 content types to choose from. However, I am worried that end users will not bother sensibly picking from the list and just pick the ...
5
votes
1answer
2k views

Error Occured While trying to restore minor version SharePoint 2013 Doc lib

I was trying to restore the version of the document in doc lib to previous minor versions, but I encountered the following error: Then i went to logs and searched for Correlation id and found the ...
5
votes
1answer
1k views

Sharepoint 2013 - Add lookup column to key filters

I've got a document library of invoices. It has various columns (mainly choices) such as, Year, Status, Location, etc. and I've been able to add them to metadata navigation as key filters. However, ...
4
votes
0answers
39 views

Is this bar in modern experience customizable

I was wondering if I can change the order of the things listed on this bar. I wanted to switch check in option with share since we rarely use the second one.
4
votes
3answers
1k views

Move specific folder in a document library

UPDATE 1: I have the following script, but it's not working correctly: Add-PSSnapin Microsoft.SharePoint.PowerShell #input = https://sharepoint.oshirowanen.com/sites/oshdev $websiteurl = read-host "...
4
votes
0answers
57 views

Unable to moving a document larger than 40Mb to a Drop Off Library with SharePoint 2010 Workflow

Using SharePoint 2013 (but 2010 workflow) I'm involved in building a system whereby a file is uploaded to a document library by a user. Once the metadata is attached a workflow copies this document ...
4
votes
2answers
2k views

Use JSOM to get unique permissions for a folder in document library

I would like to be able to retrieve the permissions for specific folders in a document library via JSOM. Specifically, I would like to be able to use JS to determine if the active folder that the user ...
4
votes
1answer
1k views

Office 365 Document library Sync option not enabled

I had a team site owner contact me wondering why they can't sync to a new file library that they've created. (See image.) So I went and did some exploring. They added a bunch of content types, and ...
4
votes
1answer
381 views

List out all files inside all folders of Document library using Server object model

SPFileCollection foler = pdflibrary.RootFolder.Files; Above code line will only give files outside folder. How can get all files inside and outside folder into SPFileCollection. What is the easiest ...
4
votes
2answers
1k views

Document Approval Workflow in SharePoint 2013

Firstly, apologies if this has been answered somewhere, but I have spent 2 days hunting through Google, including results here, and I haven't found an answer yet, so I thought someone here may be able ...
4
votes
2answers
1k views

Excel document opening in web view even though default is to open in program

I have a document library with one Excel spreadsheet in it. The document library's settings are such that the spreadsheet should be opening in each client's Excel program, not in Excel Web View. I ...
4
votes
1answer
2k views

How can I remove all ratings from a SharePoint document library?

I have a SharePoint 2010 document library in which I have enabled ratings. During testing, several people rated a number of documents, and now I'd like to reset all the documents back to zero. However,...
4
votes
1answer
3k views

Export Infopath Form from SharePoint List

I have a List that uses an Infopath form. Is it possible to extract the actual Infopath xml document. The idea is I want to have a process where I extract the item as xml as dump it in a document ...
4
votes
1answer
1k views

Why does SharePoint 2010 Excel WebPart not find Excel spreadsheet in Share Documents?

I have a SharePoint 2010 single instance. The Web site has an Excel worksheet in Shared Documents, which I can navigate to as a user. I have enabled Excel services. I have activated Excel services ...
4
votes
0answers
1k views

Win7 Office2010 SharePoint2007 Error Editing/Viewing Documents

SITUATION: We are having an issue with users editing files in MOSS 2007 using IE8. This is not impacting users that still use Windows XP and Office 2007 (IE7), but rolling back is not an option. The ...
4
votes
1answer
892 views

Approach for SharePoint 2010 file upload workflow

[Crosspost from StackExchange.] I'm working on a project that is basically a file upload "wizard" that basically does the following: Entry form to select document library and enter some basic info. ...
3
votes
0answers
21 views

Location of (permanently) deleted minor versions from OneNote file

currently in our company environment we have OneNote Online file stored in our SharePoint 2013 (site assets) and on OneDrive: -https://XXX.XXXX.net/sites/pl-p46/SiteAssets/Showroom%20PL%20Notebook?...
3
votes
0answers
56 views

How to change icon for a specific Content Type

I have a collection of pdf documents that are considered Knowledge documents as they reside in a Knowledge Base and are curated. They are in a Document Library and have a specific content type... ...
3
votes
0answers
227 views

Content Type of Folder incorrectly set in Document Set

I'm experiencing an issue that is directly related to this question posted here (https://collab365.community/forum/topics/sub-folder-content-types-set-wrong-in-document-set-library/): I have a ...
3
votes
1answer
63 views

How to check the file is used by another process?

In sharepoint from Document library i was read the file and Download the file using FileStream object. Sometime it was downloading. Sometime i will receive the following error. The process cannot ...
3
votes
0answers
32 views

Performance of libraries in practice

I know the official limits and boundaries and I know how to use views and folders to stay under the 5k threshold, but I'm strongly under the impression that in practice the max. number of documents in ...
3
votes
0answers
143 views

How to remove an 'ill formated' view

My Document Library errors, when trying to go to its settings, or to create a view. It also errors, when accessed with SPD. The logs hint where the issue is: "Application error when access /...
3
votes
1answer
2k views

What does “csf=1” mean in a folder URL?

While viewing a Document Library in SPO, when I "copy link" for any given folder, at the end of the URL there's "csf=1". However, if I "copy link" on a file, it has "ID=..." instead. (URL's copied ...
3
votes
0answers
88 views

List form connected with library (list form with document file)

I have a list and a form to it. What I need: form with specific word file in it which can be edited (so user open form and he can see fields to fill and one field with document that he have to edit) ...
3
votes
0answers
85 views

SharePoint Online: Skip Property doesn't work with Order By in paging using CSOM

I am trying to fetch the contents of Document Library using paging. For this, I am skipping the resources using ListItemCollectionPosition and getting maximum resources using <RowLimit> in ...
3
votes
0answers
234 views

Will Microsoft Flow for SharePoint libraries work for all users?

I used Microsoft Flow and created a flow that copies document from one sharepoint library to another SharePoint library I used the below template It worked in one library. But when I replicated the ...
3
votes
1answer
112 views

No default value for a column when copying files using rest API (SharePoint 2013 standalone)

I am trying to copy files from one SharePoint folder to another, using REST API, but I see that although all the files are copied, only some get default value for a particular column, while others do ...
3
votes
1answer
82 views

12K document in single document library!

One of my customer is using a custom DMS in which they store all documents, of all projects and departments etc, at single location with metadata tagged with each document and use a search/filter page ...
3
votes
0answers
42 views

Redirect search result item to web part view not actual list

I have 4 document libraries (DLs) , each of them has been viewed in a web part with another page.aspx. I have search center for all of those DLs, when the search result comes on the search page and ...
3
votes
0answers
58 views

Parent Folder Not Found

I have a simple library with folders. When I navigate into the library and browse deep, I can click the parent folder name in the header to navigate back up. If I have a direct link to a folder, i.e....
3
votes
0answers
64 views

Sharepoint document library raising exception on files that don't exist

I've been monitoring exceptions which are raised from my site and noticed that a few errors of late - in particular an exception with a message stating that the the file {file name here} does not ...
3
votes
1answer
121 views

Document Library Required Columns

I'm trying to organize a document library by using different columns of information. I have two columns that are drop-down menus and one column that is a single line of text, all of which I set to be ...
3
votes
0answers
125 views

PDFs in Sharepoint Online Document Libraries not opening

My organization is using SharePoint Online. We have several Document Libraries that contain a variety of file types (Word, Excel, and PDF mostly). Users have been trained to double-click the Title ...
3
votes
0answers
448 views

Excel document template does not show up in “New” on document library

My intention is to create three document templates (document, spreadsheet, presentation) exactly like this guide (https://www.youtube.com/watch?v=pkbMa09LBx0) very straight forward. I had no problem ...
3
votes
2answers
913 views

Can you set the DefaultItemOpen property of a Library via CSOM?

In a document library under advanced settings, you have a setting around "Opening Documents in the Browser" where it can be: Open in the client application Open in the browser Use the server default ...
3
votes
0answers
345 views

Check In files which are checked out by another user

I want to check in file which is check in/check out before and currently checked out by some another user. I have tried SPCheckedOutFile but this will return files which are checked out but never ...
3
votes
0answers
33 views

How can I provide Advanced custom searching in a document library

I have one requirement to provide advance searching capabilities where the user will retrieve documents on basis of certain search parameters. For example a user selects a category, few sub-categories ...
3
votes
0answers
739 views

Prevent page reload when clicking a folder in a document library

I am currently working on SharePoint Online and I have created a customer page layout that is using Bootstrap accordion. Inside the accordion I have a document library that contains folders. The ...
3
votes
0answers
191 views

Sharepoint 2013 Document Library: Not reflecting Column order from content hub

In a document library where we have content types for one of the content types we have changed the order of the columns via the content hub settings: We republished this content type. When we add a ...
3
votes
3answers
70 views

Documents are not selectable in SharePoint 2013

I have a Document Library which works fine when I'm in the actual Library, but when I am in a modified or created view, I lose the ability to click on the document. What I'm seeing is one view ends ...
3
votes
1answer
1k views

How to upload document file and its version file using csom in C#

I have downloaded a document file (current version) and its version history files (old version files) from one of my sharepoint site list. Now, I want to upload that current version file into another ...
3
votes
0answers
174 views

Advanced search box in document library

I have a document library and it saves a lot of document set. The document set have different field like name, age or subject. My question is how can I use advanced search box in document library and ...
3
votes
1answer
83 views

how to get the files from active folder… the folder name is in hte URL - rootfolder

I've a document library and within this document libary I have sub-folders (no subfolders further). There is 1 documentlibary called DocumentACC and this document libary contains Sub-folders as you ...
3
votes
2answers
3k views

Download files from Document Library through Java

How can I download files from SharePoint using Java? I need to download all files under a folder using JavaAPI