<?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: Custom Visual - Can't open IDBFactory in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Can-t-open-IDBFactory/m-p/3452006#M44720</link>
    <description>&lt;P&gt;I switched the viewer to svf1 so the dbids are matching with the ones from the api request with the header&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;x-ads-derivative-format: fallback&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Sep 2023 15:31:18 GMT</pubDate>
    <dc:creator>ThibaudGD</dc:creator>
    <dc:date>2023-09-28T15:31:18Z</dc:date>
    <item>
      <title>Custom Visual - Can't open IDBFactory</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Can-t-open-IDBFactory/m-p/2732653#M38230</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working on a custom visual that required to open IDBFactory (see this post from &lt;A href="https://stackoverflow.com/questions/71696258/forge-viewer-svf2-powerbi-not-loading" target="_self"&gt;StackOverflow&lt;/A&gt;).&lt;BR /&gt;I can't figure out how to allow this. Is it possible ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the error message I got :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="java"&gt;Uncaught DOMException: Failed to execute 'open' on 'IDBFactory': access to the Indexed Database API is denied in this context.
    at LocalDbCache.open (blob:null/470f8c49-3614-4d49-a0b7-c7a9c2553485:7363:29)
    at Object.doInitGeomWorker [as doOperation] (blob:null/470f8c49-3614-4d49-a0b7-c7a9c2553485:14896:18)
    at WorkerMain.dispatch (blob:null/470f8c49-3614-4d49-a0b7-c7a9c2553485:14477:12)
    at blob:null/470f8c49-3614-4d49-a0b7-c7a9c2553485:41771:55&lt;/LI-CODE&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;&lt;P&gt;Thank you all&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 13:18:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Can-t-open-IDBFactory/m-p/2732653#M38230</guid>
      <dc:creator>ThibaudGD</dc:creator>
      <dc:date>2022-08-29T13:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual - Can't open IDBFactory</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Can-t-open-IDBFactory/m-p/2733969#M38236</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/253757"&gt;@ThibaudGD&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;From the looks of things, this requires access to the browser data storage APIs. As the custom visual iframe sandbox does not have the &lt;A href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#:~:text=allow%2Dsame%2Dorigin%3A%20If%20this%20token%20is%20not%20used%2C%20the%20resource%20is%20treated%20as%20being%20from%20a%20special%20origin%20that%20always%20fails%20the%20same%2Dorigin%20policy%20(potentially%20preventing%20access%20to%20data%20storage/cookies%20and%20some%20JavaScript%20APIs)." target="_self"&gt;&lt;FONT face="courier new,courier"&gt;allow-same-origin&lt;/FONT&gt;&lt;/A&gt; attribute set, I don't think this will not be possible to achieve. If you want definitive confirmation you may need to contact the custom visuals team for clarification - &lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;pbicvsupport@microsoft.com&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 04:15:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Can-t-open-IDBFactory/m-p/2733969#M38236</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2022-08-30T04:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual - Can't open IDBFactory</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Can-t-open-IDBFactory/m-p/2734045#M38237</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/397"&gt;@dm-p&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for the answer. I just email them to have confirmation.&lt;/P&gt;&lt;P&gt;In the meantime, do you know if there is any workaround to this ?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 05:46:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Can-t-open-IDBFactory/m-p/2734045#M38237</guid>
      <dc:creator>ThibaudGD</dc:creator>
      <dc:date>2022-08-30T05:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual - Can't open IDBFactory</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Can-t-open-IDBFactory/m-p/2734071#M38238</link>
      <description>&lt;P&gt;If you want to use something that is not permitted by the sandbox, I would say it's not directly possible to work around. I don't know the &lt;FONT face="courier new,courier"&gt;IDBFactory&lt;/FONT&gt; APIs but if it's possible to access something similar from a remote endpoint that doesn't have CORS restrictions (again, a limitation of the &lt;FONT face="courier new,courier"&gt;allow-same-origin&lt;/FONT&gt; not being set by Power BI), then that &lt;EM&gt;might&lt;/EM&gt; work. MS will not apply &lt;FONT face="courier new,courier"&gt;allow-same-origin&lt;/FONT&gt; to the sandbox as it &lt;A href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#:~:text=When%20the%20embedded%20document%20has%20the%20same%20origin%20as%20the%20embedding%20page%2C%20it%20is%20strongly%20discouraged%20to%20use%20both%20allow%2Dscripts%20and%20allow%2Dsame%2Dorigin%2C%20as%20that%20lets%20the%20embedded%20document%20remove%20the%20sandbox%20attribute%20%E2%80%94%20making%20it%20no%20more%20secure%20than%20not%20using%20the%20sandbox%20attribute%20at%20all." target="_self"&gt;effectively removes permissions from the sandbox&lt;/A&gt;, which creates all kind sof potential issues with custom visuals (even if your intentions are honourable).&lt;/P&gt;
