DocuVieware Reference Guide
LoadFromUri
Reference Guides > JavaScript API > Actions > Document > LoadFromUri
 LoadFromUri

This asynchronous function allows you to load a document into the DocuVieware™ viewer from remote URI address (note that the document address has to be publicly available).

LoadFromUri: function (docuViewareID, uri, success, error)

Parameters

docuViewareID
The identifier for the DocuVieware™ instance you want to load the document in.
uri
The document URI you want to load from.
success
A function that will be executed upon success.
error
A function that will be executed upon error.

Return Value

1 if error, 0 if success.