I am using the SharePoint Copy web service to upload a file to a document library. The library is using a content type that contains a managed metadata field. I can not figure out how to update this field by using the FieldInformation class. I have not had any issues setting any of the other fields using this method. An example of how I am uploading the file with the FileInformation can be found here
I have tried to set the field via its Display Name as well as the "hidden" note field with the same name plus 0.
SharePointCopyWebService.FieldInformation fieldInfo = new SharePointCopyWebService.FieldInformation();
fieldInfo.DisplayName = "Internal Audit Topics_0";
fieldInfo.Type = SharePointCopyWebService.FieldType.Note;
fieldInfo.Value = "Known Term";
fieldInfoArray.Add(fieldInfo);
Additional Info:
- This is running inside a Win Forms application
- I am not allowed to use the SharePoint Server/Client Object Models
Any ideas on how to update the managed metadata field with the FieldInformation class?