<?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: Changing the ODBC Connection From Dev to Prod in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Changing-the-ODBC-Connection-From-Dev-to-Prod/m-p/606701#M224053</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assume that you have the same folder structure on your DEV and PROD environment but on two different machines with different host names.&lt;/P&gt;&lt;P&gt;You can create a variable in Script such as&lt;/P&gt;&lt;P&gt;let vpath=GetFolderPath('..\Application');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vEnv = if('$(vpath)'='prod.domain.com','PROD','DEV');&lt;/P&gt;&lt;P&gt;now based on the value of vEnv you can use the connection string for respective environment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Feb 2014 16:19:37 GMT</pubDate>
    <dc:creator>sudeepkm</dc:creator>
    <dc:date>2014-02-04T16:19:37Z</dc:date>
    <item>
      <title>Changing the ODBC Connection From Dev to Prod</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-the-ODBC-Connection-From-Dev-to-Prod/m-p/606699#M224051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to Qlikview.How can i change the source ODBC Connection from Dev to Prod.I dont want to do it manually all the time in all QVW's.Is there any way to do it ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 15:44:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-the-ODBC-Connection-From-Dev-to-Prod/m-p/606699#M224051</guid>
      <dc:creator />
      <dc:date>2014-02-04T15:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the ODBC Connection From Dev to Prod</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-the-ODBC-Connection-From-Dev-to-Prod/m-p/606700#M224052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest that you put your connection string inside a dbconnection string text file, then within your QVW load script like below.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Connection String text file.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM&gt;$(Include=..\[path name]\dbconnect45.txt)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN class="s1"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;Then all you need to do is use the same file for dev and production, but on your production machine, have the production connection string.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="s1"&gt;&lt;BR /&gt;&lt;/SPAN&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 15:53:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-the-ODBC-Connection-From-Dev-to-Prod/m-p/606700#M224052</guid>
      <dc:creator>dcheung3388</dc:creator>
      <dc:date>2014-02-04T15:53:37Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the ODBC Connection From Dev to Prod</title>
      <link>https://community.qlik.com/t5/QlikView/Changing-the-ODBC-Connection-From-Dev-to-Prod/m-p/606701#M224053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assume that you have the same folder structure on your DEV and PROD environment but on two different machines with different host names.&lt;/P&gt;&lt;P&gt;You can create a variable in Script such as&lt;/P&gt;&lt;P&gt;let vpath=GetFolderPath('..\Application');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vEnv = if('$(vpath)'='prod.domain.com','PROD','DEV');&lt;/P&gt;&lt;P&gt;now based on the value of vEnv you can use the connection string for respective environment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 16:19:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Changing-the-ODBC-Connection-From-Dev-to-Prod/m-p/606701#M224053</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2014-02-04T16:19:37Z</dc:date>
    </item>
  </channel>
</rss>

