getSection

Syntax

Session.getSection(brandName, sectionName [, issueName]);

Parameters

brandName string

The name of the Brand.

sectionName string

The name of the Section.

issueName string (Optional)

The name of the overruled Issue.

Return value EntSection

Returns the Section with the provided name. Throws an exception if the Section does not exist.

Description

The getSection() method returns the Section with the provided name from the provided Brand. It is an alias for getCategory().

Examples

Get a specific Section

// Get the Section "Sport" from the Brand "WW News".
var section = app.entSession.getSection("WW News", "Sport");
alert("Section ID: " + section.id + ", name: " + section.name);

Get a Section scoped to a specific Issue

// Get the Section "Sport" scoped to the Issue "1st Issue".
var section = app.entSession.getSection("WW News", "Sport", "1st Issue");
alert("Section ID: " + section.id);

Supported versions

Adobe Version Supported
2023
2024
2025
2026

See also