allIndesignArticleIds
Syntax

PageItem.allIndesignArticleIds;
Access
readonly
Parameters
Return value string[]
An array of IDs of all InDesign Articles to which the page item belongs.
Description
The allIndesignArticleIds property returns the IDs of all InDesign Articles to which the page item belongs. The IDs of InDesign Articles that contain a parent group item of the page item are also returned. This differs from the PageItem.allArticles call.
Examples
Get the InDesign Article IDs of the first page item
// Get all InDesign Article IDs for the first page item on the first page.
var pageItem = app.activeDocument.pages[0].pageItems[0];
var ids = pageItem.allIndesignArticleIds;
if (ids.length > 0) {
alert("InDesign Article IDs: " + ids.join(", "));
} else {
alert("This page item does not belong to any InDesign Articles.");
}
Supported versions
| Adobe Version | Supported |
|---|---|
| 2023 | ✔ |
| 2024 | ✔ |
| 2025 | ✔ |
| 2026 | ✔ |