DS Server

Javascript: LoadDocumentCallbackData.loadedFile Property

Property

Description

The name and path of the file that has been loaded.

Syntax

<string> LoadDocumentCallbackData.loadedFile

Examples

The following example demonstrates LoadDocumentCallbackData.loadedFile in a practical document-editing workflow. The name and path of the file that has been loaded.

function inspectLoadedFile(loadDocumentCallbackData) {
    const loadedFile = loadDocumentCallbackData.loadedFile;
    console.log("loaded file:", loadedFile);
}