<?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 Embedded power BI - Accessing powerbi  iframe DOM object from application in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Embedded-power-BI-Accessing-powerbi-iframe-DOM-object-from/m-p/329404#M9745</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using embedded powerbi into my application. Application manages its session time out based on the mouse clicks on the UI. When powerbi reports is embedded , we do not have control on the DOM document inside the embedded iframe. We need to get that control so that we can add event handling to take care of application session time outs ,etc. Basically, in my application, i am looking for a way by which I can access via javascript , the document html that is inside the embedded iframe of powerbi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 27 Dec 2017 08:23:10 GMT</pubDate>
    <dc:creator>vivek_jain</dc:creator>
    <dc:date>2017-12-27T08:23:10Z</dc:date>
    <item>
      <title>Embedded power BI - Accessing powerbi  iframe DOM object from application</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embedded-power-BI-Accessing-powerbi-iframe-DOM-object-from/m-p/329404#M9745</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using embedded powerbi into my application. Application manages its session time out based on the mouse clicks on the UI. When powerbi reports is embedded , we do not have control on the DOM document inside the embedded iframe. We need to get that control so that we can add event handling to take care of application session time outs ,etc. Basically, in my application, i am looking for a way by which I can access via javascript , the document html that is inside the embedded iframe of powerbi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Dec 2017 08:23:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embedded-power-BI-Accessing-powerbi-iframe-DOM-object-from/m-p/329404#M9745</guid>
      <dc:creator>vivek_jain</dc:creator>
      <dc:date>2017-12-27T08:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Embedded power BI - Accessing powerbi  iframe DOM object from application</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embedded-power-BI-Accessing-powerbi-iframe-DOM-object-from/m-p/329842#M9759</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="35506" data-lia-user-login="vivek_jain" class="lia-mention lia-mention-user"&gt;vivek_jain&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Followings are a list of events which can be handled Power BI JavaScript API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Reports&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;loaded
	configuration
&lt;STRONG&gt;rendered
	Called when a report is fully rendered. For example, if all visuals are rendered on loading report or after user interaction.
&lt;/STRONG&gt;
pageChanged
	newPage: Page

filtersApplied (Not supported yet)
	filters

dataSelected
	report: Report
	page: Page
	visual: Visual (Will be defined)
	filters: IFilter[]
	dataPoints: (Array of data points)
		each point has:
		1) **identity** array
		2) **values** array (In Progress)

commandTriggered
       Raised when end user clicks on extension command.
       [Menu Commands Extension](https://github.com/Microsoft/PowerBI-JavaScript/wiki/Menu-Commands-Extension)
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Dashboards&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&lt;STRONG&gt;tileClicked&lt;/STRONG&gt;
       &lt;STRONG&gt;Raised when end user clicks a tile&lt;/STRONG&gt;. event properties are:
           tileId: id of clicked tile.
           reportEmbedUrl: Embed Url of the original report the tile created from (if any)
           pageName: name of the page the tile created from (if any)
           navigationUrl: Url which will be opened in powerbi.com if user clicks a tile.&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;In you scenario, you should be able to handling the &lt;STRONG&gt;rendered&lt;/STRONG&gt;(which will be triggered&amp;nbsp;after user interaction when a report is fully rendered) or&amp;nbsp;&lt;STRONG&gt;tileClicked&lt;/STRONG&gt; event to&amp;nbsp;&lt;SPAN&gt;take care of application session time outs.&amp;nbsp;:smileyhappy:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2017 06:46:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embedded-power-BI-Accessing-powerbi-iframe-DOM-object-from/m-p/329842#M9759</guid>
      <dc:creator>v-ljerr-msft</dc:creator>
      <dc:date>2017-12-28T06:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Embedded power BI - Accessing powerbi  iframe DOM object from application</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Embedded-power-BI-Accessing-powerbi-iframe-DOM-object-from/m-p/329966#M9772</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="11689" data-lia-user-login="v-ljerr-msft" class="lia-mention lia-mention-user"&gt;v-ljerr-msft&lt;/a&gt;&amp;nbsp;for the prompt response.&lt;/P&gt;&lt;P&gt;'rendered' event seems to work for my case.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2017 10:57:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Embedded-power-BI-Accessing-powerbi-iframe-DOM-object-from/m-p/329966#M9772</guid>
      <dc:creator>vivek_jain</dc:creator>
      <dc:date>2017-12-28T10:57:33Z</dc:date>
    </item>
  </channel>
</rss>

