<?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 Qlik Sense Dynamically change the environment variable when exporting/importing in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Dynamically-change-the-environment-variable-when/m-p/1803792#M65268</link>
    <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;I work on Qlik Sense and I want to know if there is a way to change dynamically my&amp;nbsp;environment variable when I import on an app from DEV to PROD.&lt;/P&gt;&lt;P&gt;There is one server for DEV and one server for PROD with a share file folder where are stored QVDs, source files, etc.. it looks like below :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;DEV&lt;UL&gt;&lt;LI&gt;App1&lt;UL&gt;&lt;LI&gt;QVD&lt;/LI&gt;&lt;LI&gt;Source&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;App2&lt;UL&gt;&lt;LI&gt;QVD&lt;/LI&gt;&lt;LI&gt;Source&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;PROD&lt;UL&gt;&lt;LI&gt;App1&lt;UL&gt;&lt;LI&gt;QVD&lt;/LI&gt;&lt;LI&gt;Source&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;...&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In the script of my application I have a variable vEnvironement and I put in manually 'DEV' or 'PROD' value to change the path when I export/import an app from an environment to another.&lt;/P&gt;&lt;P&gt;Is there a way to do this automatically ? Like "If my app is executed on PROD server take PROD path, If it is executed in DEV server, take DEV path"&lt;/P&gt;&lt;P&gt;Thanks for your help on this,&lt;/P&gt;&lt;P&gt;Regards&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;</description>
    <pubDate>Thu, 29 Apr 2021 12:13:42 GMT</pubDate>
    <dc:creator>Qlik35</dc:creator>
    <dc:date>2021-04-29T12:13:42Z</dc:date>
    <item>
      <title>Qlik Sense Dynamically change the environment variable when exporting/importing</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Dynamically-change-the-environment-variable-when/m-p/1803792#M65268</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;I work on Qlik Sense and I want to know if there is a way to change dynamically my&amp;nbsp;environment variable when I import on an app from DEV to PROD.&lt;/P&gt;&lt;P&gt;There is one server for DEV and one server for PROD with a share file folder where are stored QVDs, source files, etc.. it looks like below :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;DEV&lt;UL&gt;&lt;LI&gt;App1&lt;UL&gt;&lt;LI&gt;QVD&lt;/LI&gt;&lt;LI&gt;Source&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;App2&lt;UL&gt;&lt;LI&gt;QVD&lt;/LI&gt;&lt;LI&gt;Source&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;PROD&lt;UL&gt;&lt;LI&gt;App1&lt;UL&gt;&lt;LI&gt;QVD&lt;/LI&gt;&lt;LI&gt;Source&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;...&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In the script of my application I have a variable vEnvironement and I put in manually 'DEV' or 'PROD' value to change the path when I export/import an app from an environment to another.&lt;/P&gt;&lt;P&gt;Is there a way to do this automatically ? Like "If my app is executed on PROD server take PROD path, If it is executed in DEV server, take DEV path"&lt;/P&gt;&lt;P&gt;Thanks for your help on this,&lt;/P&gt;&lt;P&gt;Regards&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;</description>
      <pubDate>Thu, 29 Apr 2021 12:13:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Dynamically-change-the-environment-variable-when/m-p/1803792#M65268</guid>
      <dc:creator>Qlik35</dc:creator>
      <dc:date>2021-04-29T12:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense Dynamically change the environment variable when exporting/importing</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Sense-Dynamically-change-the-environment-variable-when/m-p/1803839#M65283</link>
      <description>&lt;P&gt;Hi, if there are two different server you can use ComputerName() to check if you are in PROD or DEV server.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2021 13:40:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Sense-Dynamically-change-the-environment-variable-when/m-p/1803839#M65283</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2021-04-29T13:40:21Z</dc:date>
    </item>
  </channel>
</rss>

