getPublications
Syntax

Session.getPublications();
Parameters
Return value Array of EntPublication
The returned array contains a list of all Brands on the current server.
Description
The getPublications() method returns a list of all Brands on the current server.
Examples
Get all Brands on the server
// Get all Brands on the server.
var brands = app.entSession.getPublications();
for (var i = 0; i < brands.length; i++) {
alert("Brand: " + brands[i].name + " (ID: " + brands[i].id + ")");
}
Supported versions
| Adobe Version | Supported |
|---|---|
| 2023 | ✔ |
| 2024 | ✔ |
| 2025 | ✔ |
| 2026 | ✔ |