<?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: Embedded power BI Mobile Layout doesn't work in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Embedded-power-BI-Mobile-Layout-doesn-t-work/m-p/3413981#M44252</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/386752"&gt;@firstch&lt;/a&gt;,&amp;nbsp;can you please detailed the correction you made in bootstrap to make this function work ?&lt;/P&gt;&lt;P&gt;Thank you very much !&lt;/P&gt;</description>
    <pubDate>Mon, 04 Sep 2023 13:24:30 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-09-04T13:24:30Z</dc:date>
    <item>
      <title>Embedded power BI Mobile Layout doesn't work</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embedded-power-BI-Mobile-Layout-doesn-t-work/m-p/2727676#M38177</link>
      <description>&lt;P&gt;Hi everyone please help , how to embedded power BI with mobile view&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;this is my code that i have input config in file name "/Authenticate-ServicePrincipal/Embed for your customers/Embedded report.cshtml"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="firstch_0-1661488824170.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/772505iEBDCF622FDCAFD7E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="firstch_0-1661488824170.png" alt="firstch_0-1661488824170.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but it still show desktop&amp;nbsp; layout&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="firstch_1-1661489271073.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/772507iD9B34122A03CB6F6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="firstch_1-1661489271073.png" alt="firstch_1-1661489271073.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;this is git that I use as reference:&lt;A href="https://github.com/Dhruvinshah16/PBI-Embedded-ASP.NET" target="_blank"&gt;https://github.com/Dhruvinshah16/PBI-Embedded-ASP.NET&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thankyou in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regard&lt;/P&gt;&lt;P&gt;firstch&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 04:48:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embedded-power-BI-Mobile-Layout-doesn-t-work/m-p/2727676#M38177</guid>
      <dc:creator>firstch</dc:creator>
      <dc:date>2022-08-26T04:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Embedded power BI Mobile Layout doesn't work</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embedded-power-BI-Mobile-Layout-doesn-t-work/m-p/2731861#M38221</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/386752"&gt;@firstch&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are two layout types dedicated to mobile devices:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;CODE&gt;MobilePortrait&lt;SPAN&gt;&amp;nbsp;- Optimized for portrait view. This is the mobile layout you created for your report.&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;CODE&gt;MobileLandscape&lt;SPAN&gt;&amp;nbsp;- Optimized for landscape view. This is the regular layout of your report.&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;For example, the following code shows how to embed the report with a mobile layout.&lt;/P&gt;
&lt;PRE class="" tabindex="0"&gt;&lt;CODE class="" data-author-content=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;// Get models. models contains enums that can be used.
&lt;SPAN class=""&gt;var models = &lt;SPAN class=""&gt;window[&lt;SPAN class=""&gt;'powerbi-client'].models;

&lt;SPAN class=""&gt;var embedConfiguration = {
    &lt;SPAN class=""&gt;type: &lt;SPAN class=""&gt;'report',
    &lt;SPAN class=""&gt;id: reportId,
    &lt;SPAN class=""&gt;embedUrl: embedUrl,
    &lt;SPAN class=""&gt;tokenType: tokenType,
    &lt;SPAN class=""&gt;accessToken: accessToken,
    &lt;SPAN class=""&gt;settings: {
        &lt;SPAN class=""&gt;layoutType: models.LayoutType.MobilePortrait
    }
};&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You may refer to this offical blog to learn more details about &lt;A href="https://docs.microsoft.com/en-us/javascript/api/overview/powerbi/mobile" target="_self"&gt;how to&amp;nbsp;embed a report using mobile layout.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 08:07:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embedded-power-BI-Mobile-Layout-doesn-t-work/m-p/2731861#M38221</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-08-29T08:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Embedded power BI Mobile Layout doesn't work</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embedded-power-BI-Mobile-Layout-doesn-t-work/m-p/2734243#M38241</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;The problem solved, I reccorrect the bootstrap part in code first&amp;nbsp; then add the above code, its work&lt;/P&gt;&lt;P&gt;thank you&lt;BR /&gt;Best Regard&lt;BR /&gt;firstch&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 06:50:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embedded-power-BI-Mobile-Layout-doesn-t-work/m-p/2734243#M38241</guid>
      <dc:creator>firstch</dc:creator>
      <dc:date>2022-08-30T06:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Embedded power BI Mobile Layout doesn't work</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embedded-power-BI-Mobile-Layout-doesn-t-work/m-p/3413981#M44252</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/386752"&gt;@firstch&lt;/a&gt;,&amp;nbsp;can you please detailed the correction you made in bootstrap to make this function work ?&lt;/P&gt;&lt;P&gt;Thank you very much !&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 13:24:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embedded-power-BI-Mobile-Layout-doesn-t-work/m-p/3413981#M44252</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-09-04T13:24:30Z</dc:date>
    </item>
  </channel>
</rss>

