DS Server

Javascript: DocumentTargetInfo.targetName Property

Property|Introduced in 28.0

Description

The name of the document target.

Syntax

<string> DocumentTargetInfo.targetName

Examples

The following example demonstrates DocumentTargetInfo.targetName in a practical document-editing workflow. The name of the document target.

function inspectTargetName(documentTargetInfo) {
    const targetName = documentTargetInfo.targetName;
    console.log("target name:", targetName);
}