Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 9715

Use a document library to store, organize, sync, and share documents with people. You can use co-authoring, versioning, and check out to work on documents together. With your documents in one place.

5 votes
2 answers
47k views

Get documents By ID from document library using Rest API

Scenario I have a Document library named "My Documents". In that library couple of folders, for these each folders have another couple of folders (subfolders) and inside these folders, certain documen …
10 votes
Accepted

Get documents By ID from document library using Rest API

Finally i found solution, i got full file url through EncodedAbsUrl My Document id is 6 and got full filepath from its id var requestUri = _spPageContextInfo.webAbsoluteUrl + "/_api/web …
Hitesh Chandegara's user avatar
0 votes

How to open document library file in client application programmatically?

You need to do something like this.. FileInformation fileinfo = Microsoft.SharePoint.Client.File.OpenBinaryDirect(clientContext,file.ServerRelativeUrl); byte[] bytesarr = ReadFully(fileinfo.Stream); …
Hitesh Chandegara's user avatar
4 votes

Programmatically list folders from a document library

This code iterates all sub folder of your root folder and gets items by your query from subfolders foreach (SPFolder subFolder in docLibrary.RootFolder.SubFolders) { SPQuery oQuery = new SPQuery …
Hitesh Chandegara's user avatar
1 vote
1 answer
310 views

how to prevent download or view "documents/files" from direct access url?

User have access to SharePoint document library. User can download document from SharePoint library by go to that document library and download specific documents. User should not download files/docum …
0 votes

Update metadata on n amount of files at the same time programmatically, using SPListItem upd...

SPWeb.ProcessBatchData processes batch updates significantly faster than individual updates. Use batch processing when updating a larger number of items. It will allow the database to process all your …
Hitesh Chandegara's user avatar
4 votes
Accepted

How to access document library files via a webservice?

For 2010, use the REST interface http://msdn.microsoft.com/en-us/library/ff798339.aspx What will you be using to access the list? C#, Javascript ... ? Some examples http://weblogs.asp.net/paulballa …
Hitesh Chandegara's user avatar
0 votes
0 answers
229 views

Move Document using Drop Off Library

I have a document library named "MyDocLibrary" and in that i have define content type. same content type define in Drop Off Library. also set Content Organizer Setting and Rules for when document is u …