Document library is a list for storing documents

learn more… | top users | synonyms (1)

12
votes
3answers
35k 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 ...
7
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 ...
4
votes
2answers
4k 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 ...
4
votes
5answers
3k 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
5k 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, ...
2
votes
1answer
319 views

Checkbox uncheck in document upload form for specific library

I want to change the behavior of the document library upload form i.e. it should appear unchecked when the user uploads the document in library. I searched over the internet and found this which ...
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 ...
8
votes
5answers
26k 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 ...
5
votes
2answers
7k 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 ...
5
votes
1answer
7k 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. ...
4
votes
1answer
4k views

SPFile.CopyTo() vs RootFolder.Files.Add()

I've been looking for method of copying a file or folder from one document library to a number of other libraries with the same name in each subsite for a particular site collection. What needs to ...
3
votes
1answer
16k views

Folders in document libraries: how to navigate back up to parent folder (web part on page)?

I have a document library web part on a page and it contains a folder. When a user clicks on the folder it opens and shows the documents inside, but there is no way to go back to the parent folder ...
2
votes
2answers
2k views

Calculating Fiscal Year

I am creating a document library in SharePoint 2013, where I want to have a column which shows the fiscal year (= not the date, only the year). It has to be a choice menu, since people in the ...
2
votes
2answers
3k views

sharepoint 2013 “open documents in client applications by default” is not working

I have to open any type of document(.doc, .pdf, .xls etc) in SharePoint web page itself. For that I have enabled a feature "open documents in client applications by default" for my web application. ...
2
votes
1answer
595 views

UpdateListItems throws “Cannot access a closed Stream.”

I have been trying to find out the issue faced for some documents while uploading in libraries using list.asmx service in web application. The steps i follow: Uploads document using copy service. ...
2
votes
1answer
3k 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 ...
2
votes
1answer
2k 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? I'...
1
vote
7answers
3k views

Button “Download a copy” ONLY works on the “All Items” view of document library

This is a problem that I have with every document library in our environment. I have enabled the option to download a copy, for every library. When I look at the "All Items" view of a document library,...
1
vote
1answer
317 views

Download Versions of a SharePoint 2007 Document?

Can anyone point me in the direction of downloading all the versions of a file in a SharePoint 2007 document library? Is this possible with PowerShell, C#, or another way?
0
votes
2answers
1k views

List files in a specific folder in a document library

I there anyway to output the files of a specific folder in a document library? Listing them will be like foreach $file in $folder.files { write-host $file.name } But how do I tell it to look ...
7
votes
3answers
555 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
3answers
7k 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
5answers
1k 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
2k 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 ...
4
votes
2answers
421 views

Hide document library using CSOM

I want to prevent users from accessing some document libraries. I have used the following code but it didn't work, Any solution? doclibraryinstanse.Hidden = true; doclibraryinstanse.Update(); ...
4
votes
2answers
12k views

Get documents By ID from document library using Rest API

Scenario I have a Document library named "My Documents". In that library couple of folders, for these each folders have another couple of folders (subfolders) and inside these folders, certain ...
3
votes
2answers
6k 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 ...
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
1answer
497 views

Why do I have folders called “1” in my document library after an upgrade to 2010?

We upgraded our MOSS2007 to MSS2010 (database attach upgrade method). We have multiple document libraries on a site. default.aspx contains web parts with the files from document libraries. The files ...
2
votes
4answers
5k 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 ...
2
votes
2answers
8k views

SharePoint 2010 Ocassionally not saving user's changes

Our users are experiencing an elusive issue in which their changes will not save to sharepoint. I have watched the users procedure for editing the documents, and this issue is occuring randomly ...
2
votes
2answers
3k 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 ...
1
vote
1answer
5k views

Creating a custom EditForm for a document library

I have been following this article: http://ikarstein.wordpress.com/2010/12/29/walkthrough-create-custom-sharepoint-2010-list-form-for-deployment-in-a-visual-studio-2010-project/ I have followed every ...
1
vote
1answer
2k views

Restored infopath forms still opening using the new template.xsn?

I did a site restore from an unattached database in order to get back all of my old infopath forms held in a document library. Reason being that I had modified (deleted and replaced with new fields) ...
1
vote
3answers
2k views

Create a Word Document in a document library programmatically

My requirement is to create a word document based on the information in SharePoint lists on the site. For dealing with the word I have three options: "Docx"library. (CodePlex Project) "OpenXML" "...
1
vote
3answers
2k views

Add keywords column to shared documents and announcements lists at creation

I want to use taxonomy fields for my "shared documents" and announcements. I can create the column afterwards. But what is the best way to do it automatically when a user creates these lists or a ...
1
vote
1answer
701 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
4answers
9k views

get all document from all folder and subfolder from document library sharepoint 2010

I want to retrieve all documents from folder to it's subfolder and so on using client object model.Please help me.
1
vote
1answer
4k views

Link to a document library in another subsite?

How can I display the same Document Library, that already exists in a Subsite A, in another Subsite B ? I want to display a Document Library with all the columns (Title, Modified By ...) and not links ...
1
vote
1answer
512 views

SP2010: Client object model: add new wikipage to document library

Is it possible to create a new wiki page using the client object model and give it some content ("<h1>Welcome to the SharePoint!</h1>")? I'm using VB.Net
1
vote
1answer
5k views

How to enforce metadata in document information panel in SP2010

My document library supports several custom content types. When "Add new document" is clicked, the Browse dialog for uploading the file is followed by the Document Information Panel which is properly ...
0
votes
3answers
2k views

SharePoint 2010 restricted document library contributors

Is it possible to setup a document library in SharePoint 2010 such that users can contribute, rate, and tag documents, but not edit the document itself once it has been submitted to the document ...
0
votes
2answers
2k views

How to find relative URL of a document library using JavaScript?

What I am trying to do is to enable the dialog with the metadata information when I drag and drop a file in a document library. The same dialog that appears when you upload a file through the +New ...
0
votes
3answers
11k views

Lookup column to Documents library

Here's what I need to do for a SharePoint 2010 list: Allow users to select the filename from a dropdown showing the items in the Documents library. But the "Add new item" form of the list doesn't show ...
0
votes
1answer
5k views

The SPListItem being updated was not retrieved with all taxonomy fields [duplicate]

I have added document library template using VS 2012. and then added custom content types to this library. the content types includes 3 managed metadata fields. After deploying the project when I add ...
0
votes
3answers
656 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 ...
0
votes
6answers
5k 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 ...
5
votes
1answer
5k views

Documents library wants to open Excel file in XLViewer

We've added some Word and Excel documents, as well as PDFs to the default Documents library in a SharePoint 2010 publishing site. However, SharePoint wants to open the Excel files in the built-in ...
5
votes
1answer
2k views

Permission to Anonymous user for Document of Document Library

I have a site in SharePoint which is not available for Anonymous user. I have created a document library and added Document in that. Now, I would like to show particular Document which is visible to ...
5
votes
1answer
3k views

Check in error “We can't do that becuase the file is no longer checked out or has been deleted”

SharePoint 2013, Office 2013 Std 32 bit. Win7 Pro 64bit Sp1. I've got an issue with checking my .XLSX file back in after any edits. Error message is as follows: "We can't do that because the ...