Skip to main content

Function: getObjectPageLayout()

getObjectPageLayout(page, options?): Promise<string>

Defined in: src/fe/object-page.ts:93

Finds the sap.uxap.ObjectPageLayout control on the current page.

Parameters​

page​

ObjectPagePage

Page to evaluate on.

options?​

ObjectPageOptions

Optional timeout settings.

Returns​

Promise<string>

The control ID of the ObjectPageLayout.

Throws​

ControlError if no ObjectPageLayout is found.

Example​

const layoutId = await getObjectPageLayout(page);