Views:

Question:
I have autonumbering enabled in my file cabinet and want to use the function in my Platform .NET API tool as well.
 

Answer:
Autonumbering in a file cabinet is bound to a store dialog. 
If you want to use autonumbering in your tool, you have to use the dialog to upload the document.

storeDialog.PostToStoreDocumentRelationForDocument(newDocument);