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 Studio or Enterprise 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
2021
2022
2023
2024