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.

Filter by
Sorted by
Tagged with
89
votes
16answers
24k views

CSS Files in _Layouts or Document Library?

There's been a lively conversation (such as it can be in 140 chars) lately about whether it is better to put CSS files on the disk in the _layouts folder or to store them in a Document Library in the ...
12
votes
2answers
21k views

How to display more than 3 views in document library?

I have 4 views "All Documents" "Agreements" "Permits" "Deeds" I want to display all 4 of them above my document library but only 3 get displayed and the fourth gets placed in the "..." section. I ...
4
votes
1answer
4k views

Do not apply CSR Override in QuickEdit Mode

I have been working from a few different examples and nearly have a jslink file working with CSR overrides such that the 'title' value is used in the 'name' field and the title column is hidden. The ...
87
votes
14answers
302k views

How do I enable “Open in Explorer”?

I have full control over my SharePoint site. When I click on my document library and then click the "Library" tab on the ribbon, I see an option for "Open with Explorer" but it is disabled. The ...
4
votes
3answers
60k views

Need a different views for Folders & Files in Document Library

I need a different views for Folders & Files in a Document Library. I want Folders to have different columns & Files in the folders to have different columns. Is this possible?
2
votes
3answers
6k views

Copy document from one site to another..?

,I need to build something (using a sandboxed solution?) to demonstrate that SharePoint has the ability for users to copy a document (with its attributes) from a doc library in one site to a doc ...
23
votes
6answers
71k views

Clearing short term file lock

I've come up against a problem I've been unable to solve, and based on my 2 days of Binging around, I've yet to find a solution to fix the problem the same with a slew of others. I've got several ...
21
votes
5answers
20k views

How to restrict a document library to a specific file type (extension)?

I have a SharePoint intranet site where I need to allow users to upload certain documents. These documents need to be only PDF files for example. What is the simplest way to restrict the document ...
20
votes
9answers
21k views

How can I disable the Document Library drag and drop function?

Before I start - I'm new to this SharePoint development lark and am slowly familiarising myself with it. We're using SharePoint online and I have amended the SharePoint out-of-the-box document ...
11
votes
3answers
16k views

Download and delete documents using Powershell

I'm looking to build a Powershell script that does the following to all documents in a SharePoint 2010 document library: Downloads the document to a network file share Deletes the original document ...
5
votes
1answer
6k views

Powershell for downloading documents with versions

is there any PowerShell script which downloads all the documents with folder structure from document library maintaining version of each file?
4
votes
2answers
13k views

Retrieve folders and sub folders from document library by REST call

I need to get a list of folders and sub folders from document library. I feel that approaching this problem using REST call would be easier than the traditional CSOM query. Please suggest a relevant ...
2
votes
2answers
4k views

Create a document-libary with SharePoint rest api

Is it possible to create a document-library via SharePoint Rest API?
10
votes
2answers
19k views

Get all Files from sub folder of a certain content type

my problem is I have a document library with sub folders. Also the document library got more than one content type. Is there a way to create a CAML or LINQ query to get all files of a certain content ...
14
votes
3answers
20k views

Add group to Library permissions using powershell

I have written a script that created a document library called "Audit Logs" for every site collection in our environment. I then wanted to ensure that only Site Collection administrators and the ...
2
votes
1answer
1k views

Download all files in a Documents Library and upload them to a different Share Point Installation

I have a SharePoint farm with several folders with documents which need to be copied to a different SharePoint installation. Is it possible to download all files with the folder structure. And re-...
14
votes
4answers
49k views

Link to “Download a Copy” from a Document Library

I have a Document Library with some exported webparts (.dwp). When I embed a hyperlink somewhere to the document, it opens in the browser (IE8). I cannot change any settings on the site collection ...
15
votes
5answers
14k views

Add Document Library XsltListViewWebPart using CSOM or web services

How to add a document library XsltListViewWebPart (or list view web part) on page using CSOM with SP2013 when we do not want to use the in-built view with "Name, Modified, Modified By" fields? Custom ...
31
votes
4answers
66k views

Create link to “new item” form

I have a sharepoint docuemnt library and i'd like to create a link on my homepage that will launch a new item form associated to my list. Does anyone know what the url would be if my document library ...
2
votes
1answer
12k views

jQuery & SP2010 : Upload document to library using jQuery?

I built a custom form that saves the data to multiple lists with on click; it works pretty well for its intended use (keeping the data related). Thing is I am totally new at jQuery and SPServices, but ...
19
votes
3answers
50k views

SharePoint 2013 - Change URL of document library

I created a Document Library called Resource Documents. Would it be possible for us to set a friendly URL on this library so that files may be read with the following URL pattern... http://site/my-...
10
votes
5answers
20k views

What are the client side requirements to enable the “upload multiple files” link?

What are the client side requirements to enable the "upload multiple files" link? I'm using WSS 3.0. Also using FBA, not sure if that matters. It "works on my machine", but not for some other users....
5
votes
1answer
11k views

How to Upload File to Document Library using JavaScript Client Object Model?

I want to Upload File to a Document Library using JavaScript in SharePoint 2010. I found that you can copy file from One Document Library to Another but you can't upload File using JavaScript on this ...
2
votes
3answers
21k views

'Contribute without delete' permission which allows the users to delete their own document

