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
6
votes
3 answers

REST APi to get all times in specific folder in SharePoint document library

I would like to get items in specific folder inside SharePoint document library called "Pages" with REST API I used below rest API which I can get all items in document library https://spsite/_api/web/lists/getByTitle('Pages')/items But I have not…
Laleh
  • 183
  • 1
  • 1
  • 13
6
votes
2 answers

SharePoint 2013 Library retrieving all file names. REST API

I have a library on Sharepoint 2013 and retrieving all the parameters (using angularjs on the client side.) using the following code. var spListURL = siteURL + "_api/lists/getByTitle%28%27" + docLibName + "%27%29/items"; $http.get(spListURL, {…
chandings
  • 549
  • 3
  • 9
  • 23
5
votes
2 answers

SharePoint SPFile change extension on existing item possible?

I am at my wits end on this one. I have a user interface that creates and edits documents stored in a SharePoint document library. The trick part is I need to allow the user to update the document no problem just use SPFile.SaveBinary() right? This…
James
  • 12,636
  • 12
  • 67
  • 104
4
votes
1 answer

Is there any direct way to get the server relative URL of document library using its title using Rest API?

Presently I am using the following method to get the server relative URL function getLibraryUrl(nameOrUrl) { var ctx = SP.ClientContext.get_current(); var list = ctx.get_web().get_lists().getByTitle(nameOrUrl); …
4
votes
3 answers

'PrimitiveValue' node with non-null value was found when trying to read the value of a navigation property;

How can I save document library lookup field using REST API Post in a SharePoint list? I tried like 'docItem':'1;#test' But, it is throwing an error : { "error": { "code": "-1,Microsoft.SharePoint.Client.InvalidClientQueryException", …
3
votes
1 answer

Add/Create new document in SharePoint document Library programmatically

I have created a new Document Library and set up custom content type with MS Word Document Template. When i click on Create new template it works fine. but i need to be able to add some logic on a button event where it will go into that library…
3
votes
3 answers
3
votes
1 answer

SharePoint 2013 "cobalt exception error"

I have weird problem with SharePoint. I've uploaded a file on a document library and everything seems to be in order. but after a few days the file doesn't work properly and when I try to download it a red label appear with cobalt exception message.
user3424966
3
votes
1 answer

Uploading documents with same name to SharePoint 2010

I have a requirement to allow users to upload documents to a Sharepoint 2010 document library. The document type is defined by a custom content type with a documentid and type field. However, if I try uploading a document with the same name, I get…
WOPR
  • 319
  • 2
  • 6
  • 14
2
votes
1 answer

Document ID is not set in contenttype when saving from Office client

I have a problem that i've struggled with for a long time. This problem manifests itself in the test environment, but not in my dev environment. I have a document library template. In a event handler I attach several content types (which all inherit…
2
votes
1 answer

Error: "Value cannot be null. Parameter name: formType" retrieving default view page of document library

I'm trying to get the default view url of standard document library list in SP2010: var defaltViewUrl = documentLibrary.Forms[PAGETYPE.PAGE_DEFAULTVIEW].Url; and I'm constantly getting the following exception: ArgumentNullException: "Value cannot…
Marek
  • 1,688
  • 1
  • 29
  • 47
2
votes
1 answer

SharePoint 2010: Advanced filtering on Managed Metadata field

I'm implementing a document management site on SharePoint 2010. Each document that is stored on the site, is tagged with one or more geographical locations indicating what the content of the document is about. I have implemented this using a Managed…
2
votes
1 answer

Trigger script on certain document library event?

Is there a way of triggering a script on certain event in a document library in SharePoint? How can one control those events? can they be controlled at all? are they even created by SharePoint? I'm specifically interested on converting some…
2
votes
2 answers

Creating a SharePoint 2010 page via the client object model

I am attempting to create pages in a Sharepoint 2010 pages library via the client object model but I cannot find any examples on how to do it. I have tried two approaches: The first is to treat the Pages library as a list and try to add a list…
2
votes
2 answers

Office365-REST-Python-Client 401 on File Update

I finally got over the hurdle of uploading files into SharePoint which enabled me to answer my own question here: Office365-REST-Python-Client Access Token issue However, the whole point of my project was to add metadata to the files being uploaded…
1
2 3
12 13