Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Send a Document to Record Center via Client Object Model.

$
0
0

Hi,

Is there a possibility to send a document to Record Center using the CSOM?

Server side I can do this for example:

OfficialFileResult result = OfficialFileCore.SubmitFile(web, fileInput, properties.ToArray(), "MyContentType", filename, @"SP2013\administrator", false, out destination);

OR

SPList oList = oElevWeb.Lists["Shared Documents"];
                    SPFile oFile = oList.Items[0].File;
                    string strOutPut;
                    oFile.SendToOfficialFile(out strOutPut);

Are there similar ways to do this using the SharePoint Client Object Model?

Regards,

Atli


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>