The client-side object model (CSOM) provides access to a subset of the SharePoint Foundation server object model, including core objects such as site collections, sites, lists, and list items and allows you to program against these from client side applications.

learn more… | top users | synonyms

4
votes
1answer
79 views

CSOM Search API does not return all the results

I am having a problem with the code below. It is not returning all the rows/items which are found in different lists. The total number of items is 28, but the code below is returning 19. I have set ...
2
votes
1answer
127 views

How To Create a Picture Library in SharePoint Online(office 365) Using CSOM-JavaScript?

Currently I have created SharePoint Hosted App (Picture Slider) using Napa Office 365 Development tool. So far, I have created picture Library Manually, and now trying to create Picture Library using ...
1
vote
1answer
96 views

Modifying Global Navigation Settings in SharePoint Online

I am working on a PowerShell script to provision a site collection with a predefined hierarchy. Since the PowerShell breadth is so limited, most of this is done via functions that are CSOM code. As ...
0
votes
2answers
84 views

List files in a specific folder in a document library

I there anyway to output the files of a specific folder in a document library? Listing them will be like foreach $file in $folder.files { write-host $file.name } But how do I tell it to look ...
0
votes
0answers
17 views

CSOM issue: workaround needed for SystemUpdate & DisableFiringEvents to be able to save current Version to a textfield

To be able to include the current version in Word, I need to have a custom Text field that contains the current version (calculated & Version fields are not available in QuickParts). * The new ...
0
votes
1answer
48 views

Could not load file or assembly 'Microsoft.SharePoint.Client, Version=16.1.3912.1204,

Previously I was using Microsoft.SharePoint.Client.dll of version 15.0 in my application. I just removed that reference and added new reference of assembly of version 16.1. But now it is giving error: ...
0
votes
0answers
21 views

Shared files not being displayed in “Shared with me” using CSOM

I'm using the following code to share items within OneDrive. private static void Main(string[] args) { using (var ctx = new ...