Function: getObjectPageLayout()
getObjectPageLayout(
page,options?):Promise<string>
Defined in: src/fe/object-page.ts:105
Finds the sap.uxap.ObjectPageLayout control on the current page.
Parameters
page
Page to evaluate on.
options?
Optional timeout settings.
Returns
Promise<string>
The control ID of the ObjectPageLayout.
Intent
Discover the Object Page layout control on a Fiori Elements Object Page.
Throws
ControlError if no ObjectPageLayout is found.
Example
const layoutId = await getObjectPageLayout(page);