<?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 LocalStorage v2 and embedded reports in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/LocalStorage-v2-and-embedded-reports/m-p/4028594#M53986</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I am experiencing an issue with the new LocalStorage v2 while developing my custom visual. Specifically, following the main &lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/visuals/local-storage?tabs=v2" target="_self"&gt;example&lt;/A&gt; I can make it work on the desktop and web versions of Power BI, however when I embed the report using the URL (no publish to web, just copy the embed link and open it in the browser) the API is never allowed. I see from the &lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/visuals/local-storage?tabs=v2" target="_self"&gt;documentation&lt;/A&gt; that the API is also available for SaaS embed, which should align with my use case&lt;/P&gt;&lt;P&gt;Can anyone help me figure out why this is happening and how to resolve it?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Sun, 07 Jul 2024 10:15:34 GMT</pubDate>
    <dc:creator>pietrodig</dc:creator>
    <dc:date>2024-07-07T10:15:34Z</dc:date>
    <item>
      <title>LocalStorage v2 and embedded reports</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/LocalStorage-v2-and-embedded-reports/m-p/4028594#M53986</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;I am experiencing an issue with the new LocalStorage v2 while developing my custom visual. Specifically, following the main &lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/visuals/local-storage?tabs=v2" target="_self"&gt;example&lt;/A&gt; I can make it work on the desktop and web versions of Power BI, however when I embed the report using the URL (no publish to web, just copy the embed link and open it in the browser) the API is never allowed. I see from the &lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/visuals/local-storage?tabs=v2" target="_self"&gt;documentation&lt;/A&gt; that the API is also available for SaaS embed, which should align with my use case&lt;/P&gt;&lt;P&gt;Can anyone help me figure out why this is happening and how to resolve it?&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Sun, 07 Jul 2024 10:15:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/LocalStorage-v2-and-embedded-reports/m-p/4028594#M53986</guid>
      <dc:creator>pietrodig</dc:creator>
      <dc:date>2024-07-07T10:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: LocalStorage v2 and embedded reports</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/LocalStorage-v2-and-embedded-reports/m-p/4029096#M53997</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/620487"&gt;@pietrodig&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I'd like to suggest you take a look the limitation list if it suitable for your scenario:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/visuals/local-storage?tabs=v2#considerations-and-limitations" target="_blank"&gt;Local Storage API in Power BI Visuals - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Data can be shared between visuals with the same GUID, same environment, and for the same user only.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;If the browser is in kiosk mode, local storage availability might differ between browsers, and by the kiosk owner's settings.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;There are many reasons this API might not be supported. For example, the environment might not be supported or the browser’s local storage isn't available. We recommend checking the status of the API before using the set/get/remove methods. Error handling is important since even if the API is supported, it might fail.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Xiaoxin Sheng&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 02:15:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/LocalStorage-v2-and-embedded-reports/m-p/4029096#M53997</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-08T02:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: LocalStorage v2 and embedded reports</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/LocalStorage-v2-and-embedded-reports/m-p/4029772#M54007</link>
      <description>&lt;P&gt;Dear @Anonymous&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your reply. Unfortunately, it does not address my question. According to the documentation, the API is supported in several environments, including SaaS Embed.&lt;/P&gt;&lt;P&gt;Could you please clarify if the SaaS Embed use case covers both the web URL embed and the publish to web embed, or only one of these? If it is only one, which one is it? If it does not cover these, what are the specific use cases covered by SaaS Embed?&lt;/P&gt;&lt;P&gt;Please let me know if my questions are too technical for this forum and if I should post them elsewhere.&lt;/P&gt;&lt;P&gt;Many thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 08:53:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/LocalStorage-v2-and-embedded-reports/m-p/4029772#M54007</guid>
      <dc:creator>pietrodig</dc:creator>
      <dc:date>2024-07-08T08:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: LocalStorage v2 and embedded reports</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/LocalStorage-v2-and-embedded-reports/m-p/4041988#M54180</link>
      <description>&lt;P&gt;Any updates on this?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 08:02:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/LocalStorage-v2-and-embedded-reports/m-p/4041988#M54180</guid>
      <dc:creator>pietrodig</dc:creator>
      <dc:date>2024-07-15T08:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: LocalStorage v2 and embedded reports</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/LocalStorage-v2-and-embedded-reports/m-p/4047504#M54222</link>
      <description>&lt;P&gt;H&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/620487"&gt;@pietrodig&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;In fact, the document already mentions the SAAS embed is support. But this does not mean the LocalStorage v2 works for each embed scenario, they will also be effected by environment, web browser or other settings.&lt;/P&gt;
&lt;P&gt;You can refer to the document's suggestion to add set/get/remove methods to check the API status to confirm it availed on your environment.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Xiaoxin Sheng&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jul 2024 05:28:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/LocalStorage-v2-and-embedded-reports/m-p/4047504#M54222</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-07-18T05:28:31Z</dc:date>
    </item>
  </channel>
</rss>

