Document library is a list for storing documents

learn more… | top users | synonyms (1)

2
votes
1answer
6k 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
3k 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
2answers
1k views

How to send a document from a document library directly as attachment?

Is there a way to change the behavior of the "send to"-drop-down in a DL from "E-Mail a link" to "E-Mail as attachment"?
2
votes
3answers
2k 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
1answer
5k views

How do I change a Document Library's Column Width?

How do I edit the column width of a document library (on the list view)? I'm using SharePoint 2010 Foundation.
2
votes
5answers
5k views

Creating Document with workflow: The file test.docx cannot be opened because there are problems with the contents

I have a document library with two custom content types. If I use the web interface and choose New Document -> MyCustomType the document template opens up and I can create and modify the document and ...
2
votes
4answers
8k views

Count of Files Under a Folder in a Document Library

Is there a way to get a count of the files under a folder in a SharePoint 2010 (enterprise) document library?
2
votes
2answers
541 views

Document library vs. list of links to documents

We have some user guides in PDF and DOC/X format on SharePoint for users to view; no end user would upload any new ones or edit existing. Should we use a document library or a list with links to the ...
2
votes
2answers
1k 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
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
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
182 views

Managing Microsoft documents inside SharePoint document library will behave differently according to the browser vender

I have a Document library inside my publishing site collection. now when the users clicks on any MS office documents inside the document library they will get different behaviors based on the browser ...
2
votes
3answers
89 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
838 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
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
423 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
399 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
355 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
558 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
524 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
3k 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
1answer
40 views

Get url of document library from REST call

I am working with O365 SharePoint site where I need to get the name and URL for the document libraries in a site collection. I have made a rest call for it as: https://site/_api/web/lists and select ...
2
votes
2answers
83 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
2answers
287 views

How to limit the file upload size for a specific document library in SharePoint 2010?

I want to limit the file upload size for a specific document library in SharePoint 2010. I do know that the upload size is for the entire web-application rather than a specific site/sub-site/library. ...
2
votes
3answers
260 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
109 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
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
778 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
214 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
2k 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
83 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
388 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
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
446 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 ...