QlikView for Developers Cookbook
上QQ阅读APP看书,第一时间看更新

Modifying the green, white, and gray selection color schemes in QlikView Server

In the previous recipe, Modifying the green, white, and gray selection color schemes, we used the API to modify a user's default color scheme. However, this is a user setting and doesn't automatically apply to QlikView Server.

In this recipe, we will take the setting generated in the last recipe and apply them manually to QlikView Server.

Getting ready

Complete the previous recipe, Modifying the green, white and gray selection color schemes.

How to do it…

These steps show you how to modify the green, white, and gray color scheme on QlikView Server:

  1. Locate your Settings.ini file in C:\Users\username\AppData\Roaming\QlikTech\QlikView.
  2. Open the file in Notepad and locate the CustSel entries. Select them all and copy them to the clipboard (Ctrl + C).
  3. On the QlikView Server, stop the QlikView Server Service.
  4. Locate the Settings.ini file in C:\ProgramData\QlikTech\QlikViewServer.
  5. Paste the CustSel values from the user Settings.ini file at the bottom of the [Settings 7] section. Save the file and start the QlikView Server.
  6. Either copy the test file from the previous recipe into one of the server document folders, or modify one of the existing server documents to have the [Custom] color scheme (see previous recipe).
  7. Open the document in the browser and see if the new color scheme has been applied.

How it works…

Some of the user settings that are stored in local user folders can also be applied to the server. By manually moving the settings from the same section in the user's Settings.ini file into the server's Settings.ini file, we are enabling the custom color scheme.

See also

  • The Modifying the green, white, and gray selection color schemes recipe