0
Microsoft.SharePoint.Clientを使用して、Sharepointリスト項目のV3Comments(Append-Only Comments)列にプログラムで追加できるようにしたいと考えています。私はと同様のシーケンス使用していプログラムでAppend-Only CommentsをSharepointに追加するリスト項目
:私はこれを行うにしようとすると
using (ClientContext context = new ClientContext("path_to_site"))
{
List list = context.Web.Lists.GetByTitle("list_name");
CamlQuery query = new CamlQuery();
ListItemCollection list_items = list.GetItems(query);
context.Load(list_items);
context.ExecuteQuery();
ListItem list_item = list_items[0];
list_item["V3Comments"] = "New comment.";
list_item.Update();
context.ExecuteQuery();
}
は、以下のInnerExceptionがスローされます。
フィールドまたはプロパティ「AttachmentFilesは」存在しません。
私はこの作業をするために必要なものはすべて役に立ちます。