Document library is a list for storing documents

learn more… | top users | synonyms

48
votes
16answers
17k 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 ...
31
votes
14answers
76k 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 ...
13
votes
4answers
18k 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 ...
11
votes
1answer
2k views

“Incoming e-mail settings” hidden from custom document library

Very simple set-up: Visual Studio --> Add New Item --> List Definition. Type: Document Library. Besides that - no changes. Deploy. Result: As you can see: No "configure incoming e-mail settings" ...
10
votes
5answers
7k 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 ...
10
votes
2answers
2k views

How to enable the “From SharePoint” link when inserting a link in a blog post?

When I create a new post in a Blog website, I would like to insert documents by picking them directly from my SharePoint libraries. Actually there is an option for that but it appears disabled even I ...
10
votes
1answer
911 views

Modification date gets updated when selecting/clicking a file

On our SharePoint site the modification date of files gets updated when it should not, when no changes to a file have been made. I have found two ways to reproduce this error: A document is opened ...
9
votes
2answers
1k views

Add huge number of folders

Is there any tips for programatically adding and managing the huge number of folders in document library? In my scenario, a document library has 3 hierarchies and each hierarchies contains 50 - 100 ...
9
votes
3answers
3k views

Why doesn't clicking New Document save back to the document library?

I'm watching a course on SharePoint Foundation 2010 Fundamentals. In it a document library is created a couple of columns are added, then when New Document is selected from the ribbon, Office opens ...
9
votes
3answers
8k views

How to traverse SharePoint Library in Client Object Model?

I have SharePoint Library and i want to traverse all folder and sub folder of it using client object model. Can anybody have solution ?
9
votes
1answer
2k views

Making Document Libraries visible to some users and not others

I have several document libraries that I would like to list on the front page but make visible to certain users only. If I set it up this way: -UserLib1, user1 has read permissions -UserLib2, user2 ...
8
votes
4answers
8k 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 ...
8
votes
5answers
7k views

Creating Nested Folders via Client Object Model

I'm trying to create nested folders in my document library so it looks like this: http://site/PublicDocuments/Folder1/Folder2/Folder3/ The document library "Public Documents" exists but none of the ...
8
votes
3answers
24k views

Listing all checked out files

As a site administrator I have to list all checked out files in the site collection. Looking at the DB is looks like the tp_CheckoutUserId field in AllUserData might be a key to this query. Is it ...
8
votes
4answers
3k 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 ...
7
votes
3answers
5k views

Show folders in document library that have a filter view

I am using SharePoint 2010 I have a document library with a view that Filter items only when a particular Column is true. The problem now is that when I have a filter in my view the folders in my ...
7
votes
5answers
3k 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 ...
7
votes
3answers
392 views

Filter out folders from a user alert against a list

I have created an alert for a user against a list (more specifically, a document library). I want the user to be notified of all changes regarding list items (documents) and not any sub folders. ...
7
votes
1answer
2k views

Create a Document Library Item base on a ContentType with JavaScript Object Model (JSOM)

I'm trying to create a new item in my Entreprise Wiki Pages Document Library. It's associated with a News Content type. I was able to retrieve the SP.List object (myList), the SP.ContentType object ...
7
votes
2answers
5k views

Adding document version number on Excel Spreadsheet as label for printing purpose

I have a situation where I need to have version number on each document in version controlled document library. Having version number on printed sheet would help to see the validity of document. I ...
6
votes
1answer
3k views

Fastest way for looping through a SPWebCollection

I've developed a console application for looping through all the webs inside my SharePoint 2010 site, but it's kind of slow, until the point that it throws OutOfMemory exception. This is the code I ...
6
votes
1answer
1k views

JavaScript Client object model, rename folder

I am trying to rename a folder inside a Document library. Right now I get my item and everything is good but when I try to rename it using set_item('title', 'NewFolderName') it crashes and unwinds the ...
6
votes
2answers
321 views

Script to automatically import documents from a network share on a regular schedule

I am new to SharePoint development. I am trying automate the task of: Uploading documents from a network share to a SharePoint document library. The related metadata for each of the files also need ...
6
votes
2answers
6k 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 ...
6
votes
1answer
2k views

How to Call “Open with Explorer” From Custom Code?

I have a custom layouts page that contains a custom visual WebPart. This WebPart wraps a XsltListViewWebPart with a toolbar. The toolbar is supplied as a RenderingTemplate. The XsltListViewWebPart ...
6
votes
2answers
2k views

How to copy web part pages between document libraries?

I have a web part page "DocLib1.aspx" in document library "DobLib1" and it has a few web parts. How can I take the same web part page and copy it to other document libraries? There are about 50+. The ...
6
votes
2answers
1k views

