<?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: Dialog Box for Custom Developed Visual? in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Dialog-Box-for-Custom-Developed-Visual/m-p/1941308#M30368</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/304461"&gt;@WZorn&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I haven't personally used this functionality yet to assist in detail, but which version of &lt;FONT face="courier new,courier"&gt;powerbi-visuals-api&lt;/FONT&gt; is in your visual's &lt;FONT face="courier new,courier"&gt;package.json&lt;/FONT&gt;?&lt;/P&gt;
&lt;P&gt;These &lt;A href="https://github.com/microsoft/powerbi-visuals-api/commit/ce9deb49b692d42f35a9fc25a769885213a79abd" target="_self"&gt;interfaces are added in 3.7.0&lt;/A&gt;, so if this is older then you'll need to update this version, e.g. &lt;FONT face="courier new,courier"&gt;npm i powerbi-visuals-api@3.7.0&lt;/FONT&gt; or &lt;FONT face="courier new,courier"&gt;@latest&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jul 2021 22:31:21 GMT</pubDate>
    <dc:creator>dm-p</dc:creator>
    <dc:date>2021-07-06T22:31:21Z</dc:date>
    <item>
      <title>Dialog Box for Custom Developed Visual?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dialog-Box-for-Custom-Developed-Visual/m-p/1940855#M30364</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want a custom dialog box to display when a user clicks on an element within a visual.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found the following page:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/developer/visuals/create-display-dialog-box#create-the-dialog-box-implementation-file" target="_self"&gt;https://docs.microsoft.com/en-us/power-bi/developer/visuals/create-display-dialog-box#create-the-dialog-box-implementation-file&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The page describes how to build a date picker dialog.&amp;nbsp; In the new class, there are two import statements that I get an error on:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WZorn_0-1625598040305.png" style="width: 714px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/547492i61CB2DBBDF52E28D/image-dimensions/714x50?v=v2" width="714" height="50" role="button" title="WZorn_0-1625598040305.png" alt="WZorn_0-1625598040305.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first error I encountered was that powerbi was not defined, but I fixed that by including the "import powerbi from "powerbi-visuals-api" before the lines above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like DialogConstructor Options is not a named member, nor is DialogAction.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have there been changes that stopped this from working?&amp;nbsp; Has it been moved somewhere else?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;William&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 19:03:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dialog-Box-for-Custom-Developed-Visual/m-p/1940855#M30364</guid>
      <dc:creator>WZorn</dc:creator>
      <dc:date>2021-07-06T19:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog Box for Custom Developed Visual?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dialog-Box-for-Custom-Developed-Visual/m-p/1941308#M30368</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/304461"&gt;@WZorn&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I haven't personally used this functionality yet to assist in detail, but which version of &lt;FONT face="courier new,courier"&gt;powerbi-visuals-api&lt;/FONT&gt; is in your visual's &lt;FONT face="courier new,courier"&gt;package.json&lt;/FONT&gt;?&lt;/P&gt;
&lt;P&gt;These &lt;A href="https://github.com/microsoft/powerbi-visuals-api/commit/ce9deb49b692d42f35a9fc25a769885213a79abd" target="_self"&gt;interfaces are added in 3.7.0&lt;/A&gt;, so if this is older then you'll need to update this version, e.g. &lt;FONT face="courier new,courier"&gt;npm i powerbi-visuals-api@3.7.0&lt;/FONT&gt; or &lt;FONT face="courier new,courier"&gt;@latest&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 22:31:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dialog-Box-for-Custom-Developed-Visual/m-p/1941308#M30368</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2021-07-06T22:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog Box for Custom Developed Visual?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dialog-Box-for-Custom-Developed-Visual/m-p/1942951#M30388</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Well, that's a step in the right direction.&amp;nbsp; I can see what's happening now.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;When I run&lt;/FONT&gt;&amp;nbsp;&lt;FONT face="courier new,courier"&gt;npm i powerbi-visuals-api&lt;/FONT&gt;&lt;FONT face="courier new,courier"&gt;@latest&amp;nbsp;&lt;FONT face="arial,helvetica,sans-serif"&gt;it installs version 3.8.2, but as soon as I execute &lt;FONT face="courier new,courier"&gt;pbiviz start&lt;/FONT&gt;, it reverts to 2.6.0.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 12:06:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dialog-Box-for-Custom-Developed-Visual/m-p/1942951#M30388</guid>
      <dc:creator>WZorn</dc:creator>
      <dc:date>2021-07-07T12:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog Box for Custom Developed Visual?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Dialog-Box-for-Custom-Developed-Visual/m-p/1942965#M30389</link>
      <description>&lt;P&gt;AH.&amp;nbsp; The pbiviz.json still had the earlier version of the api referenced.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The line:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;"apiVersion"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"2.6.0"&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;needed to be changed to:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;"apiVersion"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"3.8.2"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 07 Jul 2021 12:10:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Dialog-Box-for-Custom-Developed-Visual/m-p/1942965#M30389</guid>
      <dc:creator>WZorn</dc:creator>
      <dc:date>2021-07-07T12:10:22Z</dc:date>
    </item>
  </channel>
</rss>

