getCurrentIssue
Syntax

Session.getCurrentIssue(brandName);
Parameters
brandName string
The name of the Brand.
Return value EntIssue
Returns the current Issue of the provided Brand. Throws an exception if no current Issue exists.
Description
The getCurrentIssue() method returns the current Issue of the provided Brand as defined on Studio Server.
Examples
Get the current Issue of a Brand
// Get the current Issue of the Brand "WW News".
var issue = app.entSession.getCurrentIssue("WW News");
alert("Current Issue: " + issue.name + " (ID: " + issue.id + ")");
Supported versions
| Adobe Version | Supported |
|---|---|
| 2023 | ✔ |
| 2024 | ✔ |
| 2025 | ✔ |
| 2026 | ✔ |