Document library is a list for storing documents

learn more… | top users | synonyms (1)

2
votes
5answers
4k views

How to make document library in top level visible to subsites?

I have a requirement for a top level portal site to have a document library - pretty easy so far. There will then be sub sites underneath this that need to access this document library, as we are ...
2
votes
2answers
674 views

How can I see what documents have been deleted from a Document Library?

I have a document library that had files in it yesterday. Today it does not. When trying to view some sort of an audit log I realized I didn't know how to. I'm using SharePoint 2013 Online. How can I ...
2
votes
3answers
87 views

Use list or doclib?

I've got a list with a few thousands items. (It is a list of users that have completed some course.) Sometimes a user would like to have a course diploma printed. How could we achieve this? ...
2
votes
2answers
752 views

How do I get a collection of document libraries using Javascript CSOM?

I'm working on an UI feature for my SP2010 site and would like to display a number indicating how many documents were added to a specific library since the users last visit. The UI will display a box ...
2
votes
2answers
5k 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 ...
2
votes
1answer
1k views

Programmatically list folders from a document library

I have a document library with several layers of folders within, I'm trying to populate a dropdownlist in a web part to display a tree like display of the folders but my code foreach(SPListItem ...
2
votes
2answers
401 views

EnsureSiteAssetsLibrary throwing exception

The short story, when trying to execute SPListCollection.EnsureSiteAssetsLibrary I get: Exception calling "EnsureSiteAssetsLibrary" with "0" argument(s): "A list, survey, discussion board, or ...
2
votes
2answers
378 views

SP2010: Get all library names within a site using javascript client object model?

How do I get the names of all libraries within a given site using jquery/javascript? the only way i know of is using getByTitle('listtitle'), but I would like all names of libraries (hopefully there ...
2
votes
1answer
7k views

How to access document library files via a webservice?

I've images that are stored in a Sharepoint document library, can these files be accessed using a Sharepoint webservice ? For sharepoint Lists a service is explosed via the '_vti_bin\Lists.acmxs' url, ...
2
votes
1answer
344 views

rootFolder.ContentTypeOrder throws unexpected error for sandbox solution

I'm trying to add content types into a library list, in order to make "Visible on New" option ticked. Firstly I enabled contenttypes in the library, then I want to do this: SPFolder rootFolder = ...
2
votes
1answer
4k views

SharePoint 2010 URL limits not completely understood

My team and I are trying to test the limits of SharePoint 2010 - specifically around URL and path lengths. In our root web, we created doc library that contains a main folder with an arbitrarily long ...
2
votes
1answer
1k views

Get Error 401 when trying to download a document from a library programatically

I'm trying to download a document with this code : using (Impersonator impersonator = new Impersonator()) { siteURL += "?NoRedirect=true"; System.Net.WebClient _WebClient = new ...
2
votes
2answers
2k views

Content Types “Link to document” and open in Dialog

I have a new Document Library and have added the content type "link to a document" to the library. Somehow when I create a new "link to a document" item in the library the dialog won't open. Instead ...
2
votes
5answers
1k views

Specific Access to Files within Document Library

My company is trying to develop a solution within Sharepoint for sharing documents across similar departments of different companies. The requirement is that there is a store of documents that each ...
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) ...
2
votes
1answer
6k views

Sharepoint Document Libraries - “Date Created” field

I have a request from a Sharepoint user to show the "Date Created" column in her document library. Trouble is, I cannot find a way to show the date of when the Document was added to the library. I ...
2
votes
2answers
1k views

Making 'Add new document' to really add new document and not upload new document

Currently, I have my 'Add new document' (as shown in Illustration A) that keep on giving the following 'Upload document' page (as shown in Illustration B). My intention is to show a new InfoPath form ...
2
votes
1answer
554 views

Understanding Document Library Better

In SharePoint 2010, I have a document library to store some pdf, docs files. I also have some other custom columns in the document library. 1) What is the maximum size / character I can give it to a ...
2
votes
1answer
520 views

jQuery cascading dropdowns and Word

If a user clicks on New from a document library then a word template opens with metadata in the header section, will the SPServices jQuery cascading dropdowns work in the word's header? I doubt it. If ...
2
votes
2answers
2k views

Is it possible to use DocIdRedir.aspx for linking to the display form

We are using a Link to a Document contenttype. The url used in this contenttype contains an url like http://ont/abc/_layouts/DocIdRedir.aspx?ID=N57YVKN5WQKX-2-2247. When testing this url it always ...
2
votes
5answers
2k views

Allow users to view items in Document Library, but not open the files

I have the requirement to allow users to view the content of a document library, including browsing through folders, but not actually open the individual files. There doesn't appear to be a ...
2
votes
2answers
63 views

Dynamically populate page with links to document libraries

The business where I work wants to move from one library with multiple client folders to one library per client. To ease in administration I want to create a page that displays hyperlinks to all ...
2
votes
1answer
205 views

Check If Document Library Already Exists Using Powershell

How can I perform a check if a document library already exists using Powershell in SharePoint 2010?
2
votes
3answers
242 views

SharePoint big list limitations

I have a scenario where there might be potentially more than 25 thousand documents in a single document library. Can a single document library SharePoint handle that number of items? What would be ...
2
votes
1answer
2k views

Copy file in a library to a folder in another library with Workflow

