Forum Discussion
Embedded powerbi report- Default layout not working when mobile portrait and landscape is in use.
Hi Sachinkotnala7,
Seems the error isn't related to the code here. Did you still get the report in default layout? I would suggest you create mobile layout if you want to embed mobile view.
Best Regards,
Dale
Hi Dale,
Thanks for your reply.
Actually, I have two types of reports in my application, one of the reports type is in default layout and another one is configured in mobile layout. Currently, I can achieve only one functionality at a time. If I set layoutType as default initially then updatesetting is not able to update layout for mobile portrait or landscape mode but I can view both types of the report in the default view.
In other cases, if default layoutType is MobilePotrait or MobileLandscape, then I am able to view only a report configured for mobile layout and error will be generated for rest of the reports which were not configured for mobile layout.
I want to achieve functionality where if any of the reports is not configured for mobile, then I should be able to see default layout. However, if a report is configured for mobile layout, then I should be able to see a mobile portrait or landscape layout depending on device orientation.