managedLayoutModule

Syntax

PageItem.managedLayoutModule;

Access

readonly

Parameters

Return value ManagedLayoutModule

The associated ManagedLayoutModule object, or undefined if none is associated.

Description

The managedLayoutModule property returns the ManagedLayoutModule object associated with this page item, or undefined if the page item is not bound to a managed layout module on Studio Server.

Examples

Check whether a page item is a managed layout module

// Check whether the first page item on the first page is a managed layout module.
var pageItem = app.activeDocument.pages[0].pageItems[0];
var layoutModule = pageItem.managedLayoutModule;
if (layoutModule) {
    var name = layoutModule.entMetaData.get("Core_Name");
    alert("Managed layout module: " + name);
} else {
    alert("Page item is not a managed layout module.");
}

Supported versions

Adobe Version Supported
2023
2024
2025
2026

See also