I have the following requirement:
I have created a Flash application that is embedded in a Sharepoint Application Page. In the Flash application I have to upload text (I cannot create a file on the client side without prompting the user, so I just have to upload the content in plain text) to a document library of the user's choice.
When the text is uploaded (as a .url file), I have to redirect the browser to the edit form that is associated with the library (or more specific with the content type of the new item).
How can I upload content (plain text) as a new document to a Document library using the Client Object Model?
Kind regards,
Karel