Document library is a list for storing documents

learn more… | top users | synonyms

2
votes
2answers
990 views

How to copy a document automatically

Is it possible for a user with site administrator access, to configure a document library, so that when a document is uploaded into it, it is copied automatically to another document library & ...
2
votes
5answers
4k views

Custom Event Receiver - Copy To Folder

I am in the process of writing a custom event receiver. The basic flow is as follows: Document is added to Library Based on metadata of document, we check to see if a folder within another document ...
2
votes
3answers
523 views

Can I use a custom field type icon instead of value?

I'm creating a new custom field type to go with my custom document library. What I want to do is to have the column display a small icon upon meeting a certain condition, for example if the element ...
2
votes
1answer
4k 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 ...
2
votes
3answers
2k views

rating is not saving in sharepoint document library

I enabled ratings from the Document Library settings page and choose “Rating settings”. Once this setting is made a new column is added to my library .But after selecting a rating, it is not saving. ...
2
votes
3answers
527 views

Get file names in sharepoint 2013 document library

What is the best way to get a list of all the file names in a sharepoint document library with javascript?
2
votes
2answers
8k views

The file “[file name]” is checked out or locked for editing even though no one has it open

I get the following error when I try to check out a document from a document library in SharePoint that has been recently edited: The file "[file name]" is checked out or locked for editing by ...
2
votes
2answers
836 views

Display list of file(s) within document library

Scenario : Sharepoint 2010 foundation site with a document library. The library has many folders (and probably sub-folders in each folder). There are files in these folders/sub-folders. I am looking ...
2
votes
2answers
1k 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
5answers
3k 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
66 views

Using a column other than “Name” to open item in list/library?

Is there a way to let users click on another single line of text field or even a date field in order for the document within a library to open up? My users don't want to have the "Name" field visible ...
2
votes
1answer
215 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
142 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
221 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
2k 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
602 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
896 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
931 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
479 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
3answers
8k views

How can I share an excel document with my team to edit?

I would like to know if something is possible and where to start. Each day, my boss sends out a spreadsheet listing our data entry errors for the previous day. All five of us download the sheet, make ...
2
votes
1answer
433 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
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
38 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
3answers
118 views

Multiple File Upload not working

When i try to upload multiple files it gives me error . Can someone provide a server side fix . Also the multiple upload doesnt work for Mozilla ,Chrome . Are there any third party tools to make ...
2
votes
2answers
104 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
1answer
120 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
1answer
3k 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
43 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
3answers
9k 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 ...
2
votes
2answers
57 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
5answers
3k 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
1answer
272 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
1answer
3k views

Moving large document libraries to new site collections

I have a site collection with a dozen or so document libraries in it (total size about 300GB's). The goal is to move each of these document libraries into it's own site collection (and content ...
2
votes
2answers
484 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
245 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
434 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
294 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
2k 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
2answers
1k 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
1answer
435 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
212 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
3answers
30 views

Deleting user permissions from document library instead of site level

I wanted to delete a user permission from ONE of the various document libraries in a SharePoint site. But when i deleted the permission, it seemed to have deleted the user permission at a much higher ...
2
votes
2answers
33 views

Alternatives to Remote Blob Storage for O365

Anyone have any thoughts/suggestions: Currently Remote Blob Storage is not available in SharePoint Online / O365. We have some remote locations in other countries where documents must stay within ...
2
votes
2answers
657 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
49 views

Are SharePoint versioning possible to validate according to Food Safety Standards?

Use Case: I often tell future customers that “Sure, you will have previous versions available for those with the right permissions”. While that is true, I wonder if I can get away with that statement ...
2
votes
1answer
223 views

Sync Disabled for Document Library created with custom list definition

In our project we are creating custom list definition and list instance based on that definition, as follows: Elements.XML in List Definition: <ListTemplate Name="MyListsDef" Type="10000" ...
2
votes
1answer
83 views

Documents Migrated from 2010 have bad Document IDs

I have done an upgrade for a SharePoint 2010 site collection to 2013. The site collection in question is a document center and there were a few thousand documents contained in it. Another person ...
2
votes
1answer
298 views

Gathering users requirements for building a document management system

I'm working in a company and we want to implement a document management system using SP. As a software engineer I will handle the requirement gathering. The document management system is somehow ...
2
votes
1answer
94 views

Changing Managed Metadata field

Sorry if my syntax is a bit off here, I'm very new to Sharepoint. We have a document library in Sharepoint with a Managed Metadata column for the department (we have a list of departments in the Term ...