<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Power Bi Embeded Mobile Layout not displaying in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-Embeded-Mobile-Layout-not-displaying/m-p/1859065#M29545</link>
    <description>&lt;P&gt;&lt;SPAN&gt;First you will need to&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/desktop-create-phone-report" rel="nofollow" target="_blank"&gt;create a report with mobile layout using Power BI desktop&lt;/A&gt;&lt;SPAN&gt;. After you created the report you can embed it using JavaScript SDK. In order to decide in which layout to embed, use the layoutType property of settings in embed configuration.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embed-For-Mobile#embed-a-report-in-mobile-layout" target="_self"&gt;https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embed-For-Mobile#embed-a-report-in-mobile-layout&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Current power bi embedded only available on web browser, it not contains mobile compatibility.&amp;nbsp;You could&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;code your website to change the Iframe to the mobile one when on mobile.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 24 May 2021 02:42:54 GMT</pubDate>
    <dc:creator>V-lianl-msft</dc:creator>
    <dc:date>2021-05-24T02:42:54Z</dc:date>
    <item>
      <title>Power Bi Embeded Mobile Layout not displaying</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-Embeded-Mobile-Layout-not-displaying/m-p/1856256#M29529</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Good day to all. I have a slight problem with displaying mobile view of embedded report. That report has a mobile view, I just can't display it, I always get desktop version. My embed config looks like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var config = {
    type: 'report',
    tokenType: models.TokenType.Aad,
    accessToken: txtAccessToken,
    embedUrl: txtEmbedUrl + "&amp;amp;mobileView=true", //I tried putting this to get mobile view to activate but to no avail
    id: txtEmbedReportId,
    permissions: permissions,
    pageName: "ReportSection",
    settings: {
        layoutType: models.LayoutType.MobilePortrait, //as you see I call the right setting(hopefully)
        panes: {
            filters: {
                visible: false
            }
        }
        
    }
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is the content of my WebView in Xamarin App, but I used JavaScript client for embedding. I suspect that I have a file missing that could recognize and turn on mobile view, so here are the files I have:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot_3.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/519059iE8116A19DA10FA7A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot_3.png" alt="Screenshot_3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;powerbi-client.d.ts version is v2.18.0&lt;/P&gt;&lt;P&gt;I also placed this code in my .html file head element:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 08:09:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-Embeded-Mobile-Layout-not-displaying/m-p/1856256#M29529</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-21T08:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Power Bi Embeded Mobile Layout not displaying</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-Embeded-Mobile-Layout-not-displaying/m-p/1859065#M29545</link>
      <description>&lt;P&gt;&lt;SPAN&gt;First you will need to&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/desktop-create-phone-report" rel="nofollow" target="_blank"&gt;create a report with mobile layout using Power BI desktop&lt;/A&gt;&lt;SPAN&gt;. After you created the report you can embed it using JavaScript SDK. In order to decide in which layout to embed, use the layoutType property of settings in embed configuration.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embed-For-Mobile#embed-a-report-in-mobile-layout" target="_self"&gt;https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embed-For-Mobile#embed-a-report-in-mobile-layout&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Current power bi embedded only available on web browser, it not contains mobile compatibility.&amp;nbsp;You could&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;code your website to change the Iframe to the mobile one when on mobile.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 May 2021 02:42:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-Bi-Embeded-Mobile-Layout-not-displaying/m-p/1859065#M29545</guid>
      <dc:creator>V-lianl-msft</dc:creator>
      <dc:date>2021-05-24T02:42:54Z</dc:date>
    </item>
  </channel>
</rss>

