I'm developing VSTO Outlook Add-In, so I'm using SharePoint Client Object Model. Can I upload a document to SharePoint doc. library and add metadata with one action? Using Google I have found many samples where metadata is added after uploading. Also I found out that it is possible to add metadata using full API(File.Add() method and a hashtable).
Help?
Best Answer
You could use code like this:
The essence of this sample is to use FileCreationInformation and File objects and get ListItemAllFields of item.