<?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: Javascript code to refresh tiles inside dashboard only? in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Javascript-code-to-refresh-tiles-inside-dashboard-only/m-p/2645808#M24932</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks! after much digging on the web I found a script that works. I set it as a bookmark on the browser and save the url of it as this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;javascript&amp;amp;colon;function refreshPowerBI() {this.frames[0].postMessage({ kind: "powerbi.reportServerHost.IToolbarActionMessage", button: "refresh" }, "https://[your instance]/:443")} if (window.autoRefreshInterval) { clearInterval(window.autoRefreshInterval); };window.autoRefreshInterval = setInterval(refreshPowerBI, 30 * 1000)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope it helps other users.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Jul 2022 20:11:53 GMT</pubDate>
    <dc:creator>mpsrshl</dc:creator>
    <dc:date>2022-07-18T20:11:53Z</dc:date>
    <item>
      <title>Javascript code to refresh tiles inside dashboard only?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Javascript-code-to-refresh-tiles-inside-dashboard-only/m-p/2637674#M24859</link>
      <description>&lt;P&gt;Hey there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have some javascript code I can use in the way of a bookmark to make my dashboard's tiles refresh every 60 seconds?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This dashboard is set up as direct query.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I copied one that didn't work perhaps because it was intended for Power Bi Service tiles instead of on Premise.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&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;</description>
      <pubDate>Thu, 14 Jul 2022 04:33:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Javascript-code-to-refresh-tiles-inside-dashboard-only/m-p/2637674#M24859</guid>
      <dc:creator>mpsrshl</dc:creator>
      <dc:date>2022-07-14T04:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript code to refresh tiles inside dashboard only?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Javascript-code-to-refresh-tiles-inside-dashboard-only/m-p/2644210#M24914</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="106875" data-lia-user-login="mpsrshl" class="lia-mention lia-mention-user"&gt;mpsrshl&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;As it relates to development, I did not find a relevant article, you can refer to the following link and check if it is helpful to you:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Service/DirectQuery-Auto-Refresh-Dashboard-Every-60-Seconds/m-p/850412/highlight/true" target="_blank"&gt;https://community.powerbi.com/t5/Service/DirectQuery-Auto-Refresh-Dashboard-Every-60-Seconds/m-p/850412/highlight/true&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Lucien&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 08:25:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Javascript-code-to-refresh-tiles-inside-dashboard-only/m-p/2644210#M24914</guid>
      <dc:creator>v-luwang-msft</dc:creator>
      <dc:date>2022-07-18T08:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript code to refresh tiles inside dashboard only?</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Javascript-code-to-refresh-tiles-inside-dashboard-only/m-p/2645808#M24932</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks! after much digging on the web I found a script that works. I set it as a bookmark on the browser and save the url of it as this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;javascript&amp;amp;colon;function refreshPowerBI() {this.frames[0].postMessage({ kind: "powerbi.reportServerHost.IToolbarActionMessage", button: "refresh" }, "https://[your instance]/:443")} if (window.autoRefreshInterval) { clearInterval(window.autoRefreshInterval); };window.autoRefreshInterval = setInterval(refreshPowerBI, 30 * 1000)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope it helps other users.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 20:11:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Javascript-code-to-refresh-tiles-inside-dashboard-only/m-p/2645808#M24932</guid>
      <dc:creator>mpsrshl</dc:creator>
      <dc:date>2022-07-18T20:11:53Z</dc:date>
    </item>
  </channel>
</rss>

