I am trying to perform a basic operation,updating a column in a list item of a list.Following is the code ,
List oList = clientContext.Web.Lists.GetByTitle("HomePageTab");
ListItem oListItem = oList.GetItemById(1);
oListItem["Link Location"] = "https://www.google.com";
oListItem.Update();
clientContext.ExecuteQuery();
When i execute this code.I get following error.
{"Column 'Link Location' does not exist. It may have been deleted by another user. /sites/ModusDev/Lists/HomePageTab"}
The issue is the column is available but still unable to update the empty column for the selected listitem.What might be the reason.
I have a url having characters more than 256 which is not accepted when entering in linklocation column. So I am trying to enter the url to link location programatically using CSOM.