<?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: Binary load based on documentpath() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Binary-load-based-on-documentpath/m-p/882513#M655206</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay!! Yes, that’s a proper work-around!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks (can’t believe the answer is so easy…)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Marcel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jun 2015 15:09:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-06-12T15:09:10Z</dc:date>
    <item>
      <title>Binary load based on documentpath()</title>
      <link>https://community.qlik.com/t5/QlikView/Binary-load-based-on-documentpath/m-p/882505#M655197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have split my development &amp;amp; production environment. When I copy a QV app from DEV to PROD then the binary load should know which data model (development or production) to use (see attachment for folder structure):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;DocumentPath&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;() &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;like&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; '*\Formeel*' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;then&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;Binary&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[..\..\..\5_datamodel\sales\formeel\dm_sales.qvw]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;else&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;Binary&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;[..\..\..\5_datamodel\sales\informeel\dm_sales.qvw]&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 10pt;"&gt;end&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;if &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Needless to say this doesn't work else I would not post this &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;. Who can help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;BR /&gt;Marcel &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 14:22:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Binary-load-based-on-documentpath/m-p/882505#M655197</guid>
      <dc:creator />
      <dc:date>2015-06-12T14:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Binary load based on documentpath()</title>
      <link>https://community.qlik.com/t5/QlikView/Binary-load-based-on-documentpath/m-p/882506#M655199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can´t do that&lt;/P&gt;&lt;P&gt;Binary command MUST be the very first command&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 14:30:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Binary-load-based-on-documentpath/m-p/882506#M655199</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-06-12T14:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Binary load based on documentpath()</title>
      <link>https://community.qlik.com/t5/QlikView/Binary-load-based-on-documentpath/m-p/882507#M655200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Binary must be the first executable statement in the script, so I don't think that is possible. Perhaps someone has a smart workaround?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 14:30:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Binary-load-based-on-documentpath/m-p/882507#M655200</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-06-12T14:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: Binary load based on documentpath()</title>
      <link>https://community.qlik.com/t5/QlikView/Binary-load-based-on-documentpath/m-p/882508#M655201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe a solution based on Massimo's will work out:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/message/793507"&gt;Re: BINARY load with dynamic file name&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 14:32:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Binary-load-based-on-documentpath/m-p/882508#M655201</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-12T14:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: Binary load based on documentpath()</title>
      <link>https://community.qlik.com/t5/QlikView/Binary-load-based-on-documentpath/m-p/882509#M655202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was hoping that I could determine a part of the file to load. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;binary '[..\' &amp;amp; if(documentpath() like '*production*', 'production', 'development') &amp;amp; '\datamodel.qvw';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this doesn't work either...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 14:39:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Binary-load-based-on-documentpath/m-p/882509#M655202</guid>
      <dc:creator />
      <dc:date>2015-06-12T14:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: Binary load based on documentpath()</title>
      <link>https://community.qlik.com/t5/QlikView/Binary-load-based-on-documentpath/m-p/882510#M655203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Restriction here I believe is that it needs to be in the same directory, which is not the case unfortunately...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Marcel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 14:40:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Binary-load-based-on-documentpath/m-p/882510#M655203</guid>
      <dc:creator />
      <dc:date>2015-06-12T14:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Binary load based on documentpath()</title>
      <link>https://community.qlik.com/t5/QlikView/Binary-load-based-on-documentpath/m-p/882511#M655204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if I understand your limitation. I don't think the included script file needs to be in the same directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You just need to create a script file with the binary statement once for DEV, once for PROD, and have the UI QVW use a relative path to that qvs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 14:51:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Binary-load-based-on-documentpath/m-p/882511#M655204</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-12T14:51:13Z</dc:date>
    </item>
    <item>
      <title>Re: Binary load based on documentpath()</title>
      <link>https://community.qlik.com/t5/QlikView/Binary-load-based-on-documentpath/m-p/882512#M655205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Binary load should be first executable statement .Only one binary load should be used in one application .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 14:57:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Binary-load-based-on-documentpath/m-p/882512#M655205</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-12T14:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Binary load based on documentpath()</title>
      <link>https://community.qlik.com/t5/QlikView/Binary-load-based-on-documentpath/m-p/882513#M655206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay!! Yes, that’s a proper work-around!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks (can’t believe the answer is so easy…)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Marcel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 15:09:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Binary-load-based-on-documentpath/m-p/882513#M655206</guid>
      <dc:creator />
      <dc:date>2015-06-12T15:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Binary load based on documentpath()</title>
      <link>https://community.qlik.com/t5/QlikView/Binary-load-based-on-documentpath/m-p/882514#M655208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try with Environment variable,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 17:01:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Binary-load-based-on-documentpath/m-p/882514#M655208</guid>
      <dc:creator />
      <dc:date>2015-06-12T17:01:27Z</dc:date>
    </item>
  </channel>
</rss>

