saveAs

Syntax

Workflow.saveAs();

Parameters

Return value Document

The newly created Document object.

Description

The saveAs() method stores the document as a new object in the Enterprise or Studio Server system. Throws an exception in case of an error. Change the metadata before calling saveAs.

Use the “Type” key in the EntMetaData to indicate what kind of object should be created. Possible values are: “Layout”, “LayoutTemplate”, “LayoutModule” or “LayoutModuleTemplate”.

Examples

Example title


Supported versions

Adobe Version Supported
CC 2018
CC 2019
2020
2021