I'm currently working on integrating some SharePoint functionality to an existing C# application we have here. Most of the requirements have be fairly easy to implement: I'm using the ListData REST service to display documents in a Library; I'm using Lists.asmx to Check-out and Check-in items so I can edit their metadata; and a few other simple operations.
I'm stuck, however, on the following requirement:
The user of the external C# application must be able to trigger the creation of new Library Documents from within the C# application. If only one ContentType exists in the Library, open this new document window. If multiple ContentTypes exist, prompt the user for a ContentType and open the corresponding new document window.
I've managed to fetch the list of ContentTypes for our Library and have the user select one, but after that I'm at a loss.
I can't seem to figure out how to open the default new-document Editor for any given ContentType. (ex, a web editor for Forms; Word for docx files; Excel for xls files).
The idea is to allow the user to create the document on-the-fly as opposed to creating it beforehand and then uploading it.
Can anyone point me in the right direction?
The problem I'm having now is finding the ProgID... but that's for another question :)