I using SharePoint Online 2013 and Workflow 2013. I need copy a file in the library "A", folder "Test1" to the library "B" to the folder "Test2". I need do this using Workflow. In the function ...
2
votes
2answers
101 views

sharepoint 2013 online permission bug

I think I found a bug in SharePoint 2013 Online. I have created a site with "internal documents" that has unique permissions set. If I save this site as a web template and I create a new site with ...
2
votes
1answer
2k views

Office 365 - Open html document in browser in document library

I'm using office 365. I would like to be able to click on an html file in the document library and have it open in the browser instead of prompting me to download. How would I do this?
2
votes
1answer
701 views

View only Document Libraries in Sharepoint 2013

We've migrated from Sharepoint 2003. In Sharepoint 2003, there were a link in on the left hand side, called Documents. When you click this link, it list all document libraries in the site. How do ...
2
votes
1answer
211 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 ...
2
votes
2answers
1k views

Can I create a link that when clicked creates a new list item.

I dont have access to SharePoint designer :(. My goal is to make a button that says something like "Create new item" and when clicked pulls up the form to create a new item in a list. Is this posible? ...
2
votes
1answer
80 views

Error on updating a document item

I have an issue with updating an item in ItemUpdated event. Basically on ItemUpdated, I would like to reupdate that item by setting some properties, because it is a docx I have to do it in ...
2
votes
1answer
348 views

Document Library View filter on term

Say I have a view that has a column based on metadata from my termset. I want to create a view that contains all the items that are tagged in one parent term and its child terms. For example: A view ...
2
votes
1answer
2k views

Document Properties not carry to new version

SP 2010, I have a document library with versioning turned on. If I populate title on the document, and save it... then I upload a new version of the document the title will get wiped out. How do I ...
2
votes
2answers
64 views

On AddingItem event in Document Library distinguish is it a document or a folder

enter code hereI have a small issue, I cannot seems to find a way to find out what time of item is being added, so i have a method AddingItem and here i need to know is this item a FOLDER or just some ...
2
votes
4answers
4k views

How can I move an item in a library to another folder preserving meta-information?

I have a library with numerous folders and documents that I am trying to organize. The easy way would be to use explorer view, but I'm getting errors accessing it to which my internal help desk is ...
2
votes
4answers
11k 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 ...
2
votes
2answers
1k views

Do not upload to document library automatically

Is there a way to turn off, or disable, automatic document upload on a document library? When I upload a document to a doc library (using the Upload Document form) SharePoint automatically uploads ...
2
votes
6answers
4k views

Problems storing Infopath 2010 XSN files in a document library on Sharepoint 2010 server

To collaborate on building forms for collecting data, we are uploading our .xsn form templates to a document library in a "Sharepoint Admins" site. There are a couple of problems with this approach ...
2
votes
4answers
4k 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
1answer
430 views

SPDocumentLibrary.CheckedOutFiles does not return all files

I am working through some code samples on MSDN that is suppose to return Checked Out files but my tests is showing a problem. Here you can see that both "default" and "foo" in my Page library are ...
2
votes
2answers
1k views

Issues with alerts and required check out for editing

We are having an issue with alerts related to forced check-out in a document library. We would like an alert to be sent whenever a document is uploaded to a particular document library. Using the ...
2
votes
2answers
657 views

Modifying a document when uploaded

I am modifying Word and PDF documents when they are uploaded to a document library with an event receiver. ItemAdded runs perfect without any errors, I manipulate the documents and save them to ...
2
votes
2answers
309 views

Putting signatures to Word documents

Is it possible to put signatures (simple texts) to the Word documents before the user starts downloading the file? Thanks.
2
votes
1answer
568 views

How to upload an XDocument to a document library without a local hard drive path?

I have seen code such as: String fileToUpload = @"C:\YourFile.txt"; String sharePointSite = "http://yoursite.com/sites/Research/"; String documentLibraryName = "Shared Documents"; using ...
2
votes
4answers
340 views

Document Library throws NullReferceException everytime I try to grab an item

This code is from a sequential workflow. I am trying to grab the most recent item in a document library. I check to make sure there are more than zero items in the library, then I try to grab the most ...
2
votes
4answers
4k views

Uploading multiple documents into a library keeps the documents checked out and not visible to other users

When you upload multiple documents into a Document Library with versioning turned on, is it a SharePoint 2007 default to keep the documents checked out? For some reason, when multiple documents are ...
2
votes
1answer
557 views

How can I query average document size on a site?

I am doing capacity planning for a new SharePoint 2010 site, and it would be useful to know the average file size on an existing SharePoint 2007 Server we have for comparision. Does anyone know if ...
2
votes
1answer
218 views

Possible to create a document library for my web part on installation?

I have a web part that need to have its own document library. Is there any way for me to check to see if that document library exists and if not create it, when the WSP is installed?
2
votes
2answers
65 views
+100

Uploading file using COM occasionally gives an error that the file has been modified

I have created an Office Add In that is used to upload a Word document to SharePoint, showing a list of sites/subsites and Document Libraries. After the file is uploaded I set the content type based ...
2
votes
1answer
22 views

Why files are not checkedin using following code

I have checked out couple of files in document library manually by right clicking on item and click on checkout. Then i am using following code to checked in files that i manually checked out, But ...