Text Object - AJAX/Webview
ON THIS PAGE
Text Object - AJAX/Webview
Text objects can be used for displaying text information or an image in the layout.
Text Object: Object Menu
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:
Properties... |
Opens the Properties dialog for the active sheet object. |
Notes |
Allows creating and sharing notes about the current object. |
Copy |
Copies the selected sheet object(s) to the clipboard. This function only copies sheet objects, not data or images. |
Delete |
Removes the selected object from the sheet. |
Text Object Properties
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.
Text | Enter the text the text object should display. The value may be entered as a calculated formula. Click ![]() |
Actions | To add an action click ![]() ![]() ![]() ![]() Actions Settings Popup Type Actions Types and Actions Action Types and ActionsSelection SelectionSelect in FieldSelects 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. Select ExcludedSelects the excluded values in the specified field. Select PossibleSelects the possible values in the specified field. Toggle SelectToggles 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. ForwardGoes one step forward in the list of selections. BackGoes back one step in the list of selections. Pareto SelectMakes 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. Lock FieldLocks the selections in the specified field. Lock AllLocks all values in all fields. Unlock FieldUnlocks the selections in the specified field. Unlock AllUnlocks all values in all fields. Unlock and Clear AllUnlocks all values and clears all selections in all fields. Clear Other FieldsClears all related fields except the one specified. Clear AllClears all selections except locked ones. Clear FieldClears a specific field. LayoutActivate ObjectActivates the object specified by Object ID. This function does not work in Ajax client. Activate SheetActivates the sheet specified by Sheet ID. Activate Next SheetOpens the next sheet in the document. Activate Previous SheetOpens the previous sheet in the document. Minimize ObjectMinimizes the object specified by Object ID. Maximize ObjectMaximizes the object specified by Object ID. Restore ObjectRestores the object specified by Object ID. BookmarkApply BookmarkApplies 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. Create BookmarkCreates a bookmark from the current selection. Specify Bookmark ID and Bookmark Name. Select Hidden to create a hidden bookmark. Replace BookmarkReplaces the bookmark specified by Bookmark ID with the current selection. Print ObjectPrints 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.) Print SheetPrints the sheet specified by Sheet ID. (Not available as document and sheet trigger.) This function does not work in AJAX client. Print ReportPrints 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!
ExportExports 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) LaunchLaunches an external program. The following settings can be configured
in the Actions dialog: Open URLOpens the URL in the default web browser. (Not available as document and sheet trigger.) Open QlikView DocumentOpens the specified document. The file extension must be included. (Not available as document
and sheet trigger.) Note: Use Apply state on top of current with caution, as it can cause unpredictable results if the two documents selections are conflicting. In most cases it should be sufficient with using the Transfer State option. Open in same Window opens 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 plugin Run MacroEnter 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. Set VariableAssigns a value to the specified variable. Show InformationShows 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 DocumentCloses the active QlikView document. ReloadPerforms a reload on the current document. This function does not work both in AJAX client and IE-plugin. Dynamic UpdatePerforms 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:
Example: 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. |
Text Object Properties: Presentation
Presentation
Representation | The text in the text object can be interpreted as a reference to an image in memory or on disk. When selecting Text the contents of the text object will always be interpreted and displayed as text. When selecting Image, QlikView will try to interpret the text contents as a reference to an image. The reference may be a path to an image file on disk or inside the qvw document. It can also be an info function linked to a field containing image info. If QlikView cannot interpret the text contents as a valid reference to an image, the text itself will be displayed. Click ![]() Formatting No Stretch Displays the image without stretching. This may cause parts of the picture to be invisible or only part of the object to be filled. Fill The image is stretched to fit the object area without keeping the aspect ratio of the image. Keep Aspect The image is stretched as far as possible to fill the object area while keeping the aspect ratio. Fill with Aspect The image is stretched to fill the object area in both directions while keeping the aspect ratio. |
||||||||||||||
Horizontal | Left, Centered or Right alignment of the text or image. | ||||||||||||||
Vertical | Top, Centered or Bottom alignment of the text or image. | ||||||||||||||
Text Margin | Sets the margin between the outer borders of the text object and the text itself. | ||||||||||||||
Show Horizontal Scrollbar | If this check box is marked, a horizontal scroll bar will be added to the text object when its text content is too wide to be displayed within the given area. | ||||||||||||||
Show Vertical Scrollbar | If this check box is marked, a vertical scroll bar will be added to the text object when its text content is too long to be displayed within the given area | ||||||||||||||
Background Style | Color
Sets the background to a color, either a solid color or a gradient. Click ![]() Image Sets an image as background. Click ![]() ![]() Formatting No Stretch Horizontal Vertical Transparency |
||||||||||||||
Background Transparency | Sets the degree of transparency of the text object background. At 100% the background will be completely transparent. | ||||||||||||||
More.../Less... | Click this button to expand/collapse the foldout that contains additional tabs. Styles
|
Text Object Properties: Caption
Caption
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 ![]() |
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. |
Caption Alignment | Left/Centered/Right |
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. |
Caption Alignment | Top/Centered/Bottom |
More.../Less... |
Icons in CaptionSome options may not be available for all objects. MenuOpens the object menu. ClearClears 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! Copy DataCopies the field values in the sheet object. Some clients may not handle this setting! Copy Image to ClipboardCopies the sheet object as an image to the Clipboard. Some clients may not handle this setting! Send to ExcelExports 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! Allow MinimizeWhen 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. Auto MinimizeThis 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. Allow MaximizeWhen 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. Help TextHere 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 Fast Type ChangeHere you can enable toggling between chart types. Not available for all objects. Click Fast Type Settings PopupCheck the boxes for the chart types you want to toggle between using fast type change. |
Text Object Properties: Options
Options
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 ![]() |
||||||||
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. | ||||||||
More.../Less... |
Options
|