Document library is a list for storing documents

learn more… | top users | synonyms (1)

2
votes
2answers
9k views

Fetch list item properties using Powershell

I have document library. I want to replace some document properties using powershell. There are multiple properties associated with each document. First I'll need to check for all documents if that ...
2
votes
2answers
1k views

SharePoint document library - purpose of the Title column

I understand that SharePoint 2007 indexes the "Title" metadata of a word document but what I don't understand is why is there also a column called "Title" within the document library? What is its ...
2
votes
3answers
134 views

Create a workflow in SharePoint

I am new to the SharePoint technology. I need to create a workflow when a new document has been uploaded to the document library, it should fire an email to a particular user. How to do this?
2
votes
3answers
508 views

Two different documents with same name become one

If two users have two different documents but same name, when the second user saves his file in same document library, it overwrites the first user's document and the document gets new version. Is ...
2
votes
5answers
2k 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
3answers
3k views

Deny user access to a “Document Library”

I'm using Sahrepoint 2010. I've created many Document Libraries according to how many departments we have in the company and i want to specify access permission to users for viewing and opening ...
2
votes
2answers
2k 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
5k 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
2answers
76 views

Is it safe to change title of view AllItems.aspx in Document Library?

I'm always extremely paranoid when it comes to renaming / changing standard "objects" like views or fields within SharePoint. I have received a request to rename the title of the AllItems.aspx-view ...
2
votes
1answer
137 views

Document Level Permission

I have a document library that is accessible to many users, I need to maintain some confidential document in this library and in the meantime I must control the accessing permission on these document ...
2
votes
1answer
192 views

Do check out in a document with jquery

I'm using SharePoint 2013. I need do check out in a library document using JQuery. Someone help me?
2
votes
2answers
2k views

SharePoint 2013 Search Result Refiners Showing No Data

Inside my document library I have columns named "Departments", "Category", "Sub Category" and "Index". I added data to these columns, re indexed the library and created managed property for them. The ...
2
votes
1answer
7k 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
4k 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
4k views

2010: Custom List Template ID

I searched everywhere, but could not find a solution that worked for me. We've created a default document library, changed it a bit and saved it as a new document library template from the user ...
2
votes
3answers
3k 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
5answers
6k 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
9k 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
553 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
44 views

Create doc in Doc Library with fields prepopulated

We are trying to accomplish this... From a page in a site, the user selects a value that is offered in a drop down based on who the user is in the organization. This drop down is in place already and ...
2
votes
1answer
206 views

The specified file or folder name is too long

I Know by default, file name length is 128 char, but can this be overridden, because I need my file name to be longer then 150 char.
2
votes
2answers
827 views

Using firefox to edit office documents inside my document library

I have a problem in understanding what is the standard approach to follow for editing office documents inside my document library. As it seems each browser will have different behavior when it comes ...
2
votes
2answers
293 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
95 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
1k 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
7k 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
493 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
1answer
4k views

REST post with metadata column?

I have a jquery script that uploads a file to document library. I'm trying to set a choice column in the same call, but can't seem to get it to work. The upload is working, but Col1 is a choice ...
2
votes
2answers
499 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
9k 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
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
1answer
394 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
5k 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
2answers
1k views

how do I know if the specific list is a document library?

when I'm getting all the lists with my Client program from a specific SharePoint server, I'm getting quite a lot of them, but I'd like to present to the user only the Document Libraries. How can I do ...
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
2k 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
2k 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
563 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
514 views

Is it possible to compare current user to a SharePoint list/group and switch views if they belong?

So I have a list of managers in my SharePoint site, and I am able to get the current user by using a web service and storing their name into a control. Is it possible to compare this name to everyone ...
2
votes
1answer
545 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 ...