<?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 Use ReactJs pages inside HMI display in VRED Forum</title>
    <link>https://forums.autodesk.com/t5/vred-forum/use-reactjs-pages-inside-hmi-display/m-p/9946504#M3560</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to use some pages/apps built with ReactJs to simulate HMI interactions inside VRED.&lt;/P&gt;&lt;P&gt;I tried to deploy the page with the straighfoward approach but the program displayed nothing but a blank screen.&lt;/P&gt;&lt;P&gt;Is it possible to use React and other advaced JS resources in VRED 2019? Is there something i must setup? My company already have plenty of ReactJS based HMI's and we really need to include it on our simmulations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;</description>
    <pubDate>Thu, 17 Dec 2020 14:54:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-12-17T14:54:22Z</dc:date>
    <item>
      <title>Use ReactJs pages inside HMI display</title>
      <link>https://forums.autodesk.com/t5/vred-forum/use-reactjs-pages-inside-hmi-display/m-p/9946504#M3560</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to use some pages/apps built with ReactJs to simulate HMI interactions inside VRED.&lt;/P&gt;&lt;P&gt;I tried to deploy the page with the straighfoward approach but the program displayed nothing but a blank screen.&lt;/P&gt;&lt;P&gt;Is it possible to use React and other advaced JS resources in VRED 2019? Is there something i must setup? My company already have plenty of ReactJS based HMI's and we really need to include it on our simmulations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2020 14:54:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/use-reactjs-pages-inside-hmi-display/m-p/9946504#M3560</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-17T14:54:22Z</dc:date>
    </item>
    <item>
      <title>Betreff: Use ReactJs pages inside HMI display</title>
      <link>https://forums.autodesk.com/t5/vred-forum/use-reactjs-pages-inside-hmi-display/m-p/9949313#M3561</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it´s not trivial but possible to get your ReactJS applications running in VRED. It´s actualy more a web dev. task and not VRED related at all. Here is a short guide were I´m using the calculator example that can be downloaded from &lt;A href="https://github.com/ahfarmer/calculator" target="_blank" rel="noopener"&gt;GitHub&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Install &lt;A href="https://nodejs.org/en/" target="_blank" rel="noopener"&gt;NodeJS&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;Unzip the GitHub project on your desktop&lt;/LI&gt;
&lt;LI&gt;Open your command-window and type &lt;STRONG&gt;&lt;EM&gt;node -v&lt;/EM&gt;&lt;/STRONG&gt; to check if Node.js was installed successfully&lt;/LI&gt;
&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="node -v.png" style="width: 200px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/857866i668BE05462AFCCD4/image-size/small?v=v2&amp;amp;px=200" role="button" title="node -v.png" alt="node -v.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Navigate in the command-window to the &lt;STRONG&gt;&lt;EM&gt;calculator-master&lt;/EM&gt;&lt;/STRONG&gt; example folder on your desktop and type &lt;STRONG&gt;&lt;EM&gt;npm install &lt;/EM&gt;&lt;/STRONG&gt;to download all required files for your react project&lt;/LI&gt;
&lt;LI&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="npm install.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/857865i2C3B4FADF0A161DB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="npm install.png" alt="npm install.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;When the download is finished you can see multiple files got added to your example folder!&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Start React server&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Type &lt;STRONG&gt;&lt;EM&gt;npm start&lt;/EM&gt;&lt;/STRONG&gt; in your command-window&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="start server.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/857876i14E3101C6F3FDA3D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="start server.png" alt="start server.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;LI&gt;You can now use &lt;A href="http://localhost:3000/" target="_blank" rel="noopener"&gt;http://localhost:3000/&lt;/A&gt;&amp;nbsp;as URL in the VRED MediaEditor while your React App is running in the background&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Transcript HTML&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Terminate your running job in case the React App is still running&lt;/LI&gt;
&lt;LI&gt;Type &lt;STRONG&gt;&lt;EM&gt;npm run-script build&lt;/EM&gt;&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="build.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/857888i8519E55D57CB4180/image-size/medium?v=v2&amp;amp;px=400" role="button" title="build.png" alt="build.png" /&gt;&lt;/span&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/LI&gt;
&lt;LI&gt;This has created an addition folder called &lt;STRONG&gt;&lt;EM&gt;build&lt;/EM&gt;&lt;/STRONG&gt; in your calculater-master example folder with an index.html you can load in the Media Editor&lt;/LI&gt;
&lt;LI&gt;Note: As the console-output states it´s assuming it is hosted on a server at &lt;STRONG&gt;&lt;EM&gt;/calculator/&lt;/EM&gt;&lt;/STRONG&gt; and the index.html is searching for it´s files at the wrong location!&lt;/LI&gt;
&lt;LI&gt;Therefore you have to remove all &lt;STRONG&gt;&lt;EM&gt;/calculator/ &lt;/EM&gt;&lt;/STRONG&gt;&lt;EM&gt;and&lt;/EM&gt;&lt;STRONG&gt;&lt;EM&gt; /&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;in front of static from the src=paths in the html file&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Hope this helps&lt;/P&gt;
&lt;P&gt;Pascal&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 16:44:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/use-reactjs-pages-inside-hmi-display/m-p/9949313#M3561</guid>
      <dc:creator>seiferp</dc:creator>
      <dc:date>2020-12-18T16:44:48Z</dc:date>
    </item>
    <item>
      <title>Betreff: Use ReactJs pages inside HMI display</title>
      <link>https://forums.autodesk.com/t5/vred-forum/use-reactjs-pages-inside-hmi-display/m-p/9949334#M3562</link>
      <description>&lt;P&gt;It´s pretty much straight forward once you get the idea behind ReactJS. If your company is building HMI´s with ReactJS you must have some experts onsite and I wonder if no one else in your company could help you with getting the server started or transcripting the ReactJS apps into HTML&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 16:42:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/use-reactjs-pages-inside-hmi-display/m-p/9949334#M3562</guid>
      <dc:creator>seiferp</dc:creator>
      <dc:date>2020-12-18T16:42:51Z</dc:date>
    </item>
    <item>
      <title>Betreff: Use ReactJs pages inside HMI display</title>
      <link>https://forums.autodesk.com/t5/vred-forum/use-reactjs-pages-inside-hmi-display/m-p/9949470#M3563</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the answer,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll try this approach!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 17:35:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/use-reactjs-pages-inside-hmi-display/m-p/9949470#M3563</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-18T17:35:43Z</dc:date>
    </item>
    <item>
      <title>Betreff: Use ReactJs pages inside HMI display</title>
      <link>https://forums.autodesk.com/t5/vred-forum/use-reactjs-pages-inside-hmi-display/m-p/9993683#M3564</link>
      <description>&lt;P&gt;Sorry for the late response,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem was solved with this approach!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jan 2021 17:22:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/use-reactjs-pages-inside-hmi-display/m-p/9993683#M3564</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-11T17:22:16Z</dc:date>
    </item>
    <item>
      <title>Betreff: Use ReactJs pages inside HMI display</title>
      <link>https://forums.autodesk.com/t5/vred-forum/use-reactjs-pages-inside-hmi-display/m-p/10006868#M3565</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Glad to hear &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jan 2021 22:18:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vred-forum/use-reactjs-pages-inside-hmi-display/m-p/10006868#M3565</guid>
      <dc:creator>seiferp</dc:creator>
      <dc:date>2021-01-16T22:18:55Z</dc:date>
    </item>
  </channel>
</rss>

