<?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: Forge Viewer in PowerBi load and unload a model. in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Forge-Viewer-in-PowerBi-load-and-unload-a-model/m-p/1858214#M29538</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm sorry I dont have any answer to your problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I am currently following the same tutorial and I'm having trouble at one step for the Excel-forge properties.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I contact you to ask you a question to help me with the process ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank in advance&lt;/P&gt;&lt;P&gt;J Mols&lt;/P&gt;</description>
    <pubDate>Sat, 22 May 2021 16:30:07 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-05-22T16:30:07Z</dc:date>
    <item>
      <title>Forge Viewer in PowerBi load and unload a model.</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Forge-Viewer-in-PowerBi-load-and-unload-a-model/m-p/1855169#M29520</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am currently using a tutorial I found to put the&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/xiaodongliang/forgeviewer_embed_in_powerbi_report" target="_self" rel="nofollow noreferrer"&gt;Forge Viewer into PowerBi&lt;/A&gt;&lt;SPAN&gt;. And in this the URN is hard coded into the script. What i want to do next, now that i have the viewer working in PowerBi, is be able to load and unload a model based on the list of models that i have.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Currently in PowerBi i have a list of my model that i have along with their URN's. I want to be able to click on this list that is in PowerBi and update my Forge Viewer. So far what I've added is code to unload a model, now i just need to find a way to load another model dynamically. This is what i have for unloading a model that i have add to the visual.ts file.&lt;/SPAN&gt;&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;         this.forge_viewer.unloadDocumentNode = function (manifestNode){
         //if model is in memory, just unload it.

         let model = this.impl.findModel(manifestNode, true);
         if (model){
             this.impl.unloadModel(model);
             return true;
         }
     }&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Can someone guide me in the right direction or show me how to load a model in the way i decscribed above? if that isnt possible would there be another way?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 20 May 2021 21:01:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Forge-Viewer-in-PowerBi-load-and-unload-a-model/m-p/1855169#M29520</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-20T21:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Forge Viewer in PowerBi load and unload a model.</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Forge-Viewer-in-PowerBi-load-and-unload-a-model/m-p/1858214#M29538</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm sorry I dont have any answer to your problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I am currently following the same tutorial and I'm having trouble at one step for the Excel-forge properties.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I contact you to ask you a question to help me with the process ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank in advance&lt;/P&gt;&lt;P&gt;J Mols&lt;/P&gt;</description>
      <pubDate>Sat, 22 May 2021 16:30:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Forge-Viewer-in-PowerBi-load-and-unload-a-model/m-p/1858214#M29538</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-22T16:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Forge Viewer in PowerBi load and unload a model.</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Forge-Viewer-in-PowerBi-load-and-unload-a-model/m-p/1862965#M29587</link>
      <description>&lt;P&gt;Hey, I too could not get this to work on myside, my plan is it use the datamanagement and model derivative api to get the information that pertain to the revit files.&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 15:23:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Forge-Viewer-in-PowerBi-load-and-unload-a-model/m-p/1862965#M29587</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-05-25T15:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Forge Viewer in PowerBi load and unload a model.</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Forge-Viewer-in-PowerBi-load-and-unload-a-model/m-p/2066890#M31653</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I'm sorry to use your topic, but it is hard to find people working on the same project.&lt;/P&gt;&lt;P&gt;I am following the same tutorial: Did you manage to complete it?&lt;/P&gt;&lt;P&gt;and i am having troubles in creating building the visual.&lt;/P&gt;&lt;P&gt;did you use&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;npm i -g &lt;A href="mailto:powerbi-visuals-tools@2.5.0" target="_blank" rel="noopener"&gt;powerbi-visuals-tools@2.5.0&lt;/A&gt;&amp;nbsp;?&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;what version of&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;npm i d3&lt;/STRONG&gt; ,&lt;STRONG&gt;&amp;nbsp;npm i @types/d3&lt;/STRONG&gt;,&amp;nbsp;&lt;STRONG&gt;npm i &lt;/STRONG&gt;&lt;SPAN class="hljs-pscommand"&gt;&lt;STRONG&gt;core-js&lt;/STRONG&gt; and&amp;nbsp;&lt;STRONG&gt;npm i powerbi-visuals-api&lt;/STRONG&gt; did you use?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hljs-pscommand"&gt;The microsoft tutorial &lt;A href="https://docs.microsoft.com/it-it/power-bi/developer/visuals/environment-setup?tabs=windows" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/it-it/power-bi/developer/visuals/environment-setup?tabs=windows&lt;/A&gt; makes yo install specific version but i think i have to install others, i just can't get which.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And last, what is your version of node.js?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/69103885/pbiviz-start-error-less-style-visual-less" target="_blank" rel="noopener"&gt;https://stackoverflow.com/questions/69103885/pbiviz-start-error-less-style-visual-less&lt;/A&gt;&amp;nbsp;this is the error i get trying to run pbiviz start&lt;/P&gt;&lt;P&gt;Thank you if you can help me&lt;/P&gt;&lt;P&gt;GMM&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 13:53:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Forge-Viewer-in-PowerBi-load-and-unload-a-model/m-p/2066890#M31653</guid>
      <dc:creator>gmmanfredi</dc:creator>
      <dc:date>2021-09-09T13:53:17Z</dc:date>
    </item>
  </channel>
</rss>

