I'm trying to create a function to set the pagesLayout property of the report settings without hardcoding the page name. e.g. below replacing the "ReportSection" page name with a string variable rptPageName. Is there any way to do this? updatePageSettings ("ReportSection") function updatePageSettings (rptPageName){ var pageSizeSetting {...} var pageLayoutSetting {...} let settings = { layoutType: models.LayoutType.Custom, customLayout: { pageSize: pageSizeSetting, displayOption: models.DisplayOption.FitToPage, pagesLayout: { rptPageName : pageLayoutSetting } } } };
1 Comment
- fbcideas_migusrNew MemberStatus added:Needs Votes
Recent ideas
Allow Managed Private Endpoint to be disabled/enabled per notebook
Could notebooks have an option to use or not use the workspace's Managed Private Endpoint (MPE)? MPE can significantly increase notebook startup time, even for notebooks that don't need private conn...frithjof_v13 hours agoCommunity ChampionNew21Views1like0CommentsMatrix: column totals as a bar chart docked to the edge
What's missing Data bars already work on the Total row and column through conditional formatting, so row totals can be read as length. Column totals cannot: they render as a horizontal bar inside a ...Sayurivalente1 day agoRegular VisitorNew80Views6likes1Comment