-
Notifications
You must be signed in to change notification settings - Fork 5
Basic usage
Albert Moravec edited this page Mar 15, 2018
·
8 revisions
public const string UserName = "superuser@keenmate.com";
public const string Password = "SuperSecretPassword";
var op = "https://keenmate.sharepoint.com/sites/demo/fluently-sharepoint/"
.Create()
.SetOnlineCredentials(UserName, Password)
.Execute(); // Call execute first to load initial data
// ... do whatever you want ...
op.CreateList("My super cool documents", ListTemplate.DocumentLibrary)
.Execute();
var data = op.LoadList("List #1")
.GetItems(); // Returns ListItemCollection
var data = op.LoadList("List #1")
.GetItems("<Query><Where><Eq><FieldRef Name='Group'/><Value Type='Text'>Managers</Value></Eq></Where></Query>");