clone_page
Clones a Power BI report page, duplicating its entire section, assigning a unique name and updating all visual IDs to maintain global uniqueness, then returns the new page name.
Instructions
Deep-clone a report page: copies the whole section, assigns a fresh unique section name and a new ordinal at the end, sets newDisplayName, and regenerates EVERY visual's id so ids stay globally unique across the report. Returns the new page name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourcePage | Yes | source page name or displayName to clone | |
| newDisplayName | Yes | tab title for the new page | |
| reportSessionId | Yes |