Parameters
document
A valid function must be provided. This callback will fire if the loadFromUri operation succeeds.
A LEADDocument object will be passed to the callback. To set the document into the active LEADVIEW viewer, first retrieve the active viewer by calling Viewer.getCurrentDocument.