<?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: Disable Hyperlink in G Web Development Software</title>
    <link>https://ni.lithium.com/t5/G-Web-Development-Software/Disable-Hyperlink/m-p/4352482#M671</link>
    <description>&lt;P&gt;The expected workflow would be to not have the user enter credentials on the WebVIs themselves. Instead the Open Configuration would be removed from the WebVIs, the WebVIs would be built and hosted on the Web Application Hosting service on the NI Web Server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then when a user visits the NI Web Server they have to login and when the WebVI opens the logged in credentials are used automatically for calls to the data services like Tags and Messages. The &lt;A href="https://youtu.be/U9IhlcgCU5E?si=55bjZbHVLYpAWKOa&amp;amp;t=1901" target="_self"&gt;How to Build a Web UI for Your LabVIEW-Based Test System from 31m41s to 32m44s&lt;/A&gt; shows the following points:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Removing explicit Open Configuration calls from the diagram.
&lt;UL&gt;
&lt;LI&gt;The video explains earlier you may want Open Configuration calls when testing in the editor but those should be removed before deploying.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Deploy the WebVI to the Web Applications hosting service
&lt;UL&gt;
&lt;LI&gt;WebVIs are built as nipkg files and the first half of the video shows that workflow in more detail. The built nipkg is then deployed to the NI Web Server via the Web Application Hosting service.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;View the build WebVI from the Web Applications view
&lt;UL&gt;
&lt;LI&gt;Note in the video how the deployed WebVI with credentials removed was able to run successfully because when hosted in the Web Application Hosting service the WebVI is able to leverage the logged in user credentials.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;With the above workflow you should be able to keep the application organized with multiple top-level WebVIs and remove explicit login requirements from all of them. The user would just login to the NI Web Server and visit your application with the different URLs and select the page they need with the data displayed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd recommend going through the content of&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=U9IhlcgCU5E" target="_self"&gt;How to Build a Web UI for Your LabVIEW-Based Test System&lt;/A&gt; as it gives a lot of useful context for patterns of testing and deploying WebVIs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 02 Feb 2024 17:03:08 GMT</pubDate>
    <dc:creator>MilanR</dc:creator>
    <dc:date>2024-02-02T17:03:08Z</dc:date>
    <item>
      <title>Disable Hyperlink</title>
      <link>https://ni.lithium.com/t5/G-Web-Development-Software/Disable-Hyperlink/m-p/4352446#M670</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I currently have a project where consists in a main page which contains 4 hyperlinks to other 4 pages(where the data is displayed)&lt;BR /&gt;&lt;BR /&gt;Im using Ni web server to save the tags(from labview), and in each page i have to use the open configuration node(systemlink data communication) to outpout the "configuration" value to open tag.vi , and then reading the tag values and displaying them.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I sawn an example where you disable the open open configuration block(the data isn´t displayed) until the credantials(login from ni web server) are ipnut, and it worked fine , however, in every page i have to input the credentials again.&lt;BR /&gt;&lt;BR /&gt;1- (prefered way)&lt;BR /&gt;I wan wondering if i can disable the hyperlink untill i input the credentials (login from ni web server).Therefore , i wouldnt have to put credentials in every page, only in the index(main page).&lt;BR /&gt;&lt;BR /&gt;2-&lt;BR /&gt;Another thing i thought was to disable the open configuration node in the main page until i input the credentials (same as the example before mentioned)&amp;nbsp; , and somehow export the output("configuration") from the configuration node to the others webvis as a global variable, hence the data wont be displayed until the "configration" value is exported to the other pages.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 14:25:32 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/G-Web-Development-Software/Disable-Hyperlink/m-p/4352446#M670</guid>
      <dc:creator>Labmecepel</dc:creator>
      <dc:date>2024-02-02T14:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Disable Hyperlink</title>
      <link>https://ni.lithium.com/t5/G-Web-Development-Software/Disable-Hyperlink/m-p/4352482#M671</link>
      <description>&lt;P&gt;The expected workflow would be to not have the user enter credentials on the WebVIs themselves. Instead the Open Configuration would be removed from the WebVIs, the WebVIs would be built and hosted on the Web Application Hosting service on the NI Web Server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then when a user visits the NI Web Server they have to login and when the WebVI opens the logged in credentials are used automatically for calls to the data services like Tags and Messages. The &lt;A href="https://youtu.be/U9IhlcgCU5E?si=55bjZbHVLYpAWKOa&amp;amp;t=1901" target="_self"&gt;How to Build a Web UI for Your LabVIEW-Based Test System from 31m41s to 32m44s&lt;/A&gt; shows the following points:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Removing explicit Open Configuration calls from the diagram.
