Questions tagged [sharepointdocumentlibrary]

A document library is a place on a SharePoint site where users can create, collect, and update files with others. The libraries may be custom modified and allow different access levels.

A document library is a place on either a SharePoint Online or Sharepoint Server site where users can create, collect, and update files with others.
The libraries may undergo custom modifications:

Access to the library is granted on the basis of permissions which can be granted to internal Sharepoint users or external. The permissions have different levels, such as read-only and contribute: http://office.microsoft.com/en-001/windows-sharepoint-services-help/permission-levels-and-permissions-HA010100149.aspx

Access to the library may be granted for a document, list item or a whole folder: http://office.microsoft.com/en-001/sharepoint-server-help/manage-permissions-for-a-list-library-folder-document-or-list-item-HA010021564.aspx

You may also grant access to external users (given right permissions) http://office.microsoft.com/en-001/sharepoint-server-help/sharepoint-document-libraries-i-introduction-to-sharing-files-RZ010234528.aspx?section=3

Sharepoint libraries accept selected file types and some document types, like .aspx may be added to a Sharepoint library: http://office.microsoft.com/en-001/office365-sharepoint-online-small-business-help/types-of-files-that-cannot-be-added-to-a-list-or-library-HA101907868.aspx

Their content may be accessed by apps you are developing, e.g. using NAPA, Visual Studio: http://msdn.microsoft.com/en-us/library/office/fp179930.aspx

182 questions
1
vote
1 answer

Add attachments to a document in a document library

Is there a way to add attachments to documents in a SharePoint document library? Any help is appreciated.
1
vote
0 answers

Sync on premise Document Library with Cloud hosted SharePoint Server site in SharePoint 2013

As per my requirement I need to Sync Document Library of on premise hosted SharePoint site with cloud hosted SharePoint Document Library. For that I had wrote EventReceiver on ItemAdded of on premise SharePoint site. Users of on premise SharePoint…
1
vote
2 answers

Change URL of Alert in Document Library - SharePoint 2013

I have a document library named Sample in SharePoint 2013. The internal site collection URL is like http://wonderland/ and its public URL is https://access.wonderland.com. I have created an Alert for this document library. Whenever anything changes,…
Merin Nakarmi
  • 3,148
  • 3
  • 35
  • 42
1
vote
0 answers

Bulk file upload creates multiple versions of all files except last file

I have an interesting (well to me anyways) problem here. I am doing a code based mass upload of documents into a SharePoint library with a twist. The twist is that the file's last modified date needs to be maintained in the item properties after…
1
vote
0 answers

Do not comment shaerpoint's Lists.asmx service

I am trying to fetch the list of file names which are there in my document library of office 365 SharePoint site. I am using below code to access the List.asmx Service using Visual Studio 2010. ServiceReference1.ListsSoapClient ws = new…
1
vote
1 answer

How do I select which view when adding document library web part to a page in my site definition?

In my custom SharePoint 2010 site definition: I have a custom list instance in my site definition with multiple views... I have a page that I want to display one of the views on... In the page's Elements.xml definition, where can I select to show…
1
vote
1 answer

How to Download Document from Sharepoint Librarly and display in ASP.NET programatically?

I have created a document library with name "ARTICLES" in SHAREPOINT which stores documents. Now, I want to display the documents in Repeater and clicking on row it must display the document. And also all documents must be Downloaded in Application…
SHEKHAR SHETE
  • 5,964
  • 15
  • 85
  • 143
1
vote
0 answers

SharePoint 2010 - Use FilterMultiValue in combination with documentSet (to filter document library)

Has anybody used the FilterMultiValue in combination with DocumentSet? I have a list with 2 content types (1 = document and 2 = document set). I have added 4 documents: 2 documents and 2 document sets. There is a column om my list (DWHID) that I…
1
vote
0 answers

Sharepoint 2013 file adding and created by property

As a requirement of our application, we add files with other file's properties within document libraries using the following method: private static SPFile AddFile(SPListItem item, Stream stream, string filename, SPFolder destinationFolder, string…
Natan
  • 2,816
  • 20
  • 37
1
vote
1 answer

Programmatically get children of document library using recursion

I need to recurse through the contents of a document library and display them on a webpage using MVC. However I get the following error when trying to run my code: " The collection has not been initialized. It has not been requested or the request…
1
vote
3 answers

Access SharePoint Document Library from web application?

Is it possible to access a SharePoint 2010 document library from a web application? If so then could you point me in the right direction? I need to write an application that will allow document versioning, check in/check out, download/upload and…
Josh Price
  • 259
  • 3
  • 9
  • 18
1
vote
0 answers

Using the data from a collect feedback sharepoint workflow

I've got a SharePoint library of documents I want to collect feedback on. So far I've achieved this using the built-in collect feedback workflow. The information collected from the reviewers goes into the workflow history for the specific…
1
vote
4 answers

How do you get file details in a SharePoint ItemEventReciever in the ItemAdding Event?

I would expect something like this to work but the ListItem, BeforeProperties, AfterProperties are all null/empty. I need the file name and file content. public class MyItemEventReceiver : SPItemEventReceiver { public MyItemEventReceiver() {} …
Andrew
  • 664
  • 13
  • 32
0
votes
3 answers

Edit document attached to list item

We have SharePoint 2010. The requirement is user should be able to edit and save document without having to save it on hard disk (typical Doc lib with check-in/check out and versioning) ... the next req is user should be able to attach/upload…
0
votes
1 answer

Displaying the AllItems.aspx as a Web Part?

I've got a Sharepoint site with a document library. I've set up some custom views, and would like users to be able to select which one they like. This works fine in the 'AllItems.aspx' 'view' - ie, when I click the title of the Web Part, it takes me…
Chris Gunner
  • 45
  • 1
  • 1
  • 7