Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

The updateSettings function is not changing layout type to the mobile view in the embedded report

I have an embedded report (that already have mobile layout) that I'm trying to change the visualization from default layout to the mobile layout using the updateSettings function like the example below:

 

const newSettings = {
    layoutType: models.LayoutType.MobileLandscape
};

report.updateSettings(newSettings);

 

When I do it after the report being loaded, the report doesn't change the layout.

I'm only able to show the mobile layout when I set the right layoutType when I'm embedding the report. But in the documentation page, it says that we can change the layout type after we load the report.

Is it an error in the javascript SDK or is it expected behaviour?

 

2 REPLIES 2
Anonymous
Not applicable

@Dan2 Did you guys findout the error ?

Dan2
Helper I
Helper I

I have the exact same issue the author has. Does anyone have any updates? Thanks.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors