getContainerId()

Description

Gets the container id of a specific document editor.

Syntax

DocumentEditorObject.ui.getContainerId();

Parameters

None

Return value

string

If it fails to get the container id, it returns null.

Example

if (DCSObject) {
      var editorViewers = DCSObject.getAllDocumentEditors();
       for (var i = 0; i<editorViewers.length; i++) {
           editorViewers[i].ui.getContainerId(); // Gets the container ids of all document editors.
       }
}

See also

.getAllDocumentEditors()