How can I upload a data record into DocuWare utilizing the .NET SDK? 

In order to upload data records into DocuWare, the following example can be used as a reference:

public Document UploadDataRecordToFileCabinet(FileCabinet fileCabinet) 


            var indexData = new Document() 


                Fields = new List<DocumentIndexField>() 


                    /* Names should be capitalized and are the database names  

                     * of the fields. They do not require DW_ prefixes. 






            var uploadedDocument = fileCabinet.UploadDocument(indexData); 

            return uploadedDocument; 


For more on .NET SDK and examples such as the on depicted above, please visit DocuWare Developer Pages.

KBA applicable for both Cloud and On-premise Organizations.
Comments (2)
  • This example is outdated or something? 
    the uploaddocument method uses inputdocument instead of document
    and when doing this I allways get an exception when running the method uploaddocument: 
    Value cannot be null.
    Parameter name: source

    any advice?

  • Hi Ward.

    Thank you for your feedback.

    The example is up to date. 
    We'll be happy to help you with this, please have a Support Request created and we'll be able to troubleshoot further.