<?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 Javascript API capabilities in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Javascript-API-capabilities/m-p/186730#M5945</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/20538"&gt;@l2aFa&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi everyone&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are currently working on a web app that embeds power bi reports into an iframe filtered via the javascript API and its working like a charm. &amp;nbsp;However there are some&amp;nbsp;features&amp;nbsp;which we will like to add to our current solution such as:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;- Applying custom report themes (via the Javascript AP)I according to the account viewing the report.&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;- Viewing the reports on mobile layout (accesing from our current web app, mobile app doesn't satisfy our requirements at the moment) either forcing to display the mobile layout via API or employing a responsive design.&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;After some digging, I couldn't find a satisfactory answer for any&amp;nbsp;of these topics. The publish to web option isn't a viable option for security reasons and the javascript wiki doesn't mention anything about them either (or if it does I didn't find it).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could anyone shed some light about these two?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/20538"&gt;@l2aFa&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Supposing you're using &lt;A href="https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-what-is-power-bi-embedded" target="_self"&gt;Power BI Embedded&lt;/A&gt;?&lt;/P&gt;
&lt;P&gt;For Questions 1, AFAIK, it is not supported. As a workaround, you can import multiple pbixs with different themes(&lt;A href="https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-report-themes/" target="_self"&gt;check how&lt;/A&gt;) and control which report to access for individual users in your application.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For Questions 2, my understanding is that&amp;nbsp;the reports in Power BI service or Power BI Embedded are supposed to be viewed via the browers in a PC. For mobile device, just use the app&amp;nbsp;&lt;A href="https://powerbi.microsoft.com/en-us/mobile/" target="_self"&gt;Power BI mobile&lt;/A&gt;, though this app doesn't support Power BI Embeded.&lt;/P&gt;
&lt;P&gt;You can submit your ideas at &lt;A href="http://ideas.powerbi.com" target="_self"&gt;Power BI Ideas&lt;/A&gt; and vote it up.&lt;/P&gt;</description>
    <pubDate>Fri, 02 Jun 2017 06:50:17 GMT</pubDate>
    <dc:creator>Eric_Zhang</dc:creator>
    <dc:date>2017-06-02T06:50:17Z</dc:date>
    <item>
      <title>Power BI Javascript API capabilities</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Javascript-API-capabilities/m-p/185821#M5925</link>
      <description>&lt;P&gt;Hi everyone&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are currently working on a web app that embeds power bi reports into an iframe filtered via the javascript API and its working like a charm. &amp;nbsp;However there are some&amp;nbsp;features&amp;nbsp;which we will like to add to our current solution such as:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;- Applying custom report themes (via the Javascript AP)I according to the account viewing the report.&lt;/LI&gt;&lt;LI&gt;- Viewing the reports on mobile layout (accesing from our current web app, mobile app doesn't satisfy our requirements at the moment) either forcing to display the mobile layout via API or employing a responsive design.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;After some digging, I couldn't find a satisfactory answer for any&amp;nbsp;of these topics. The publish to web option isn't a viable option for security reasons and the javascript wiki doesn't mention anything about them either (or if it does I didn't find it).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could anyone shed some light about these two?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2017 07:28:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Javascript-API-capabilities/m-p/185821#M5925</guid>
      <dc:creator>l2aFa</dc:creator>
      <dc:date>2017-06-01T07:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Javascript API capabilities</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Javascript-API-capabilities/m-p/186730#M5945</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/20538"&gt;@l2aFa&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hi everyone&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are currently working on a web app that embeds power bi reports into an iframe filtered via the javascript API and its working like a charm. &amp;nbsp;However there are some&amp;nbsp;features&amp;nbsp;which we will like to add to our current solution such as:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;STRONG&gt;- Applying custom report themes (via the Javascript AP)I according to the account viewing the report.&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;- Viewing the reports on mobile layout (accesing from our current web app, mobile app doesn't satisfy our requirements at the moment) either forcing to display the mobile layout via API or employing a responsive design.&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;After some digging, I couldn't find a satisfactory answer for any&amp;nbsp;of these topics. The publish to web option isn't a viable option for security reasons and the javascript wiki doesn't mention anything about them either (or if it does I didn't find it).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could anyone shed some light about these two?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/20538"&gt;@l2aFa&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Supposing you're using &lt;A href="https://docs.microsoft.com/en-us/azure/power-bi-embedded/power-bi-embedded-what-is-power-bi-embedded" target="_self"&gt;Power BI Embedded&lt;/A&gt;?&lt;/P&gt;
&lt;P&gt;For Questions 1, AFAIK, it is not supported. As a workaround, you can import multiple pbixs with different themes(&lt;A href="https://powerbi.microsoft.com/en-us/documentation/powerbi-desktop-report-themes/" target="_self"&gt;check how&lt;/A&gt;) and control which report to access for individual users in your application.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For Questions 2, my understanding is that&amp;nbsp;the reports in Power BI service or Power BI Embedded are supposed to be viewed via the browers in a PC. For mobile device, just use the app&amp;nbsp;&lt;A href="https://powerbi.microsoft.com/en-us/mobile/" target="_self"&gt;Power BI mobile&lt;/A&gt;, though this app doesn't support Power BI Embeded.&lt;/P&gt;
&lt;P&gt;You can submit your ideas at &lt;A href="http://ideas.powerbi.com" target="_self"&gt;Power BI Ideas&lt;/A&gt; and vote it up.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2017 06:50:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Javascript-API-capabilities/m-p/186730#M5945</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-06-02T06:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Javascript API capabilities</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Javascript-API-capabilities/m-p/186873#M5952</link>
      <description>&lt;P&gt;Hello Eric&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for answering :)!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are not currently using Power BI Embedded, we obtain a token from the authentication service and then we embed the report into an existing iframe within the page. I considered creating multiple versions of the same report but due to the number of our clients is not a viable option. I will submit the idea though.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm gonna try with different resolutions in order to achieve something mobile friendly.&amp;nbsp;In our case, we previously filter the report data via the javascript API so the client only has access to his own records. Going through the mobile app (as far as I know) will give any client access to the entire data unless we establish some RLS at the source (SSAS Tabular) but again our clients volume turns this option non-viable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2017 09:45:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Javascript-API-capabilities/m-p/186873#M5952</guid>
      <dc:creator>l2aFa</dc:creator>
      <dc:date>2017-06-02T09:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Javascript API capabilities</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Javascript-API-capabilities/m-p/186877#M5953</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/20538"&gt;@l2aFa&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Hello Eric&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for answering :)!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are not currently using Power BI Embedded, we obtain a token from the authentication service and then we embed the report into an existing iframe within the page. I considered creating multiple versions of the same report &lt;STRONG&gt;but due to the number of our clients is not a viable option&lt;/STRONG&gt;. I will submit the idea though.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm gonna try with different resolutions in order to achieve something mobile friendly.&amp;nbsp;In our case, we previously filter the report data via the javascript API so the client only has access to his own records. Going through the mobile app (as far as I know) will give any client access to the entire data unless we establish some RLS at the source (SSAS Tabular) but again our clients volume turns this option non-viable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much!&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/20538"&gt;@l2aFa&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;You may don't have to offer each customer one theme, right? For me, I'd custom like ten themes and make a list to let the customers choose which would be prefered. By the way, you can find and download more themes &lt;A href="https://community.powerbi.com/t5/Themes-Gallery/bd-p/ThemesGallery" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2017 09:50:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Javascript-API-capabilities/m-p/186877#M5953</guid>
      <dc:creator>Eric_Zhang</dc:creator>
      <dc:date>2017-06-02T09:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Javascript API capabilities</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Javascript-API-capabilities/m-p/186918#M5954</link>
      <description>&lt;P&gt;Hi again!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope we don't have to but who knows &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt; The idea was employing the same pbix with different themes (corporative colors of each client) avoiding&amp;nbsp;multiple versions of the same report.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The mobile test has been successful so far although report tabs are a bit tricky.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the theme's gallery, I will have them in mind.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jun 2017 10:42:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Javascript-API-capabilities/m-p/186918#M5954</guid>
      <dc:creator>l2aFa</dc:creator>
      <dc:date>2017-06-02T10:42:24Z</dc:date>
    </item>
  </channel>
</rss>

