Qlik Community

Qlik NPrinting Documents

Documents related to Qlik NPrinting.

Announcements
QlikWorld, June 24-25, 2020. Free virtual event for DI and DA gurus. Register Now

How to Use a Variable as a QlikView Server Name

Support
Support

How to Use a Variable as a QlikView Server Name

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
Revision #:
1 of 1
Last update:
‎2015-11-25 09:29 AM
Updated by: