I'm using the SharePoint 2013 Client Library and am trying to generate new wiki articles.
I'm able to connect, retrieve the web, find the list, but I can't add items. I feel like I need to be using Microsoft.SharePoint.Client.Publishing, since I am really trying to create a publishing page, but I'm not sure how to go about this.
ClientContext context = new ClientContext("http://mosspractice.example.com/sites/DocDemo/");
List list = context.Web.Lists.GetByTitle("Documentation");
context.Load(list);
context.ExecuteQuery();
ListItemCreationInformation itemCreateInfo = new ListItemCreationInformation();
ListItem newItem = list.AddItem(itemCreateInfo);
newItem["Title"] = "Peter API Test 1";
newItem["Page Content"] = "Hello World!";
newItem.Update();
context.ExecuteQuery(); //errors saying Title is not a valid column name...
Any guidance would be greatly appreciated.