お問い合わせ
4 分で読むことができます。

【Qlik Sense】Switch from standard to legacy mode

執筆者 BI LAB編集室 更新日時 2017年3月30日

Before we will explain how to switch from the default standard mode to the legacy mode, let us take a closer look on the differences between this two modes.

Standard mode:

In the default standard mode you create first a data connection, e.g. an absolute file path, from where you load your specific files. You can not use absolute or relative file paths or "Custom connect to"  directly in the script when using standard mode.

Legacy mode:

The legacy mode enables you to use absolute and relative file paths as well as "Custom connect to" directly in the script like in QlikView applications. This is very helpful when you copy and paste script elements from a Qlikview application to Sense or when you need a more dynamic script, e.g. loop through multiple folders or webfiles with "for ... next" script control statement. No data connection is necessary.

When loading both previous statements in standard mode, following error message will occur:

 

-the sales data could be loaded successfully using the correct data connection

-the product data couldn't be loaded because the standard mode is limited to the use of data connections and doesn't allow any other statements

 

 

 

To enable the legacy mode you need to modify the Settings.ini file (Desktop version) or switch settings in QMC (Server version).

A) Qlik Sense Desktop

Modify Settings.ini (Desktop version) located in "C:\Users\{user}\Documents\Qlik\Sense"

Settings.ini file (Standard mode)                              Settings.ini file (Legacy mode)

                                   

Only change "StandardReload=1" into "StandardReload=0" to disable the standard mode and use legacy mode in Qlik Sense Desktop.

Done !

B) Qlik Sense (server)

To use the legacy mode you need to disable the standard mode in the QMC.

  1. Enter the QMC and select "Engines"in the left menu.                                                     
  2. Select the node where you want to enable the legacy mode and click "Edit".                   
  3. Enable "Advanced" settings on the right side and clear the Standard mode check box.     
  4. Click "Apply".                                                                                                             
  5. A message will pop up with the notice that you need to restart engine and service dispatcher services manually. Click "OK" to close the pop up.                                          
  6. "Successfully updated" will pop-up on the lower edge of the screen.                               
  7. Close the QMC and open the task manager, go to the service sheet and restart the engine and service dispatcher services, like mentioned in step 5

Done !

Now you can use all the script patterns which are used in QlikView and also the new library connections from Qlik Sense together.

At least be advised that the change to legacy mode can:

  1. create a security risk by exposing the file system
  2. connections can not be managed/maintained in the QMC

For further help please visit the Qlik Help page.

Qlik Senseを体験してみませんか?

INSIGHT LABではQlik紹介セミナーを定期開催しています。Qlik SenseとQlikViewの簡単な製品概要から、Qlikの特性である「連想技術」のご紹介、デモを通してQlik SenseとQlikViewの操作感や美しいインターフェースをご覧いただきます。企業の大切な資産である膨大なデータからビジネスを発見する 「Business Discovery」を是非ご体験ください。

詳細はこちら

BI LAB編集室

執筆者 BI LAB編集室

BI LAB(データ活用研究所)編集室です。 BI、AI、DWHなどデータ活用に関するトレンドやニュースやコラムをほぼ毎日配信しています。押さえておきたい基本知識から、最新ニュース、事例インタビューやお役立ち情報・セミナーレポートまで、データ活用の専門家ならではの視点と情報量でお届けします。