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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
2
votes
1answer
5k 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 ...
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 ...
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 ...
1
vote
2answers
478 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 ...
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 ...
3
votes
1answer
2k views

Why is a folder automatically created named “1” in Document Libraries?

I am facing an issue with SharePoint 2010 when i create a document library a folder named "1" is automatically created, how can i get rid of this folder and why it was created. If i open the library ...
2
votes
4answers
13k 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. ...
2
votes
2answers
2k views

Apply metadata based on query string or selected value in page control

When a user uploads/creates a document into my document library, i need to be able to apply a metadata tag to the document either from the URL query string or from the value selected in some web-part ...
2
votes
2answers
2k 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?
1
vote
3answers
621 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 ...
0
votes
3answers
13k 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?
3
votes
3answers
22k views

Excel document opening in browser (unsupported features)

I am using Sharepoint 2010 and when users click on an .xlsx document in a document library it says the following: "The workbook cannot be opened because it contains the following features that are ...
3
votes
1answer
2k 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
2answers
3k 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 ...
3
votes
3answers
2k views

How can I print all of the documents in a document library using code?

I want to know how to print all the files in a document library. I googled it and unable to find the solution. But during search I found a tool which provides almost the same type of functionality. ...
2
votes
5answers
13k views

Disable Send To and Download a Copy options for files?

I'd like to completely restrict the Send To and Download a Copy options found under the Documents tab in Document Libraries for all users. How can I accomplish this? Edit: I should make myself a ...
1
vote
2answers
9k views

How can I allow users to add documents to a library but not be able to open other documents listed?

I am hoping to create a virtual dumping ground for users to upload their confidential documents, but not be able to open/read/edit other documents. Is a document library the best option? I know if I ...
1
vote
2answers
2k views

Reading meta data stored in Word templates on SharePoint

I have a doc library on SharePoint for my work templates (DOTX). The doc library has a column called "Template ID". Each template has an ID stored in that column. I want to use VBA to loop through ...
1
vote
4answers
2k views

Saving Document library as template with size greater than 10MB

I need to save document library as a template with data. However there is a limitation of 10mb to save doc lib as template. Is there any way to solve this? I use WSS 3.0 thx -saumil
0
votes
2answers
324 views

How to attach documents stored in document library to mails using Client Object model in Sharepoint?

I am trying to attach a file present in a doc library and send it using smtp in client object model. Its in office 365. It throws an exception "The given path's format is not supported". Is there any ...
0
votes
1answer
575 views

AllItems View of Query String: can I group using value in query string?

Can I somehow how a query string to show a group of documents within a given library. Not one single item, but the AllItems like view. So within the library I have a grouping type of id value in a ...
0
votes
2answers
2k views

Discuss a Document

My users have requested the ability to start threaded conversations around documents in a document library. This can be achieved with a third party add-in, ...
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 ...
4
votes
2answers
2k views

Hosting Office Templates in a Document Library (Office & SharePoint 2010)

I know, SharePoint added this wonderful feature with those document templates, where i can stick a document directly onto a library, and integrate it into SharePoint with some simple clicks (and an ...
2
votes
2answers
3k views

Remove button from Ribbon in a specific toolbar

I need to remove 'Upload Document' button from the Ribbon on a Document Set library, with the toolbar set to "None". I can successfully remove it from the Full Toolbar (which is the default one) ...
0
votes
2answers
2k views

Find if content type is hidden (Visible is not checked) on the list level using SharePoint web services

I am trying to know if a content type is hidden (Visible not checked in Change new button order and default content type section) on a SharePoint list using SharePoint web services. I have tried 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 ...
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 ...
2
votes
1answer
2k views

Set “Overwrite existing file?” unchecked by default when uploading document

Due to Business requirement is it possible to set "Overwrite existing file?" unchecked by default when uploading document. This change would let users prompt when overwriting document, at the moment ...
1
vote
1answer
690 views

SharePoint 2010 - How to temporarily disable alerts being sent for a document library

I need to make changes to a lot of files in a document library. A lot of users have e-mail alerts enabled on this folder. How can I temporarily disable alerts being sent for this document library? ...
1
vote
1answer
3k views

Uploading files to Document Libraries using the REST API

I see that the OM API can do it, but is there any way to use the REST API to upload files (word docs and PDF's) to a document library, and update the data items as well. I want to use Java to do this, ...
0
votes
1answer
1k 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?
7
votes
3answers
393 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. ...
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 ...
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 ...
4
votes
2answers
1k views

How to open documents in browser from a ContentByQueryWebPart (SP2010)

In our current SharePoint 2010 solution, opening documents directly from the document-library works just fine, but when I click on the files through a CQWP, this doesn't work. Instead, the standard ...
3
votes
2answers
4k views

Document library breadcrumb

Can someone tell me how to add a breadcrumb for a document library to a site page so that it will show the nested folder structure as a user navigate up and down the directory structure. Example ...
3
votes
3answers
6k views

Why are documents inside a folder not showing when a filter is applied?

I added a custom column called Project (string) to a Document List. I then set different views in different pages to filter on that column. The problem is that, when applying the filter, documents ...
2
votes
5answers
1k views

Folder creation in Document library using listdata.svc

Do you have any tips how can I create a new folder in a document library using listdata.svc (OData REST interface of SharePoint 2010) from JavaScript? SP creates a new file instead of a folder. I can ...
2
votes
1answer
372 views

Visual studio 2012 Workflow 2013 to change file permissions in SharePoint 2013 Document?

Possible to change file level permission on a document (in document library) with Visual studio 2012 workflow for SharePoint Online 2013?
2
votes
1answer
648 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 ...
2
votes
2answers
2k views

Document Libraries Limits

I wasn't able to find this information... My question is related to amount of document libraries that I can create on a Document Center web app. There is a limit? Does anyone knows that?
2
votes
4answers
3k 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 ...