<?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 Variable File path in QlikView Script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-File-path-in-QlikView-Script/m-p/184962#M49641</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;in our company our QlikView reports are on the internal server.&lt;BR /&gt;Not every person have access to the internal server. They only can load the QlikView document to their local place, can edit them there an can re-upload it on the internal server again.&lt;/P&gt;&lt;P&gt;Now, we used to read users out of an excel file, which is on our internal server. So, not everyone have access to the excel file. In our QlikView script i made a TAB "Userlist", which loads the table from the Userlist filepath.&lt;/P&gt;&lt;P&gt;Now, everytime a user want to reload the Report from the local place, he/she got an error message, that they cant access to the Excel File.&lt;/P&gt;&lt;P&gt;Is there a way to edit the script, that when the QlikView file isn't placed on the internal server path, the reload doesn't impy the "Userlist" TAB and let the user reload from their local places. Again, when the QlikView file placed back to the internal server path the "Userlist" TAB is available again.&lt;/P&gt;&lt;P&gt;Any ideas how to manage this?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jun 2010 08:29:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-06-11T08:29:22Z</dc:date>
    <item>
      <title>Variable File path in QlikView Script</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-File-path-in-QlikView-Script/m-p/184962#M49641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;in our company our QlikView reports are on the internal server.&lt;BR /&gt;Not every person have access to the internal server. They only can load the QlikView document to their local place, can edit them there an can re-upload it on the internal server again.&lt;/P&gt;&lt;P&gt;Now, we used to read users out of an excel file, which is on our internal server. So, not everyone have access to the excel file. In our QlikView script i made a TAB "Userlist", which loads the table from the Userlist filepath.&lt;/P&gt;&lt;P&gt;Now, everytime a user want to reload the Report from the local place, he/she got an error message, that they cant access to the Excel File.&lt;/P&gt;&lt;P&gt;Is there a way to edit the script, that when the QlikView file isn't placed on the internal server path, the reload doesn't impy the "Userlist" TAB and let the user reload from their local places. Again, when the QlikView file placed back to the internal server path the "Userlist" TAB is available again.&lt;/P&gt;&lt;P&gt;Any ideas how to manage this?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 08:29:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-File-path-in-QlikView-Script/m-p/184962#M49641</guid>
      <dc:creator />
      <dc:date>2010-06-11T08:29:22Z</dc:date>
    </item>
    <item>
      <title>SV:Variable File path in QlikView Script</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-File-path-in-QlikView-Script/m-p/184963#M49642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use the &lt;B&gt;filesize()&lt;/B&gt; function to conditionally load the data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;if filesize('D:\Book1.xls')&amp;gt;0 then&lt;BR /&gt;Book1:&lt;BR /&gt;LOAD [Client Name],&lt;BR /&gt; Date,&lt;BR /&gt; Number&lt;BR /&gt;FROM&lt;BR /&gt;D:\Book1.xls&lt;BR /&gt;(biff, embedded labels, table is Sheet1$);&lt;BR /&gt;end if;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to display the tab conditionally, create a variable "showUserTab" setting it to 0 before the above if-statement.&lt;/P&gt;&lt;P&gt;Inside the if-statement set it to 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Sheet properties for the tab click Conditional and enter: showUserTab = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jun 2010 10:08:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-File-path-in-QlikView-Script/m-p/184963#M49642</guid>
      <dc:creator>gandalfgray</dc:creator>
      <dc:date>2010-06-11T10:08:51Z</dc:date>
    </item>
  </channel>
</rss>

