Hi guys,
I'm trying to update my list programmaticaly with client object model.
this list contains a lookupfield, I'm using this code,
ListItem my = list.AddItem(new ListItemCreationInformation()); my["Title"] = "Test"; my["NAME"] = "Name"; SPFieldLookupValue spv; spv = new SPFieldLookupValue(3,"Type"); my["TYPE"] = spv; my.Update(); ctx.Load(my); ctx.ExecuteQuery();
I have no error but when I refresh my list I have a new line with my new value, but the TYPE field is always empty....
any ideas?
thanks!