There's a weird thing happening with my Windows application. I have created a Sharepoint utility to automate the creation of content-types and site-columns. At a point where I try to get my available fields, I get this error:
An unhandled exception of type 'Microsoft.SharePoint.Client.ServerException' occurred in Microsoft.SharePoint.Client.Runtime.dll Additional information: Requested value 'CheckBoxes' was not found.
It is throwing an exception at:
ClientContext clientContxt = new ClientContext(clientContext.Url); clientContext.Credentials = clientContext.Credentials; Web web = clientContext.Web; clientContext.Load(web, w => w.AvailableFields); clientContext.ExecuteQuery(); //**exception thrown here**
Kindly please suggest what is wrong here?