getPreviousIssue
Syntax

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