-
Notifications
You must be signed in to change notification settings - Fork 5
List operations
Albert Moravec edited this page Mar 15, 2018
·
11 revisions
// Load basic information
op.LoadList("List #1") // This also selects the list for further operations
.Execute(); // Don't forget to execute to actually load the data
// Use custom loader
op.LoadList("List #1", (context, list) => context.Load(list, l => l.EventReceivers))
.Execute();
op.SelectList("List #1") // Now you can manipulate the list
op.AddColumn("Notes", FieldType.Text)
.Execute();
// Change column type to Choice
op.ModifyColumn("Group", FieldType.Choice)
.Execute();
op.DeleteColumn("Note")
.Execute();