getBrand
Syntax

Session.getBrand(brandName);
Parameters
brandName string
The name of the Brand.
Return value EntPublication
Returns the Brand with the provided name. Throws an exception if the Brand does not exist.
Description
The getBrand() method returns the Brand with the provided name. It is an alias for getPublication().
Examples
Get a specific Brand
// Get the Brand named "WW News".
var brand = app.entSession.getBrand("WW News");
alert("Brand ID: " + brand.id + ", name: " + brand.name);
Supported versions
| Adobe Version | Supported |
|---|---|
| 2023 | ✔ |
| 2024 | ✔ |
| 2025 | ✔ |
| 2026 | ✔ |