getBrands
Syntax

Session.getBrands();
Parameters
Return value Array of EntPublication
The returned array contains a list of all Brands on the current server.
Description
The getBrands() method returns a list of all Brands on the current server. It is an alias for getPublications().
Examples
Get all Brands on the server
// Get all Brands on the server.
var brands = app.entSession.getBrands();
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 | ✔ |