I know it's possible to create a custom permission 'Contribute without delete' which doesn't allow users to delete any documents within a library (or edit a document title if there's no check out/in ...
2
votes
4answers
18k views

update document properties in library using csom

in the code below I am uploading a document to a library. This part is fine but the problem is with setting the properties of that document. I have not been able to find an example that does that. I ...
1
vote
2answers
15k views

How do I move files from one document library to another using JSOM?

I have two document libraries on the same web, and am wanting to move the files from one to the other using JSOM/CSOM. Can anyone please shed some light on how to do this? Thanks
0
votes
2answers
6k views

Update person or group field using REST API in Document Library

I want to update the Person or Group field in Document Library using REST API. How can I achieve this. Thanks.
6
votes
4answers
46k views

Show only a subfolder of a document library in a web part

I want to show only a particular folder in the right pane of a page using a WebPart in SharePoint Foundation 2010. Is this possible? When adding the WebPart, I could only add the document library. ...
4
votes
2answers
4k views

Set version of a document

We are looking at moving a some documents into a SharePoint 2010 document library. Is there any way to set the starting version number for each document?
2
votes
2answers
13k views

Use workflow to move document within document library to different folder in same library

I am looking to use a workflow to move documents within a document library to a specific folder in the same document library (this to manage access rights on different documents via the libraries). ...
0
votes
1answer
1k views

Upload a file to folder in a document libary

I have a java program that uploads a file to a document libary and i have a method that creates a folder. I want the file to be uploaded to the folder but i keeps getting uploaded outside the folder. ...
6
votes
1answer
10k views

Get Library and Folder from document guid (C#)

Information given I am using version 16.0.0.0 of the Microsoft.SharePoint.Client library. There are several different document libraries in the SharePoint site. In code, we are given a list of ...
4
votes
2answers
6k views

How do I configure a document library to create a new document using a custom template?

So I'm absolutely new to SharePoint 2010, and have been given a task as part of my internship and I'm stuck. When I click 'new document' in Document Library, I need to give option of selecting 1 of ...
6
votes
6answers
32k views

Difference b/w Read and View Only

I have a requirement to setup a permission level, where user can only see the document and see the associated metadata columns but cannot download or open the document. We have a permission level "...
10
votes
4answers
44k views

Overcoming ~5000 File Document Library Limits

Microsoft technet states that document libraries have a file limit of 30 million items: http://technet.microsoft.com/en-us/library/cc262787(v=office.15).aspx#ListLibrary In practice, numerous ...
5
votes
1answer
11k views

Traverse through List of Documents using PowerShell

I am new to PowerShell and would like to achieve the following tasks on a SharePoint 2010 Document library: 1) Using PowerShell, how can I display the List of Documents in a simple Document Library. ...
3
votes
2answers
850 views

How to show an indicator when an item has been added to a folder in a document library (SharePoint 2010)

I have a requirement to show some sort of indicator when an item has been added to a folder in a document library. At the item level, SharePoint has the "New" indicator. This does not seem available ...
2
votes
2answers
37k views

How to get all the files inside the folder in list

I want to get all the images name inside the folder which is present in list. site>list>folder>files I want to achieve this using csom code. please help me i am able to get the list but not folder ...
1
vote
1answer
3k views

Sharepoint 2013: How to customize context menu view in document library

I want to customize the view of context menu in a document library. So first image is what looks and second image is what i want, like context menu in lists. I mean i dont want the big box.
1
vote
2answers
9k views

Get all document from all folder and subfolder from document library sharepoint powershell

I'm making a script in Powershell for get all the documents within a document library and its folders and subfolders, I'm doing something like this: $DocumentLibary = "TestDocuments" $LibLists = "...
1
vote
2answers
894 views

Create security field

How can I implement security field for SharePoint list? For example, the list should have field that contains salary. This field should be displayed for the Managers, but should not be displayed ...
0
votes
7answers
11k views

SP2013 open pdf files in a new window

I am using sp2013. I have a document library with pdf files. When I click on the pdf file it opens directly in the same window. How can I make it possible the pdf file opens in a new window? In ...
6
votes
3answers
42k views

Allow users to submit items to a library but not edit or delete

I have a library where I want anybody to be able to add items to it, but only a select few can edit them or delete them. The unpriviledged folk currently have "Read" permissions on the library, and ...
5
votes
9answers
25k views

Missing “Upload Multiple Documents” in SharePoint 2007

I'm using MOSS on the server and have Office Enterprise 2007 and IE9 on the client. In all libraries, I can only upload a single document at a time; the multiple document upload option is not ...
4
votes
1answer
1k views

ItemUpdating event not firing on folder rename w/ Windows Explorer

I have an Item Updating event receiver that needs to fire when a document library folder is renamed. Everything works perfect when a user renames the folder with the SharePoint UI. However, if ...
4
votes
2answers
6k views

MS Project files opening in read only mode

I've got a user who has Project 2007 files stored in their MOSS 2007 team site. He checks out the file out and then says Edit in Microsoft Project. When the file opens, it opens in read only mode. ...
3
votes
1answer
4k views

EventReciever to change permissions

I am trying to create an event reciever on a document library that on creation it removes all permissions and gives the author contribute writes. All other users get nothing. I have the following ...
3
votes
1answer
1k views

Why Item Updated and Item Added trigger together when we add a item to list (document library)

I have gone through hundred of articles over months but never understood as what could be the reason Item Updated and Item Added trigger together when we upload a item, even though if you try this....
3
votes
4answers
7k views

Open txt files in document library in an editor (notepad)

I added some txt files to a document library and would like to edit them in notepad. However, I don't get this option. Is there anyway do to this? I realize this question is similar to: Open txt ...
3
votes
1answer
11k views

How to restore exported list cmp file

I went to SharePoint 2013 central administration - Backup and restore - Granular Backup - Export a site or list and Exported a list which as .cmp extension. Now how do I restore this list in ...