Qv.Config

Example
Qv.InitWorkBench(
{
    View: 'FilmsWebView',
    BodyOnLoadFunctionNames: ['Init']
});

Members

Anonymous :Boolean

Make an anonymous connection
Type:
  • Boolean

BodyOnLoadFunctionNames :String/Array

Functions that should run after workbench is loaded. Enter the name of the function or an array if you want to call more than one function. No parameters are allowed.
Type:
  • String/Array
Example
BodyOnLoadFunctionNames:"MyInit"
    or
BodyOnLoadFunctionNames:["MyInit1", "MyInit2"]

Bookmark :String

Set this to load the page with a selected bookmark. Enter the ID of the bookmark
Type:
  • String
Example
Bookmark: "Document\\BM02"

CSS :String/Array

Stylesheets that should be loaded after the standard stylesheets. Typically you do that to override some of the styles. Enter the path of the stylesheet or an array if you want to supply more than one.
Type:
  • String/Array
Example
Qv.InitWorkBench(
{
    View: 'FilmsWebView',
    BodyOnLoadFunctionNames: ['Init'],
    CSS: ["Initialisation_CSS.css", "Content/Initialisation_CSS2.css"]
});

CustomIcons :Qv.CustomIcons

Customize icons for objects. Enter substitute images for icons in the form icon code:icon url and separate them with a comma
Type:
Example
CustomIcons:{CA:"NewClearAll.bmp", CD:"NewClear.bmp"}

Host :String

Name of the QlikView Server Cluster. If omitted, the default server connection for the web server is used, defined by DefaultQvs in the web server configuration file. The host parameter must be defined if several server connections exist for the web server.
Type:
  • String

InitialSearch :Array

Make an automatic search when the page loads. Enter object id and one or more texts to search for, separate them with commas.
Type:
  • Array
Example
Qv.InitWorkBench(
{
    View: 'FilmsWebView',
    BodyOnLoadFunctionNames: ['Init'],
    InitialSearch: ["LB1460,*Al*"]
});

InitialSelections :Array

Make an automatic selection when the page loads. Enter object id and one or more texts to select, separate them with commas.
Type:
  • Array
Example
Example 1:
Qv.InitWorkBench(
{
    View: 'FilmsWebView',
    BodyOnLoadFunctionNames: ['Init'],
    //
    // NOTE: You should avoid spaces between the comma separated items.
    //
    InitialSelections: ["LB1460,Alan Arkin,Alan Alda"]
});

Example 2:
To make selections in multiple listboxes, use the following syntax.
Qv.InitWorkBench(
{
    View: 'FilmsWebView',
    BodyOnLoadFunctionNames: ['Init'],
    //
    // NOTE: You should avoid spaces between the comma separated items.
    //
    InitialSelections: ["LB1460,Alan Arkin,Alan Alda", "LB1466,1980's"]
});

Password :String

Section access password in clear text
Type:
  • String

QvAjaxZfcPath :String

Defaults to the path of QvAjax.js referenced in the page
Type:
  • String

Ticket :String

Connect using a ticket
Type:
  • String

Userid :String

Section access userID in clear text
Type:
  • String

View :String

Mandatory, the name of document without the file extension.
Type:
  • String

Xpassword :String

Scrambled section access password
Type:
  • String

Xuserid :String

Scrambled section access userID
Type:
  • String