Skip to main content
Version: 1.x

Function: getObjectPageSections()

getObjectPageSections(page): Promise<readonly ObjectPageSection[]>

Returns all sections in the Object Page with visibility, index, and sub-sections.

Parameters​

page​

ObjectPagePage

Page to evaluate on.

Returns​

Promise<readonly ObjectPageSection[]>

Array of section descriptors.

Intent​

List all sections in the Object Page layout for discovery or assertion.

Capability​

fe.objectPage.getSections

Example​

const sections = await getObjectPageSections(page);