0
如何將值設置爲客戶端對象模型中的SharePoint列表查找列。如何將字符串值轉換爲字段查找類型以在分享點列表中設置值如何將值設置爲客戶端對象模型中的SharePoint列表查找列
如何將值設置爲客戶端對象模型中的SharePoint列表查找列。如何將字符串值轉換爲字段查找類型以在分享點列表中設置值如何將值設置爲客戶端對象模型中的SharePoint列表查找列
您需要從查找列中指定id。
FieldLookupValue lv = new FieldLookupValue();
lv.LookupId = 1;
item["Project"] = lv;
item.Update();
clientContext.ExecuteQuery();
請檢查http://sharepoint.stackexchange.com/questions/73252/sharepoint-client-model-and-setting-up-lookup-field –