Retrieve Documents |
Scroll |
Retrieval is the process of reading documents and their index data information from the server. Given a document's unique number, the Step By Step guide shows how to retrieve a document from the server to a specified folder.
1 |
Connect to the Thereforeâ„¢ server (see "Server - Connect and Disconnect" for Details) |
2 |
Declare and initialize a new TheDocument instance. |
3 |
Retrieve the document from the server. |
4 |
Optional. Print a success message on the console. |
Requirements and Assumptions: Category number 5 named "Invoice - Supplier" with the string fields "Filename", "FileType" and "InvoiceNo". Files "D:\\TestAll\\TestDocs\\Scsi.doc" and "D:\\TestAll\\TestDocs\\TEST.xls" on your local hard drive. If these assumptions do not apply to your system or configuration please replace them with appropriate values when copying the code samples below. |
|