documentId Property

Summary

The ID to be used with the loaded document.

Syntax
TypeScript
JavaScript
Object.defineProperty(UploadDocumentOptions.prototype, 'documentId', 
   get: function(), 
   set: function(value) 
) 
documentId: string; 

Property Value

String that specifies the ID to be used with the loaded document. The default value is null.

Remarks

When the value of documentId is null (the default), then the document factory creates a new unique ID using a GUID generator. If the value is not null, then it is assumed to be a user-defined ID and used as is. In either case, the value is set in the LEADDocument.documentId property of the newly created document.

User-defined IDs can be used when the system already has unique IDs associated with the documents to be viewed. The document factory will neither check nor guarantee the uniqueness of these IDs.

Refer to Uploading Using the Document Library for detailed information.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.