Document library is a list for storing documents

learn more… | top users | synonyms

1
vote
0answers
433 views

Get Permissions with client object model

i want to add a permission on a folder who's inside a document library with javascript/jquery/client object model. The problem i have is, its a custom permission level created when some feature is ...
3
votes
3answers
2k views

Copying file from network to Document Library

I'm trying to save file from network location to SharePoint document library. This is code of my method: //parameters: string documentLibraryUrl, string filePath FileInfo fi = new ...
3
votes
2answers
1k views

Show title linked to document with edit menu in item's “default display form”

We currently have our own implementation of the "OpenDocuments" control with an implementation similar to one of the MSDN blog samples. This works great for using the "Edit in ..." menu for our ...
5
votes
1answer
1k views

JavaScript Client object model, rename folder

I am trying to rename a folder inside a Document library. Right now I get my item and everything is good but when I try to rename it using set_item('title', 'NewFolderName') it crashes and unwinds the ...
1
vote
1answer
508 views

Javascript, cannot complete this action

i am currently running some code on a sharepoint front end and am getting this error "Microsoft.SharePoint.SPException" "Cannot complete this action.\n\nPlease try again." So i looked into this and ...
0
votes
1answer
2k views

Cannot save PDF from web directly to SP2010 doc library

Very annoying scenario for my end users: They browse the web, find a useful PDF with good info and want to share it on our intranet. They open the PDF in the browser (IE8) and click on the Save a ...
2
votes
1answer
2k views

What does the “Copy Source” column mean in a document library/list?

Pretty basic one here. Google borks out. I have a document library, and one of the columns is named "Copy Source". What does the data in the column mean?
0
votes
2answers
796 views

How the “search this site…” really works?

I'm a total newbie to Sharepoint (2010) so I apologize in advance for my newbie question. I'm trying to figure out how exactly the out-of-the-box "search this site.." box (in a team site is supposed ...
0
votes
1answer
676 views

How to erase document properties before a document uploaded to a document library

We have a SharePoint Server 2007 farm. In our environment, it is important that users remove office documents’ “Properties and Personal Information” before uploading them to any document library. I ...
3
votes
2answers
2k views

One Event Receiver for many lists

I have Event Receiver for document library. It is added in Elements.xml like this: <Receivers ListTemplateId="101"> I would like to use this ER for all my document libraries. Do I have to ...
1
vote
0answers
245 views

Editing Document Set Properties Issue

I am currently having some issues being able to edit the properties of a Document Set after it is created. My main library on my site is a Digital Assets library. After adding in a few pictures, I ...
0
votes
2answers
207 views

Document Library with incoming email enabled - difference between an appointment or regular e-mail

I would like to have a document library created with incoming mail turned on. I've set this up, it is working fine. One thing I would like to do is figure out a way to categorize the incoming email ...
1
vote
1answer
1k views

Security on Document Library's item

i need to add some security to a Document Library, i want to be able to have multiple folders and multiple documents. This feature would provide users with proper right to modify, read, hide documents ...
0
votes
1answer
260 views

Custom File Type on Upload Menu

I have a custom Content type called Deliverable and it has been inherited from Document content type. but when I go to document library and click on Upload Document button on the toolbar, I only See ...
0
votes
1answer
499 views

Deploy document library with multiple content type

I have a Document Library definition that I added to the solution. I want to include multiple content types for this Document Library: one that inherits from Folder and one that inherits from ...
0
votes
1answer
940 views

When to use SPDocumentLibrary?

Since it inherits from SPList and the only way I know to create a SPDocumentLibrary is to convert it from an SPList object using: SPDocumentLibrary lib = (SPDocumentLibrary)list; Why would anyone ...
2
votes
3answers
3k 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
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 ...
1
vote
3answers
726 views

Issue with External Data Columns on Document Libraries with Content Types

I have site content type called ContractBase that has a bunch of fields that are used in contracts. I created some other site content types (ContractType1 and ContractType2) that inherit from ...
1
vote
3answers
357 views

How to access documents with in a custom content type of Document Set

I have a Library, which stores document sets (the content type here is a documentset which contains more than one word document). Currently I can to get the items from the library using the below code ...
2
votes
2answers
2k 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
3answers
633 views

Workflow; Use previous document library item to populate field

This one has stumped me indefinitely... so I'm coming to the great guru's of the confusing concepts. CASE: I have an InfoPath form which is connected to a document library. Once the form is ...
1
vote
4answers
7k views

get all document from all folder and subfolder from document library sharepoint 2010

I want to retrieve all documents from folder to it's subfolder and so on using client object model.Please help me.
1
vote
3answers
11k views

Allow users to submit items to a library but not edit or delete

I have a library where I want anybody to be able to add items to it, but only a select few can edit them or delete them. The unpriviledged folk currently have "Read" permissions on the library, and ...
0
votes
2answers
1k views

Get Files from document library with LINQ

Hi I'm trying to get file from a documentLibray with LINQ Query. I've been trying with this code but I get nothing! var allegatiCollegati = (from SPFile attach in web.Lists.["Allegati"].items ...
0
votes
1answer
529 views

Get previous versions file in document Library

I'd like get the previous versions of files in document Library, passing as parameter the number of version. else if(getFileObj.versionNumber!=0) { ...
1
vote
1answer
500 views

Can't download document from library

We have document library which contains about 2,5k SCORM packages (about 100GB total) for teachers. This files are relatively big and in *.zip format, so we decided to enable RBS on content databse ...
2
votes
2answers
192 views

Client-side Object Model Load Test Metrics

I would like to know if anyone has done any load testing on using managed .NET Client Side Object Model (CSOM)? I am mainly looking for metrics (graphs, spreadsheets, etc.) on the following: Large ...
1
vote
0answers
165 views

Wrong Created By Value

I was notified by a user [User A] that there was a file in our document library that showed it had been created by them (in the default sharepoint created by field) when they had not in fact entered ...
1
vote
2answers
2k views

Why is the icon for my custom document template broken?

Before I get to the meat of it here's some background information (and an apology for the wall of text...). I'm running SharePoint 2010. I have created a content type called E-mail, using Document ...
0
votes
3answers
708 views

move document library by code

I have document library x on my site. I need to move it by code to a subsite with the same name. Probably there is no way to do it by code, because I couldnt find an example like this. Update 1: I ...
0
votes
1answer
150 views

Strange Digital Assets Library Behaviour

I am having a bit of an issue with a Digital Assets library. When I view the page, everything seems as it should, with the pictures located in the library, and the thumbnails being stored in _t. ...
3
votes
2answers
3k views

Maximum length of the document libray file/folder sharepoint 2010?

From research i have came to conclusion that the maximum lenght of a folder/file name is 128 respectively, is it right?
1
vote
1answer
308 views

Folder Heirarchy in Sharepoint 2010 document library?

How many nested folders can we have in document library in Sharepoint 2010?
1
vote
1answer
1k views

Create new Document in Document library with additional Text Fields in Silverlight (Client Object Model)

I have created a Silverlight Application that runs in a SharePoint 2010 web part. One requirement I have is to give the user a prompt to upload a file, and then send it into a specific Document ...
0
votes
1answer
1k views

Archive a document library after 30 days?

I am very new to this concept of archiving and record management. I have the following requirements: Create a document library when a new event is added. I can do this with an event receiver. The ...
0
votes
1answer
170 views

Determining File Location for List Library

I have inherited a SharePoint system with no documentation on the infrastructure. I have determined so far that this system is MOSS2007 Foundation, that the IIS site sits on one server while the SQL ...
1
vote
1answer
539 views

CQWP - Sort items based on popularity

I've enabled Auditing in a list that keeps track of how many times an item has been viewed. I would now like to use a Content Query Web part to return a list of documents based on their popularity ...
0
votes
1answer
543 views

Lists still crawled when set to not show in search

We've run into an issue with one of the web sites in our SharePoint 2010 site collection: Even though all the lists and libraries have the setting Allow items from this document library to appear in ...
0
votes
2answers
428 views

How to prevent user from editing the file name of a infopath form inside the library of a Sharepoint site

Suppose I have a Sharepoint site that have a Library full of InfoPath forms. I don't want anyone (regardless if the user is the owner of the InfoPath form or whoever) to edit the filename of any of ...
0
votes
1answer
131 views

Is it possible to upload a document from SharePoint Mobile site?

I need a function to upload few documents to my SharePoint 2010 mobile site using a mobile browser. But I do not see the function anywhere. Anyone knows how to do it?
0
votes
1answer
673 views

Synchronize Documents between SharePoint Farms

I need to synchronize certain documents between 2 Doclibs on different SharePoint Farms. This is a 'one-way-sync' meaning all changes should be replicated from A to B, not from B to A. You can ...
0
votes
1answer
90 views

Uploading documents to another users MySite

In our scenario we have students and each students has his own MySite and we also have teachers of those students. My question is: is there any out-of-the-box way/feature where teachers could upload ...
1
vote
1answer
920 views

How do I save a Document Library inside a sub folder?

This may seem like a very simple question, but I want to organize the Site Content by putting in some folders for the Document Libraries. Does anyone know how I can move document libraries within ...
0
votes
1answer
256 views

How to I hide a SharePoint Document view based on certain variable in a Javascript code?

I have a SharePoint Document view that allow people to upload file. However, I have a Javascript variable that will control when can the people upload file. If the javascript variable is being ...
1
vote
1answer
1k views

How do I Retrieve the choice values of a column in a Document Library

I am fairly new to SharePoint development and as you may all know that it is very basic for one to know how to access fields in a choice column... My problem: I want to access the values of the ...
1
vote
1answer
427 views

get alerted when a file is downloaded

I have a document library in sharepoint 2010 and our product management team want to be alerted when a file downloaded by a user. is there any way to achieve this? thanks
0
votes
2answers
219 views

Using Information Management Policies to prevent users from downloading videos from a document library

I have a basic SharePoint 2007 document library which contains a number of videos (.wmv files). This list is lives within our company's intranet and so is accessible only by authorised users. We want ...
1
vote
1answer
1k 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 ...
1
vote
1answer
871 views

How to increase the web service timeout to a larger value so that publishing a large infopath form to SharePoint library can be successful?

Currently, publishing of large SharePoint Form library may result in 'Updating Content Type Failed' message. According to this article, it mention that increasing the web service timeout to larger ...