&lt;P&gt;The only storage a visual has (unless you can get it submitted to AppSource, certified and whitelisted to use the custom visuals &lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/visuals/local-storage#considerations-and-limitations" target="_self"&gt;local storage API&lt;/A&gt;) is the visual properties.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 05:54:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Can-t-open-IDBFactory/m-p/2734071#M38238</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2022-08-30T05:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual - Can't open IDBFactory</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Can-t-open-IDBFactory/m-p/2746889#M38379</link>
      <description>&lt;P&gt;I got the response from pbivsupport:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Unfortunately right now it is impossible to use stuff like indexDB from our side.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR /&gt;Thank you for the answers&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2022 06:05:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Can-t-open-IDBFactory/m-p/2746889#M38379</guid>
      <dc:creator>ThibaudGD</dc:creator>
      <dc:date>2022-09-05T06:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual - Can't open IDBFactory</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Can-t-open-IDBFactory/m-p/3451916#M44715</link>
      <description>&lt;P&gt;Hey there, I'm facing the same issue and was wondering if you had luck applying '&lt;SPAN&gt;disableIndexedDb=true' and also where did you apply it in the code?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 14:51:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Can-t-open-IDBFactory/m-p/3451916#M44715</guid>
      <dc:creator>wonderkid88</dc:creator>
      <dc:date>2023-09-28T14:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual - Can't open IDBFactory</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Can-t-open-IDBFactory/m-p/3451984#M44718</link>
      <description>&lt;P&gt;Hey,&lt;BR /&gt;Saddly not. I used&amp;nbsp;&lt;SPAN&gt;x-ads-derivative-format: fallback to get svf1 id in my requests.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 15:15:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Can-t-open-IDBFactory/m-p/3451984#M44718</guid>
      <dc:creator>ThibaudGD</dc:creator>
      <dc:date>2023-09-28T15:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual - Can't open IDBFactory</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Can-t-open-IDBFactory/m-p/3451986#M44719</link>
      <description>&lt;P&gt;and how did you match dbids?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 15:18:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Can-t-open-IDBFactory/m-p/3451986#M44719</guid>
      <dc:creator>wonderkid88</dc:creator>
      <dc:date>2023-09-28T15:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual - Can't open IDBFactory</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Can-t-open-IDBFactory/m-p/3452006#M44720</link>
      <description>&lt;P&gt;I switched the viewer to svf1 so the dbids are matching with the ones from the api request with the header&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;x-ads-derivative-format: fallback&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 15:31:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Can-t-open-IDBFactory/m-p/3452006#M44720</guid>
      <dc:creator>ThibaudGD</dc:creator>
      <dc:date>2023-09-28T15:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual - Can't open IDBFactory</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Can-t-open-IDBFactory/m-p/3452078#M44725</link>
      <description>&lt;P&gt;and are you using AggregatedView?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 16:18:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Can-t-open-IDBFactory/m-p/3452078#M44725</guid>
      <dc:creator>wonderkid88</dc:creator>
      <dc:date>2023-09-28T16:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual - Can't open IDBFactory</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Can-t-open-IDBFactory/m-p/3452090#M44727</link>
      <description>&lt;P&gt;nope. But I'm planning to try&lt;/P&gt;</description>
      <pubDate>Thu, 28 Sep 2023 16:25:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Can-t-open-IDBFactory/m-p/3452090#M44727</guid>
      <dc:creator>ThibaudGD</dc:creator>
      <dc:date>2023-09-28T16:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual - Can't open IDBFactory</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Can-t-open-IDBFactory/m-p/3453046#M44741</link>
      <description>&lt;P&gt;Which version of the forge-powerbi plugin are you using and where did you set that header up? thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 07:36:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Can-t-open-IDBFactory/m-p/3453046#M44741</guid>
      <dc:creator>wonderkid88</dc:creator>
      <dc:date>2023-09-29T07:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual - Can't open IDBFactory</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Can-t-open-IDBFactory/m-p/3453068#M44743</link>
      <description>&lt;P&gt;I did my own forge viewer in pbi. And the header&amp;nbsp;&lt;SPAN&gt;x-ads-derivative-format: fallback is from here :&amp;nbsp;&lt;A href="https://aps.autodesk.com/en/docs/model-derivative/v2/reference/http/metadata/urn-metadata-guid-properties-GET/" target="_blank"&gt;GET Fetch All Properties | Model Derivative API | Autodesk Platform Services&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2023 07:45:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Can-t-open-IDBFactory/m-p/3453068#M44743</guid>
      <dc:creator>ThibaudGD</dc:creator>
      <dc:date>2023-09-29T07:45:28Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Visual - Can't open IDBFactory</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Can-t-open-IDBFactory/m-p/3764588#M50442</link>
      <description>&lt;P&gt;This has now been fixed by the Autodesk team&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/253757"&gt;@ThibaudGD&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2024 21:54:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-Visual-Can-t-open-IDBFactory/m-p/3764588#M50442</guid>
      <dc:creator>wonderkid88</dc:creator>
      <dc:date>2024-03-14T21:54:38Z</dc:date>
    </item>
  </channel>
</rss>

