<?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: QMC Reload vs Qlikview Desktop Reload in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QMC-Reload-vs-Qlikview-Desktop-Reload/m-p/1416955#M427865</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, but i need to identify the difference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Dec 2017 07:32:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-12-04T07:32:45Z</dc:date>
    <item>
      <title>QMC Reload vs Qlikview Desktop Reload</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-Reload-vs-Qlikview-Desktop-Reload/m-p/1416953#M427863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can someone help me with the functions which identities the reload between QMC and Qlikview Dektop?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the requirement is i have to use two different databases&amp;nbsp; respectively for QMC and Qlikview Desktop reloads.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Hari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 07:06:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-Reload-vs-Qlikview-Desktop-Reload/m-p/1416953#M427863</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-04T07:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: QMC Reload vs Qlikview Desktop Reload</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-Reload-vs-Qlikview-Desktop-Reload/m-p/1416954#M427864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose that your QMC reload start at 7am:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15123724702537997" jivemacro_uid="_15123724702537997"&gt;
&lt;P&gt;If hour(now(1))=7 then&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Connection to QMC Reload Database&lt;/P&gt;
&lt;P&gt;else&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Connection to&amp;nbsp; &lt;/SPAN&gt;QlikView Desktop Reload Database&lt;/P&gt;
&lt;P&gt;End If&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 07:28:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-Reload-vs-Qlikview-Desktop-Reload/m-p/1416954#M427864</guid>
      <dc:creator>micheledenardi</dc:creator>
      <dc:date>2017-12-04T07:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: QMC Reload vs Qlikview Desktop Reload</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-Reload-vs-Qlikview-Desktop-Reload/m-p/1416955#M427865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, but i need to identify the difference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 07:32:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-Reload-vs-Qlikview-Desktop-Reload/m-p/1416955#M427865</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-04T07:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: QMC Reload vs Qlikview Desktop Reload</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-Reload-vs-Qlikview-Desktop-Reload/m-p/1416956#M427866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can check the computer name using &lt;STRONG&gt;computername()&lt;/STRONG&gt; and then decide on connection, like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL class="dp-c" start="1" style="font-size: 12px; font-family: Consolas, 'Courier New', Courier, mono, serif; list-style-position: initial; list-style-image: initial; color: #5c5c5c; margin: 0 0 1px 45px !important;"&gt;&lt;LI&gt;&lt;SPAN style="color: black; font-size: 9pt !important; font-style: inherit; background-color: inherit; font-weight: inherit;"&gt;If Computername()='YourServerName' then&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Connection to QMC Reload Database&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;else&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Connection to&amp;nbsp; QlikView Desktop Reload Database&amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; color: black; background-color: inherit; font-size: 9pt !important;"&gt;End If&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 07:34:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-Reload-vs-Qlikview-Desktop-Reload/m-p/1416956#M427866</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2017-12-04T07:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: QMC Reload vs Qlikview Desktop Reload</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-Reload-vs-Qlikview-Desktop-Reload/m-p/1416957#M427867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another variation on the same theme:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On your server, create an include file (let's call it &lt;SPAN style="font-family: 'courier new', courier;"&gt;ServerSettings.qvs&lt;/SPAN&gt;) that says something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;SET vReloadEngine = QMC;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your document script, do two things.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Add a default value for vReloadEngine by adding the following SET statement to your script front (for example at the end of the initial series of SET statements). Like&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;SET vReloadEngine = Desktop;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;After that, add an optional include to load the server include file. If it doesn't exist, no worries. The reload engine won't complain and revert to the default value. Like&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;$(Include=.\ServerSettings.qvs)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As long as you maintain that file on your server, the script will be able to make out where it's running. Whatever the name of the machine...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 10:06:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-Reload-vs-Qlikview-Desktop-Reload/m-p/1416957#M427867</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-12-04T10:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: QMC Reload vs Qlikview Desktop Reload</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-Reload-vs-Qlikview-Desktop-Reload/m-p/1416958#M427868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you nice idea, but there are lots of servers, i cant maintain a file, i am looking for function to find the engine and load&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 10:09:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-Reload-vs-Qlikview-Desktop-Reload/m-p/1416958#M427868</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-04T10:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: QMC Reload vs Qlikview Desktop Reload</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-Reload-vs-Qlikview-Desktop-Reload/m-p/1416959#M427869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That may be what you want, but that will be difficult to get.&lt;/P&gt;&lt;P&gt;You see, the engine that is reponsible for reloads on your server is actually a QV Desktop without user interface called QVB.exe (QlikView Batch) that still thinks its name is QV.exe. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AFAIK if you want to figure out where the reload is taking place, you may have to rely on the environment telling you. Not the engine itself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 10:34:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-Reload-vs-Qlikview-Desktop-Reload/m-p/1416959#M427869</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-12-04T10:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: QMC Reload vs Qlikview Desktop Reload</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-Reload-vs-Qlikview-Desktop-Reload/m-p/1416960#M427870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use for similar tasks (triggering OnOpen excel-macros which must know who is executing them) external parameter either created by small store-statements or per vbs-writing in a text-file which will be evaluated from the depending routines. After finishing the excel-macro reset this parameter to its default-value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you could adapt this approach to your task whereby purely inside of Qlik I would go with the suggestions from Peter or Tresesco maybe by extending the computername() logic to a mapping (if there are really multiple server) maybe something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Map:&lt;/P&gt;&lt;P&gt;mapping load * inline [&lt;/P&gt;&lt;P&gt;ComputerName, Database&lt;/P&gt;&lt;P&gt;Server1, DB1&lt;/P&gt;&lt;P&gt;Server2, DB2&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;Desktop, DBx&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DataBase: load applymap('Map', computername(), '#NV') as DataBase autogenerate 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vDatabase = fieldvalue('Database', 1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 12:37:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-Reload-vs-Qlikview-Desktop-Reload/m-p/1416960#M427870</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-12-04T12:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: QMC Reload vs Qlikview Desktop Reload</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-Reload-vs-Qlikview-Desktop-Reload/m-p/1416961#M427871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, but i am looking for solution where unknown users and unknown servers are there, we cannot really keep track of everything, anywhere, anytime the script should identify the engine and load the respective db for desktop or server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 12:46:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-Reload-vs-Qlikview-Desktop-Reload/m-p/1416961#M427871</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-04T12:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: QMC Reload vs Qlikview Desktop Reload</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-Reload-vs-Qlikview-Desktop-Reload/m-p/1416962#M427872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Currently i am using the below script to identify the servers and desktop using registry string, but if QMC is running on desktop client, it will fail.. i need something which more robust.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;LET vOS = GetRegistryString('HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion', 'ProductName');&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Hari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 12:49:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-Reload-vs-Qlikview-Desktop-Reload/m-p/1416962#M427872</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-04T12:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: QMC Reload vs Qlikview Desktop Reload</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-Reload-vs-Qlikview-Desktop-Reload/m-p/1416963#M427873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's not really clear what do you want to do ..."solution where unknown users and unknown servers" .... and why? Are there really so many users/servers that they couldn't be maintained manually or read from somewhere?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 13:22:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-Reload-vs-Qlikview-Desktop-Reload/m-p/1416963#M427873</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-12-04T13:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: QMC Reload vs Qlikview Desktop Reload</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-Reload-vs-Qlikview-Desktop-Reload/m-p/1416964#M427874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, there are thousands of them. it's clear, that i need some function which identifies QMC engine and Desktop Engine with out any dependencies. so that desktop reload always fetch data from no production db, and QMC always fetches data from production db.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 13:26:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-Reload-vs-Qlikview-Desktop-Reload/m-p/1416964#M427874</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-04T13:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: QMC Reload vs Qlikview Desktop Reload</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-Reload-vs-Qlikview-Desktop-Reload/m-p/1416965#M427875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Really thousands of users which should reload data from a database within the desktop client? Beside engine and OS how do you want to control which user could pull and see which data?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is only to differ if qmc respectively production db or not the suggestion from Peter would fit perfectly - you could also embed this logic within an error-handling with ERRORMODE and MUST_INCLUDE or extending it on this to some further checks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Beside them there are probably some further (security) measures on the database- or network-side possible how is allowed to access and who not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 13:46:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-Reload-vs-Qlikview-Desktop-Reload/m-p/1416965#M427875</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-12-04T13:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: QMC Reload vs Qlikview Desktop Reload</title>
      <link>https://community.qlik.com/t5/QlikView/QMC-Reload-vs-Qlikview-Desktop-Reload/m-p/1416966#M427876</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;If the QMC has been set-up to use a Service User style account to do the reloads then you could use the following to get the user name and check if it is the service user and therefore a QMC reload any other user name name return would then be a desktop reload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF &lt;SPAN style="font-size: 13.3333px;"&gt;OSUser() = 'Service User Name'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; use OMC settings&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;else&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; use desktop settings&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;end if&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 14:17:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMC-Reload-vs-Qlikview-Desktop-Reload/m-p/1416966#M427876</guid>
      <dc:creator>atoz1158</dc:creator>
      <dc:date>2017-12-04T14:17:32Z</dc:date>
    </item>
  </channel>
</rss>

