On this page
Buttons can be used in QlikView to perform commands or actions, e.g. export data to files, launch other applications or execute macros.
By right-clicking the object, the Object Menu will be displayed.
The object menu can be opened as a context menu by right-clicking on a sheet object, or by clicking the icon in the object caption (if shown).
The commands in the menu may vary depending on whether WebView is used from inside QlikView or opening the document in a web browser. The menu contains the following commands:
Opens the Properties dialog for the active sheet object.
Allows creating and sharing notes about the current object.
Copies the selected sheet object(s) to the clipboard. This function only copies sheet objects, not data or images.
Removes the selected object from the sheet.
The Properties dialog is opened by selecting Properties from the Object menu. If the Properties command is dimmed, you probably do not have the privileges necessary to perform property changes.
|Button Text||Enter the text the button should display. The value may be entered as a calculated formula. Click to open the Edit Expression dialog.
|Actions||To add an action click . The Action Settings popup for the new action opens instantly. It is also possible to select an action in the drop-down and to click to edit. The icon moves the items in the list. The icon removes the items from the list.
Actions Settings Popup
Action Types and Actions
Select in Field
Selects the values and fields that are specified. In the Search String you can specify a search mask, e.g. (A|B) will select both A and B.
Selects the excluded values in the specified field.
Selects the possible values in the specified field.
Toggles between the current selection and the specified Field and Search String. In the Search String you can specify a search mask, e.g. (A|B) will select both A and B.
Goes one step forward in the list of selections.
Goes back one step in the list of selections.
Makes a pareto selection in the specified field based on an expression and percentage. This type of selection is used to select the top contributors to a measure, typically in line of a general 80/20 rule. For example, to find the top customers that contribute to 80% of the turnover, Customer should be used as field, sum(Turnover) should be used as expression and 80 should be used as percentage.
Locks the selections in the specified field.
Locks all values in all fields.
Unlocks the selections in the specified field.
Unlocks all values in all fields.
Unlock and Clear All
Unlocks all values and clears all selections in all fields.
Clear Other Fields
Clears all related fields except the one specified.
Clears all selections except locked ones.
Clears a specific field.
Activates the object specified by Object ID. This function does not work in Ajax client.
Activates the sheet specified by Sheet ID.
Activate Next Sheet
Opens the next sheet in the document.
Activate Previous Sheet
Opens the previous sheet in the document.
Minimizes the object specified by Object ID.
Maximizes the object specified by Object ID.
Restores the object specified by Object ID.
Applies a bookmark specified by Bookmark ID. If two bookmarks have the same ID, the document bookmark is applied. To apply the server bookmark specify Server\bookmarkID.
Creates a bookmark from the current selection. Specify Bookmark ID and Bookmark Name. Select Hidden to create a hidden bookmark.
Replaces the bookmark specified by Bookmark ID with the current selection.
Prints the object specified by Object ID. Specify the Printer name if the object should be sent to another printer than the default printer. (Not available as document and sheet trigger.)
Prints the sheet specified by Sheet ID. (Not available as document and sheet trigger.) This function does not work in AJAX client.
Prints the report specified by Report ID. Specify the Printer name if the report should be sent to another printer than the default printer. Mark the check box Show Print Dialog if you want the Windows print dialog to be shown. (Not available as document and sheet trigger.)
ExternalSome clients may not handle this setting!
Exports a table containing a specific set of fields, but only those records that are applicable according to the made selection are exported. Click on the Setup button on the Actions page to open the Export Action Settings dialog. (not available as document and sheet trigger)
Launches an external program. The following settings can be configured
in the Actions dialog:
You can use Open URL to open a URL to a QlikView document from within another QlikView document (document chaining). This setting opens the URL in the default web browser. This function cannot be used as a document and sheet trigger. If using Open URL, make sure to enter the document name in the action-string in lower case.
Where possible, use Open QlikView Document instead of Open URL.
Open QlikView Document
You can use Open QlikView Document to open a QlikView document from within another QlikView document (document chaining). The extension of the destination file must be included. This function cannot be used as a document and sheet trigger. Relative paths to navigate from one QlikView document to another are supported in all clients as long as the chained documents are stored in the same folder structure (mount).
The following examples show how to write the file path to the destination file to setup the document chaining using Open QlikView Document.
Example: File located in the same folder structure (same mount).
Example: File located in a different folder structure (different mount).
The relative path between different mounts is supported in the Ajax client only.
Example: Using the mount path to point to a QlikView document
Setting the path to mounted folders is supported in the Ajax client only.
Note: The doc chaining with mounted folders does not work with the Internet Explorer (IE) plug-in.
Example: Using the absolute path to point to a QlikView document
The use of absolute paths for document chaining is supported in the Ajax client and in QlikView Desktop.
Select Transfer State to transfer
the selections from the original document to the destination document.
The destination document will first be cleared of selections.
Note: Using Apply state on top of current can return unexpected results if the selections made in the two documents are conflicting.
Select Open in same Window to open the new document in the same browser tab when using the AJAX ZFC client.
Note: Open QlikView Document action is not supported for non domain users when using the Internet Explorer (IE) plug-in.
Enter the path and name of the macro to be run. Type any name for which it is possible to later create a macro in the Edit Module dialog, or a calculated expression for dynamic update.
Assigns a value to the specified variable.
Shows the associated information, such as a text file or an image for the field specified by Field. This function does not work in AJAX client.
Close This Document
Closes the active QlikView document.
Performs a reload on the current document. This function does not work both in AJAX client and IE-plugin.
Performs a dynamic update of the data in the currently loaded document. The statement for the dynamic update is to be entered in the Statement field.
The intended usage of Dynamic Update allows a QlikView Administrator to feed limited amounts of data in to a QlikView document from a single source without running a reload of the document. Analysis can then be performed by multiple clients connecting to the QlikView Server.
Note! The uploaded information is stored in RAM only so any data added or updated using Dynamic Update will be lost if a reload of the document is performed.
The following grammar describes the possible statements and their components that can be used with the Dynamic Update feature:
UPDATE AbcTable SET Discount = 123 WHERE AbcField=1
Note: To use this feature, Dynamic Update must be allowed both on the Document and on the Server.
|Enable Condition||Enter an expression that will determine the status of the button. If the expression returns 0, the button will be disabled, if the expression returns 1, the button will be enabled. If no expression is entered, 1 is assumed. Buttons that are disabled due to underlying status cannot be enabled by means of a condition. The value may be entered as a calculated formula. Click to open the Edit Expression dialog.|
|Label||In the text box you can enter a title to be shown in the caption of the sheet object. If no Label is set, the name of the field will be used if Show Caption is selected. The value may be entered as a calculated formula. Click to open the Edit Expression dialog.|
|Show Caption||When this option has been checked a caption will be drawn at the top of the sheet object. List boxes and other "box objects" will have the option switched on by default whereas buttons, text objects and line/arrow objects will not.|
|Multi Line Caption (Word Wrap)||If this option is checked, the text will be displayed in two or more rows.|
|Number of Rows||If multiple lines are allowed for the caption, specify the number of rows in the input field, or drag the slider to the desired number.|
Icons in Caption
Some options may not be available for all objects.
Opens the object menu.
Clears all the current selections in the active sheet object.
Opens the selected sheet object(s) in tabular format in another browser window. Some clients may not handle this setting!
Copies the field values in the sheet object. Some clients may not handle this setting!
Copy Image to Clipboard
Copies the sheet object as an image to the Clipboard. Some clients may not handle this setting!
Send to Excel
Exports possible (including selected) values to Microsoft Excel, which is automatically launched if not already running. The exported values will appear as one column in a new Excel worksheet. For this functionality to work Microsoft Excel 2007 or later must be installed on the computer. Some clients may not handle this setting!
When this option has been checked a minimize icon will be displayed in the window caption of the sheet object, providing that it is possible to minimize the object. Furthermore, this will make it possible to minimize the object by double-clicking the caption.
This option becomes available when Allow Minimize is checked. When Auto Minimize is checked for several sheet objects on the same sheet, all but one will be automatically minimized at any time. This is useful e.g. for alternately displaying several graphs in the same sheet area.
When this option has been checked a maximize icon will be displayed in the window caption of the sheet object, providing that it is possible to maximize the object. Furthermore, this will make it possible to maximizing the object by double-clicking the caption. If both Allow Minimize and Allow Maximize are checked, double-clicking will effect minimizing of the object.
Here you may enter a help text to be displayed in a pop-up window. This option is not available at document level. The value may be entered as a calculated formula. Click to open the Edit Expression dialog.
Fast Type Change
Here you can enable toggling between chart types. Not available for all objects. Click to open the popup.
Fast Type Settings Popup
Check the boxes for the chart types you want to toggle between using fast type change.
Some options may not be available for all objects.
|Read Only||Makes the chart read only, that is selections cannot be made by clicking or painting with the mouse in the chart.|
|Allow Move/Size||If this option has been deselected it will be impossible to move or resize the sheet object.|
|Allow Copy/Clone||If this option has been deselected it will be impossible to make a copy of the sheet object. This setting may not be handled by all clients.|
|Size Object to Data||Normally the borders around all table sheet objects in QlikView will shrink when selections cause the size of the table to be less than allocated size for the sheet object. By deselecting this check box this automatic adjustment of size will be turned off leaving any surplus space blank.|
|Allow Show Info in Caption||When the Info function is in use an info icon will be displayed in the window caption whenever a field value has information associated to it. If you don't want the info icon to be displayed in the caption, you can uncheck this option. Only available for list box, statistics box, multi box and input box.|
|Preserve Scroll Position||When marking this check box and the corresponding one in the User Preferences, Objects dialog, QlikView will preserve the vertical scroll position when a selection in table objects has been made.|
|Use Show Condition||The sheet object will be shown or hidden depending on a conditional expression which will be evaluated continuously depending on e.g. selections etc. The sheet object will only be hidden when the condition returns false. The value may be entered as a calculated formula. Click to open the Edit Expression dialog.|
|Normal||Specify the position of the object by setting Left and Top margins, and Width and Height of the object.|
|Minimized||Specify the position of the minimized sheet object by setting Left and Top margins, and Width and Height of the minimized object.|