getPublication

Syntax

Session.getPublication(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 getPublication() method returns the Brand with the provided name.

Examples

Get a specific Brand

// Get the Brand named "WW News".
var brand = app.entSession.getPublication("WW News");
alert("Brand ID: " + brand.id + ", name: " + brand.name);

Supported versions

Adobe Version Supported
2023
2024
2025
2026

See also