Document library is a list for storing documents

learn more… | top users | synonyms (1)

2
votes
3answers
5k 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
3k 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
163 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
203 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
2answers
6k views

Can a workflow move a document?

More specifically I was wondering if a sharepoint designer workflow can move a document into a folder once it has been approved. And if it can move a document into a folder once it is approved can ...
2
votes
2answers
3k views

How to I programmatically move documents from file system to SharePoint Library

We have a file system, with about 12 folder and 1300 documents in it. The top level has 3 folders, with 3 sub folders each. I am planning to create 3 libraries, with 3 folders in each, and transfer ...
2
votes
2answers
2k views

How to overwrite an existing document in SharePoint Library with a new document with different name?

In a SharePoint 2013 Document Library (version with x.x version enabled!) I have a PDF document, let's call it doc1.pdf which I want to replace by a new version. The new document I have is called ...
2
votes
1answer
340 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
3answers
6k 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
2answers
3k 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
3answers
454 views

Permissions for a custom document library

I would like to include a document library in my SharePoint site and make it visible only to a certain group of people. All other content on the web site should remain available to everyone. How can I ...
2
votes
2answers
203 views

Removing document library buttons

In my document library I have successfully hidden the Open In Explorer button by using the following code (code 1). <script type="text/javascript"> _spBodyOnLoadFunctionNames.push("...
2
votes
1answer
9k 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

Sharepoint 2013 : Tree view structure for Document library and setting permissions

I need to have a tree view for a folder "Demo" from a SharePoint document library . The tree view should display all folder inside doc lib "Demo" and on right side i need all items within the folder . ...
2
votes
4answers
84 views

Assign permissions to library view

Is it possible to assign permissions to a View in document library? Let's say I want to create a View on which only Group1 will have access. Is this possible?
2
votes
3answers
123 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
3answers
431 views

How to show certain documents in one library only to users who are member of certain group?

I'm trying to figure out how to show a view of a library only to users who are a member of a SharePoint group, which is also specified in the document library as a value in a column. Example: If I ...
2
votes
3answers
7k views

Copying Files from One Document Library to Another

We are in the process of migrating several documents from multiple document libraries into one central document library. I need to copy all of the files located in one document library on our ...
2
votes
3answers
4k 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
7k 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
13k 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
581 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
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 ...
2
votes
6answers
8k views

All Site Content “Site Pages” link redirects to homepage, not library page

On my All Site Content page, under Document Libraries, both the Site Assets and Style Library links point to the correct place: site/libraryname/Forms/AllItems.aspx However, the Site Pages link just ...
2
votes
5answers
5k 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
135 views

Retrieve all files from all folders and subfolders in document library

I want to retrieve all the files which are last modified in a particular document library. I will not be able to find out that how many folders are there in the document library. User can select any ...
2
votes
2answers
139 views

How can I set permissions so that users can only see their own uploaded documents? Sharepoint Online (Office 365)

We are using Sharepoint Online (Office 365). We have multiple users that submit documents on a recurring basis in a specific folder. Is there a way to set permissions so that an uploader can only see ...
2
votes
3answers
71 views

Best way to share documents where some must not be shared

I'm planning to setup SharePoint 2010 sites and I will store documents in one place in order to not create additional administrative work. However, what is the best way to make certain documents in ...
2
votes
2answers
175 views

Find out user who deleted an item in SharePoint 2013 Document Library or List

Let's say a user deletes few items from a document library. Is there a way we can find out the user name of the person who deleted those. I looked into alerts which does let one know which item was ...
2
votes
2answers
98 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
2answers
884 views

Copy documents to a subsites

I have a site collection MySiteCollection which contains many subsites like SiteA, SiteB, SiteC, etc. Each subsite contains its own subsites. For example SiteA-1, SiteA-2, SiteA-3. And I want to ...
2
votes
2answers
3k 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
3answers
1k views

Document Library-Major and Minor Views

I have a document library with major and minor versioning enabled. Within this library we have documents that most people in the business need to see both minor and major versions, although only ...
2
votes
2answers
533 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
2answers
2k 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
2k 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
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'...
2
votes
3answers
653 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
2k views

When does the word “New” being removed from new item inside an announcement list, or document library

I have a document library and an announcement list, now for any new item inside these lists a “New” word or symbol will be displayed for couple of days , then it will be cleared out. So my question ...
2
votes
1answer
12k 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
4k 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
473 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
2k 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 System....
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 I'...
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
4k 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
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 ...