Document library is a list for storing documents

learn more… | top users | synonyms (1)

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
2answers
60 views

Export a custom Document Library using PowerShell

I would like to know how to export a document library (SharePoint 2010) using PowerShell and also saving metadata about content. I need to repopulate the document library with items coming from ...
2
votes
1answer
122 views

Get all documents from subsite with Powershell

I want to get all documents (and only documents) from a site with a Powershellscript and save the result in an .csv I need this because a lot of documents are stored in a bunch of subfolders in the ...
2
votes
2answers
380 views

Get Check-out Documents using Javascript

Is there a way to get all the checked-out documents in a library? I know this cannot be done by search-driven webparts, but is there a way let's say through REST or something like that?
2
votes
1answer
288 views

How to Disable or hide SharePoint “Open with Explorer” menu option in document library

I want to Disable or hide SharePoint "Open with Explorer" menu option in document library without switching off the checkboxes "Use Remote Interfaces" "Use Client Integration Features (removes Edit in ...
2
votes
2answers
421 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
206 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
487 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
1answer
3k views

How to trigger a workflow from an incoming email to a document library

I have been trying a bunch of different stuff to get this to work, lots of great info here. I thought I might as well ask to get some answers for sure or see if anybody had any ideas! Some ...
2
votes
1answer
372 views

Error: Document Upload URL Path Location Change

I have been experiencing the oddest thing. I have a excel spreadsheet that has links within the document that are linked to a network drive. The links work perfectly in the excel spreadsheet until I ...
2
votes
3answers
334 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
2answers
4k 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
151 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
1k 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
285 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
113 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
675 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
2answers
73 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
2answers
2k 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
5k 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
2k views

Creating a new ContentType with Document as base using Client Object Model

It would appear that the Client Object Model only retrieves user-defined content types as part of the ContentTypes property for a given web. I would like to create a new content type using Document as ...
2
votes
2answers
2k 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
984 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
361 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
673 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
372 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
5k 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
7k views

Permissions on Content Types?

I am using sharepoint 2010 and made my own content type that inherits from the page content type. This content type is in a folder called "content types" I am having a weird problem where if the user ...
2
votes
1answer
646 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
222 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
1answer
1k views

Content aggregation: Same document library in several subsites into one big document library in main site

Let's say I have a main site collection with three subsites each having one document library: MainSite SubSite1 (myDocLib) SubSite2 (myDocLib) SubSite3 (myDocLib) I want three subsites for ...
2
votes
1answer
19 views

Checked out files by all users

Is it possible to create a view of all checked out files by all users. I already created a view to see all checked out files by the logged in user with: [me] I am wondering if it is also ...
2
votes
1answer
41 views

How to Export a Document Library to Excel from SharePoint 2010 using a custom button?

I need to do the same as this little fantastic button in the sharepoint ribbon. It allows users to export a document library to an excel spreadsheet. I posted a screenshot below. I would like to ...
2
votes
1answer
37 views

Best practice for calling web service from Sharepoint List Item Event Receiver

What is the recommended way to introduce the invocation of an ASP.NET web service from a SharePoint list item event receiver (specifically, a MOSS 2007 document library)? I don't want to tightly ...
2
votes
1answer
25 views

ItemUpdating event receiver method yielding COMException in MOSS 2007

I implemented an event receiver and attached it to a MOSS 2007 document library. I overrode the synchronous itemUpdating method and perform some validation before letting the update operation proceed. ...
2
votes
2answers
113 views

Store HTML files in a document library - how to prevent SharePoint adding “ghosting” code

I am storing HTML files in a SharePoint document library (2013). Unfortunately, every time I upload a file, SharePoint is adding some code, the same as here: Why is SPD adding content to my file? I ...
2
votes
1answer
120 views

Remove permissions on a folder in Office 365 with PowerShell

I am trying to remove permissions from a folder and then add new ones. My script adds the permissions successfully but when I try and get rid of the permissions it inherited it's just not working, ...
2
votes
1answer
33 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 ...
2
votes
1answer
336 views

Include Rich text web part in document template

I have a workflow which creates a word document in document library, when a new item is created in list. The list has a rich text field. The document is created successfully with all the contents but ...
2
votes
1answer
155 views

Email enabled document library rejects random emails

I have several email-enabled document libraries on a SharePoint 2010 site. Per our security policy, they are set to "Accept e-mail messages based on document library permissions." Most emails ...
2
votes
1answer
542 views

Unique ID in SharePoint

I am newbie into SharePoint and I am currently working on a tool supposed to make references to documents coming from a SharePoint document library. Is there any concept of unique ID to identify a ...
2
votes
1answer
54 views

Is it possible to add a different template to content type, after the content type has been used in a library?

My client has asked whether it's possible for them to add templates to a content type after the system has gone live. I'm wondering if any issues arise once a content type default template has been ...
2
votes
1answer
2k views

Functional difference between document set and document library

I need to upload multiple document from multiple teams in a site. Can anybody please tel me which option is more suitable(document set or document library) How do they differ from each other.
2
votes
1answer
369 views

Open docx file in Word (client) from hosted app (SP 2013)

I have a client hosted app (written in Javascript) which includes links to documents in a document library on the tenant. If I point the url's straight to the documents, they simply download. What I ...
2
votes
1answer
639 views

Catch on drop event in document library

I am trying to write a JSLink file that hooks to the event "ondrop" (or whatever it is called) from a document library. The reason behind this is, we want a jquery dialog to open when someone drags a ...
2
votes
3answers
8k views

Cannot delete document, error: The file is currently checked out or locked for editing by another user

I am using sp2013 onpremise. I have an document library named Documents. I have add a new word document. I try to remove this document, but it give me an error: Het bestand is momenteel uitgecheckt ...
2
votes
3answers
4k views

Sharepoint- Client Object Model - Javascript - How to check if a particular file with same name exists in a document library folder

I am using javascript sharepoint 2013. I want to know how to check if a file exists in a folder, before i upload. Here's my code // Folder Name - folder into which I need to upload var ...
2
votes
2answers
1k views

Modal Dialog: Navigate back to parent folder

I have opened up a SharePoint modal dialog to show document library. The Document library contains a hierarchy of folders. When I reach to the 2nd level of folders there is no option to go back to ...
2
votes
3answers
797 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 ...