Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!

How to Use a Variable as a QlikView Server Name

cancel
Showing results for 
Search instead for 
Did you mean: 
Bjorn_Wedbratt
Former Employee
Former Employee

How to Use a Variable as a QlikView Server Name

Last Update:

Nov 25, 2015 9:29:34 AM

Updated By:

Bjorn_Wedbratt

Created date:

Nov 25, 2015 9:29:34 AM

NPrinting lets you create custom environment variables containing QlikView Server Names that you can use with qvp connections.

The Default QlikView server option, in the Report settings section, allows you to specify a default QlikView server. The value will be inserted into the variable %DefaultQlikViewServer% and will be used when creating new qvp connections. See also, How to Use Environment Variables.

    
    
        
          

Open the Options window

                    
        Open-the-Options-window.png                        
          
  1. Select the File tab
  2. Click on the Options button
        
        
        
          

Set the Default QlikView Server name

                    
       Set-the-Default-QlikView-Server-name.png                         
          
  1. Select the Report settings icon on the left panel
  2. Enter the name of your QlikView server

This value will be inserted in the variable %DefaultQlikViewServer%

        
        
        
          

Create a New Connection

                    
          Create-a-New-Connection.png                      
          

Create a new connection, see How do I connect to my QlikView documents?

  1. Checking this checkbox opens the Server name text box to the right so that you can enter the server name
  2. Click on the variable button at the right of qvp:// field
  3. Select the DefaultQlikViewServer variable
  4. Click OK
        
        
        
          

Result

                    
        Result.png                        
          

The screenshot shows the variable %DefaultQlikViewServer% correctly set.

You can see the list of available QVW files by clicking on the three dots.

        
        
    
  
Version history
Last update:
‎2015-11-25 09:29 AM
Updated by: