<?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: Automatic Environment detection with the help of absolute Path in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Automatic-Environment-detection-with-the-help-of-absolute-Path/m-p/1544411#M12559</link>
    <description>&lt;P&gt;Hi JT - I see you have some replies with optimal solutions - let us know how these work for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mike T&lt;/P&gt;</description>
    <pubDate>Thu, 14 Feb 2019 14:35:42 GMT</pubDate>
    <dc:creator>Michael_Tarallo</dc:creator>
    <dc:date>2019-02-14T14:35:42Z</dc:date>
    <item>
      <title>Automatic Environment detection with the help of absolute Path</title>
      <link>https://community.qlik.com/t5/Management-Governance/Automatic-Environment-detection-with-the-help-of-absolute-Path/m-p/1543937#M12545</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have 3 environments DEV/UAT and PROD . The Absolute paths on Server are like&lt;/P&gt;&lt;P&gt;\\ABC\&lt;STRONG&gt;QS_DEV&lt;/STRONG&gt;\Files\QVDs\XYZ.QVD&lt;/P&gt;&lt;P&gt;\\ABC\&lt;STRONG&gt;QS_UAT&lt;/STRONG&gt;\Files\QVDs\XYZ.QVD&lt;/P&gt;&lt;P&gt;\\ABC\&lt;STRONG&gt;QS_PROD&lt;/STRONG&gt;\Files\QVDs\XYZ.QVD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now, based on above I want to create a variable which will detect automatically where I am. That is in PROD it will take the third path.&lt;/P&gt;&lt;P&gt;I dont know how to achieve it in QlikSense as &lt;EM&gt;documentpath()&amp;nbsp;&amp;nbsp;&lt;/EM&gt;fucntion provided the LIB connection path and not the absolute path. This is weird and I cannot dynamically change the Paths based on my actual enviroment.&lt;/P&gt;&lt;P&gt;I used to do following in Qlikview -&lt;/P&gt;&lt;P&gt;Let vEnv_Detect = Pick(Wildmatch(Documentpath(),'*DEV*','*UAT*','*PROD*'),'DEV','UAT','PROD');&lt;/P&gt;&lt;P&gt;and use above variable like&lt;/P&gt;&lt;P&gt;\\ABC\&lt;STRONG&gt;QS_$(vEnv_Detect)&lt;/STRONG&gt;\Files\QVDs\XYZ.QVD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How I can do in QlikSense.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/12989"&gt;@Michael_Tarallo&lt;/a&gt;&amp;nbsp; &amp;nbsp;Please help.&lt;/P&gt;&lt;P&gt;Edit ::&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. I dont want to go with "Legacy Mode" option&lt;/P&gt;&lt;P&gt;2. As &lt;SPAN&gt;QlikSense uses the concept of "connections" which are pointers to a folder path (or a database or other data source).&amp;nbsp; Do we need to create the&amp;nbsp; Exactly same LIB names across the Environments?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Like, in my case -&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;\\ABC\&lt;STRONG&gt;QS_DEV&lt;/STRONG&gt;\&amp;nbsp; &amp;nbsp; &amp;nbsp; --&amp;gt;&amp;nbsp; &amp;nbsp; LIB [ProjectName]&amp;nbsp; &amp;nbsp;--&amp;gt; in DEV Env&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;\\ABC\&lt;STRONG&gt;QS_UAT&lt;/STRONG&gt;\&amp;nbsp; &amp;nbsp; &amp;nbsp; --&amp;gt;&amp;nbsp; &amp;nbsp; LIB [ProjectName]&amp;nbsp; &amp;nbsp;--&amp;gt; in UAT Env&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;\\ABC\&lt;STRONG&gt;QS_PROD&lt;/STRONG&gt;\&amp;nbsp; &amp;nbsp; &amp;nbsp; --&amp;gt;&amp;nbsp; &amp;nbsp; LIB [ProjectName]&amp;nbsp; &amp;nbsp;--&amp;gt; in&amp;nbsp; PROD Env&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 22:33:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Automatic-Environment-detection-with-the-help-of-absolute-Path/m-p/1543937#M12545</guid>
      <dc:creator>jt422605</dc:creator>
      <dc:date>2019-02-13T22:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Environment detection with the help of absolute Path</title>
      <link>https://community.qlik.com/t5/Management-Governance/Automatic-Environment-detection-with-the-help-of-absolute-Path/m-p/1543948#M12546</link>
      <description>&lt;P&gt;Why do you need to use document path?&lt;/P&gt;&lt;P&gt;In sense you create connection to a folder with say name QVD_Path and use this to load the qvd&lt;/P&gt;&lt;P&gt;when you move apps between environments a connection of same name would be created. then you edit it to point it to your specific environment&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 22:31:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Automatic-Environment-detection-with-the-help-of-absolute-Path/m-p/1543948#M12546</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-02-13T22:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Environment detection with the help of absolute Path</title>
      <link>https://community.qlik.com/t5/Management-Governance/Automatic-Environment-detection-with-the-help-of-absolute-Path/m-p/1544016#M12549</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think you are complicating the simple issue. Like in Qikview we have folder structure that is same across environment we can create the same/similar in Qliksense. I would suggest the following.&lt;/P&gt;&lt;P&gt;In dev create a connection let's sat "qvd_conn" and refer the path \\ABC\&lt;STRONG&gt;QS_DEV&lt;/STRONG&gt;\Files\QVDs\XYZ.QVD&lt;/P&gt;&lt;P&gt;in UAT make the connectionname same "qvd_conn" but the path diffrent&amp;nbsp; \\ABC\&lt;STRONG&gt;QS_UAT&lt;/STRONG&gt;\Files\QVDs\XYZ.QVD&lt;/P&gt;&lt;P&gt;Do the same for Prod&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now when you reload app or store qvd it will do for it respective folder and server&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope my explanation made sense.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 04:52:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Automatic-Environment-detection-with-the-help-of-absolute-Path/m-p/1544016#M12549</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2019-02-14T04:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic Environment detection with the help of absolute Path</title>
      <link>https://community.qlik.com/t5/Management-Governance/Automatic-Environment-detection-with-the-help-of-absolute-Path/m-p/1544411#M12559</link>
      <description>&lt;P&gt;Hi JT - I see you have some replies with optimal solutions - let us know how these work for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mike T&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 14:35:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Automatic-Environment-detection-with-the-help-of-absolute-Path/m-p/1544411#M12559</guid>
      <dc:creator>Michael_Tarallo</dc:creator>
      <dc:date>2019-02-14T14:35:42Z</dc:date>
    </item>
  </channel>
</rss>

