managedArticle

Syntax

PageItem.managedArticle;

Access

readonly

Parameters

Return value ManagedArticle

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

Description

The managedArticle property returns the ManagedArticle object associated with this page item, or undefined if the page item is not bound to a managed article on Studio Server.

Examples

Check whether a page item is a managed article component

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

Supported versions

Adobe Version Supported
2023
2024
2025
2026

See also