&lt;UL&gt;
&lt;LI&gt;The video explains earlier you may want Open Configuration calls when testing in the editor but those should be removed before deploying.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;Deploy the WebVI to the Web Applications hosting service
&lt;UL&gt;
&lt;LI&gt;WebVIs are built as nipkg files and the first half of the video shows that workflow in more detail. The built nipkg is then deployed to the NI Web Server via the Web Application Hosting service.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;View the build WebVI from the Web Applications view
&lt;UL&gt;
&lt;LI&gt;Note in the video how the deployed WebVI with credentials removed was able to run successfully because when hosted in the Web Application Hosting service the WebVI is able to leverage the logged in user credentials.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;With the above workflow you should be able to keep the application organized with multiple top-level WebVIs and remove explicit login requirements from all of them. The user would just login to the NI Web Server and visit your application with the different URLs and select the page they need with the data displayed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd recommend going through the content of&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=U9IhlcgCU5E" target="_self"&gt;How to Build a Web UI for Your LabVIEW-Based Test System&lt;/A&gt; as it gives a lot of useful context for patterns of testing and deploying WebVIs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2024 17:03:08 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/G-Web-Development-Software/Disable-Hyperlink/m-p/4352482#M671</guid>
      <dc:creator>MilanR</dc:creator>
      <dc:date>2024-02-02T17:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Disable Hyperlink</title>
      <link>https://ni.lithium.com/t5/G-Web-Development-Software/Disable-Hyperlink/m-p/4352777#M674</link>
      <description>&lt;P&gt;Thanks for the insight. I've already changed it, so you dont need to use open configuration on the web vi , only when testing it.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Furthermore , i am&amp;nbsp;struggling to create a new user account(guest account where they can only see the webvi) and edit its privileges , i've come across this tutorial:&amp;nbsp;&lt;A href="https://forums.ni.com/t5/SystemLink-Forum/How-do-I-create-a-new-user-in-SystemLink/td-p/4147436" target="_blank"&gt;Solucionado: How do I create a new user in SystemLink - NI Community&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I did manage to create a new user,but the admin user disapeared and the new user didnt have any privelges.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Is it possible to have 2 users (admin and guest) using only ni web server ?&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Labmecepel_0-1707143988889.png" style="width: 400px;"&gt;&lt;img src="https://ip1.i.lithium.com/9630dc5355a9290ed44d1ce0bfd658b1df7d0961/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f33323830353769323434334445323235394644433442322f696d6167652d73697a652f6d656469756d3f763d76322670783d343030" role="button" title="Labmecepel_0-1707143988889.png" alt="Labmecepel_0-1707143988889.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 14:46:55 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/G-Web-Development-Software/Disable-Hyperlink/m-p/4352777#M674</guid>
      <dc:creator>Labmecepel</dc:creator>
      <dc:date>2024-02-05T14:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Disable Hyperlink</title>
      <link>https://ni.lithium.com/t5/G-Web-Development-Software/Disable-Hyperlink/m-p/4352929#M675</link>
      <description>&lt;P&gt;I'm not familiar with the approach linked from that separate forum. The direction I'd probably go is in the NI Web Server Configuration &amp;gt; Authentication enabling:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Log in as users controlled by the web server (to create the admin account and password)&lt;/LI&gt;
&lt;LI&gt;Log in using Windows accounts (to allow a local account I create the ability to login)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MilanR_0-1707171439300.png" style="width: 400px;"&gt;&lt;img src="https://ip1.i.lithium.com/806d72670e74f33000d573bb2aa458ff701e8ec0/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f33323830373269463139344636453845413641393633302f696d6167652d73697a652f6d656469756d3f763d76322670783d343030" role="button" title="MilanR_0-1707171439300.png" alt="MilanR_0-1707171439300.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then I would create a local account using Windows settings for a user like "webviguest" with a password:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MilanR_1-1707171594533.png" style="width: 400px;"&gt;&lt;img src="https://ip1.i.lithium.com/984523ad1d0fd9de6ea17652cf4252c40128d30f/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f33323830373369463843384336384430323538324245302f696d6167652d73697a652f6d656469756d3f763d76322670783d343030" role="button" title="MilanR_1-1707171594533.png" alt="MilanR_1-1707171594533.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would login to the NI Web Server as "webviguest" account so that the NI Web Server is aware of it, and notice that it doesn't have access to any WebVIs or anything else yet:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MilanR_2-1707171751285.png" style="width: 400px;"&gt;&lt;img src="https://ip1.i.lithium.com/758668f1c96c6c0db21a938c5bc9f7834f6efd0b/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f33323830373469443345304541323741353242303738362f696d6167652d73697a652f6d656469756d3f763d76322670783d343030" role="button" title="MilanR_2-1707171751285.png" alt="MilanR_2-1707171751285.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would log back into my admin account and make sure I see the "webviguest" user show up under users:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MilanR_4-1707172068847.png" style="width: 400px;"&gt;&lt;img src="https://ip1.i.lithium.com/d5b0e4074365315c6b5e31b1f9682a52060335d5/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f33323830373669343830434245423244433244323842322f696d6167652d73697a652f6d656469756d3f763d76322670783d343030" role="button" title="MilanR_4-1707172068847.png" alt="MilanR_4-1707172068847.png" /&gt;&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;Continuing with the admin account I would create a new role for the user, something like "WebVI Only" that has permissions to view the WebVI but also other needed permissions for WebVIs to run like read and / or write access to certain tags or messages:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MilanR_3-1707171959050.png" style="width: 400px;"&gt;&lt;img src="https://ip1.i.lithium.com/b36a79cccb59b8332d07ff1f5bc96bd975933d82/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f33323830373569464537374438433531413035384530382f696d6167652d73697a652f6d656469756d3f763d76322670783d343030" role="button" title="MilanR_3-1707171959050.png" alt="MilanR_3-1707171959050.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Continuing with the admin account I would go to the workspace configuration, edit the default workspace, and under members I would add the new user and expected roles, for example "webviguest" with the "WebVI Only" role:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MilanR_5-1707172276595.png" style="width: 400px;"&gt;&lt;img src="https://ip1.i.lithium.com/027e83271e19090c160c915db0f5a4d3f3bfbda3/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f33323830373769344439423931303336413935333333442f696d6167652d73697a652f6d656469756d3f763d76322670783d343030" role="button" title="MilanR_5-1707172276595.png" alt="MilanR_5-1707172276595.png" /&gt;&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;I would log out of the admin account and wait several minutes for role changes to be picked up by the NII Web Server. After several minutes I would&amp;nbsp;login as "webviguest" again. and notice that when I click the user menu &amp;gt; Account and look at workspaces that the "webviguest" user is in the default workspace with the assigned role of "WebVI Only":&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MilanR_6-1707172717425.png" style="width: 400px;"&gt;&lt;img src="https://ip1.i.lithium.com/ff8370f8c62d83e9f4b9f11af5836ff9f2319175/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f33323830373869364545363837443944373833354135302f696d6167652d73697a652f6d656469756d3f763d76322670783d343030" role="button" title="MilanR_6-1707172717425.png" alt="MilanR_6-1707172717425.png" /&gt;&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;And that the "webviguest" user can now access WebVIs on the web applications page:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MilanR_7-1707172799190.png" style="width: 400px;"&gt;&lt;img src="https://ip1.i.lithium.com/5c5de835ebd41de6d1734c8aad383117531efd6d/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f33323830373969384141354233423544453041323346452f696d6167652d73697a652f6d656469756d3f763d76322670783d343030" role="button" title="MilanR_7-1707172799190.png" alt="MilanR_7-1707172799190.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MilanR_8-1707172823713.png" style="width: 400px;"&gt;&lt;img src="https://ip1.i.lithium.com/dad6075ac9f7003a5151a14e246886553c8b0e9c/68747470733a2f2f6e692e6c69746869756d2e636f6d2f74352f696d6167652f736572766572706167652f696d6167652d69642f33323830383069383546353937363339423538313643382f696d6167652d73697a652f6d656469756d3f763d76322670783d343030" role="button" title="MilanR_8-1707172823713.png" alt="MilanR_8-1707172823713.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 22:40:56 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/G-Web-Development-Software/Disable-Hyperlink/m-p/4352929#M675</guid>
      <dc:creator>MilanR</dc:creator>
      <dc:date>2024-02-05T22:40:56Z</dc:date>
    </item>
    <item>
      <title>Re: Disable Hyperlink</title>
      <link>https://ni.lithium.com/t5/G-Web-Development-Software/Disable-Hyperlink/m-p/4353789#M678</link>
      <description>&lt;P&gt;Thanks again , that worked fine!!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2024 13:35:44 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/G-Web-Development-Software/Disable-Hyperlink/m-p/4353789#M678</guid>
      <dc:creator>Labmecepel</dc:creator>
      <dc:date>2024-02-09T13:35:44Z</dc:date>
    </item>
  </channel>
</rss>

