set_page_display
Configure a page's display option (FitToPage, FitToWidth, ActualSize) and visibility (AlwaysVisible or HiddenInViewMode) to manage canvas sizing and viewer access in Power BI.
Instructions
Set a page's DISPLAY OPTION (how the canvas fits the screen: FitToPage|FitToWidth|ActualSize) and/or its VISIBILITY (AlwaysVisible|HiddenInViewMode - hide the page from viewers). Both optional; set at least one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | page name or displayName | |
| visibility | No | AlwaysVisible | HiddenInViewMode | |
| displayOption | No | FitToPage | FitToWidth | ActualSize | |
| reportSessionId | Yes |