I was working on automating a submission to the records center through my workflow and was referencing the rrSubmit project in the ECM SDK, but I swear I thought I saw something a lot simpler than this mess of code they have in that project.
I delved a little deeper and saw there is an SPFile.SendToOfficialFile method, but when I tried to find any code for it, I couldn't. Plus when I tried to add the line of code for it, and i assumed it was something along the line of...
string result = SPFile.SendToOfficialFile(filepath);
something along that line anyway, but there is no intellisense for the SendToOfficialFile method. So I assumed I was missing some sort of reference to call the method, but I am at a loss as to what reference I need to add.
I have the Web reference to the Official File web service, but that doesn't include the SendToOfficialFile method, since that part of the SPFile class, not the web service.
So needless to say I am utterly confused. But I do have the records center correctly configured, because I can manually send one of my items to the records center, and it routes properly.
Thanks,
Aaron