endUpload Method

Summary

Finishes uploading a document to the cache.

Syntax
TypeScript
JavaScript
endUpload = function( 
   uri 
) 
static endUpload( 
   uri: string 
): JQueryPromise<any>; 

Parameters

uri

The temporary document URI. This must be the same value returned from beginUpload or beginUploadDocument and cannot be null.

Return Value

A Promise object that may resolve successfully.

Remarks

When uploading is finished, EndUpload must be called to inform the factory that the uploading process has finished.

Refer to Uploading Using the Document Library for detailed information on how to use these methods and the various options used.

Example

For an example, refer to UploadDocument or UploadDocumentBlob.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly