newReportContentPageFromLayout()
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Clones a report page into a page instance embeddable in template/report content.
export declare function newReportContentPageFromLayout(page: IReportPageLayout | IReportPageLayoutDefinition, localIdentifier?: string): IReportContentPage;
Parameters
Parameter | Type | Description |
|---|---|---|
page | ||
localIdentifier | string | (Optional) |
Returns
Remarks
The body is deep-copied and detached from the source page — no reference is kept. Slot localIdentifiers (and the layout slotIds pointing at them) are prefixed with the page-instance localIdentifier, so one page used repeatedly in the same content stays unique.