Sending documents as e-mail attachments

We have document library where we store various types of documents (word, ppt, infopath templates etc..) The requirement is to send them as e-mail attachments directly from SharePoint Document ...
6
votes
1answer
3k 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 ...
6
votes
3answers
1k views

Give a visitor user contribute access in a document library folder

I am facing problem in giving a visitor user permission as "Contribute" on a particular folder inside a document library. In my scenario the user is added in the top site collection inside the visitor ...
6
votes
1answer
896 views

Only allow Document Sets in a Document Library (ie no Folders)

I'm exploring the use of Document Sets as a more managed approach to file handling (in the recordkeeping sense) in SharePoint. The chief problem I have is that Document Sets are derived from Folders, ...
6
votes
2answers
1k views

Actual modified date of a document

Is there someway to get the actual modified date of a file in a document library. Modified field has the modified date for the item and not the file so if one of the meta data of the file changes the ...
6
votes
2answers
2k views

Document Library - show checked out date in UI

In a document library it is possible to show the "Checked Out To" field to determine who has a file checked out - is it possible to show when it was checked out so you can easily find 'Forgotten' ...
5
votes
9answers
15k 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 ...
5
votes
3answers
6k 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 ...
5
votes
2answers
5k views

How do I create a new document in a document library according to a template in a workflow ?

I have a document library with a DOCX template file. I want to create DOCX file in this library in a workflow but I did not succeed. Before, I created a workflow in Sharepoint Designer to create a ...
5
votes
3answers
9k 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
4answers
1k views

How to hide the _cts folder in all document libraries?

In one existing site collection all document libraries are suddenly showing the _cts folder. Any idea how to fix it?
5
votes
4answers
331 views

Side-effects of 10,000+ Document Library Folders

In SharePoint 2007, are there any side effects to having 10,000+ folders in a document library?
5
votes
3answers
4k views

Programmatically move a document in a library to another site collection

I need to create an ItemUpdated event reciever on a documnt library that will detect when particular metadata value is updated on a document and move the document to a library in another site ...
5
votes
3answers
2k views

How to modify dropdown document template list visible when creating document library?

When creating a document library, and specifying the default document template, the dropdown list of templates out-of-the-box (OOB) includes 97-2003 format files at the top of the list. Users who do ...
5
votes
3answers
3k views

“+ Add Document” link missing for some users

Running SharePoint 2010. I have a library that has a folder for each user. Each user has contribute rights to their own folder. However, for some users, even if I give them Full Control, they never ...
5
votes
3answers
5k views

How do I upload a document and set column values when doing so?

I am using the following code to download documents from SharePointand surface them to the user. ClientContext clientContext = new ClientContext(ServerUrl); clientContext.Credentials = cred; ...
5
votes
1answer
86 views

Exception in SharePoint WebApplication

I have developed a asp.net web application in SharePoint 2010,which deals libraries.I have to redirect the user,so I implemented session state.When I run it I am getting the following exception. ...
5
votes
2answers
190 views

Why is my web part showing “Add Document?” (Sharepoint 2013)

For some reason, one of my web parts is showing the "+ Add Document" link at the bottom of the web part as opposed to the new "+ New Document or drag document here" link at the top. The toolbar ...
5
votes
5answers
919 views

Index out of range, when opening folders in Shared Documents

Please see the latest edit at the bottom. I have multiple sites, within the same Sharepoint site, that each have documents within the Shared Documents section of the site. The majority of these sites ...
5
votes
1answer
143 views

Is there a way to make a site that shows the data from multiple libraries in 1 view?

At the company I am working with right now they have SharePoint 2010 and the current project has a lot of different libraries in different sites. Different users are responsible for adding documents ...
5
votes
1answer
860 views

Sharepoint 2010, Document Library, Key Filter - “Modified” field filtering is out by one day

We have a Sharepoint 2010 farm across 4 servers and added "modfied" as a Key Filter for metadata navigation. When I select to filter on a specific day I enter a date the filtered results are out by ...
5
votes
1answer
907 views

Can't get OfficialFile.SubmitFile to work

I'm trying to write a literal SOAP call (I'm integrating from a remote non-windows machine) to submit a file which currently resides in the drop-off library of the site. I created a simple file, ...
5
votes
3answers
2k views

Show Modified and Created columns with Date only

I'm looking for the best way (if there is one) to show the Modified and Created columns in a list/library with the date only, so without the time. For example, instead of 1/12/2011 8:37 PM it should ...
5
votes
2answers
6k views

How to move items between folders Document List?

Is it possible to move documents between different folders in Document List? EDIT: I mean possible for a sharepoint standard user, not an admin. For example, suppose that my Document Library has two ...