isUploadDocumentUri Method

Summary

Indicates whether the URL points to a special LEAD cache scheme.

Syntax
TypeScript
JavaScript
isUploadDocumentUri = function( 
   uri 
) 
static isUploadDocumentUri( 
   uri: string 
): boolean; 

Parameters

uri

Uri to check.

Return Value

true if the URL points to a special LEAD cache scheme; otherwise, false.

Remarks

This is a helper method that can be used to detect whether a URL was created by uploadDocument/uploaddocumentblob. The Document Library creates a URI in the following format for uploaded documents:

leadcache://documentID

For instance, for the document with ID 2E478C12F7B64B67883B76B4D2FBE612, the cache URI for it will be:

leadcache://2E478C12F7B64B67883B76B4D2FBE612
Requirements

Target Platforms

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

Leadtools.Document Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.