Favorites
Last updated
Was this helpful?
Last updated
Was this helpful?
You can save any VQL queries as a favorite for easy and quick access later.
You can load and save favorites from the Edit menu or the VQL editor's context menu. Simply use the Load from Favorites or Save to Favorites menu items available in those menus at any time while in the VQL editor.
When saving a query to Favorites, a number of properties can be set to catalog, sort and find favorites later.
Favorites can also be edited later if changes are needed (see below for editing existing favorites).
Name Name of the favorite.
Category Select a category for your favorite. Your favorite query will be grouped together with other favorites under the same category.
Object type Enter the object type used in this query.
Show in Favorites Select if you want the favorite to be displayed in the Favorites menu. Unchecking this will hide the favorite from the Favorites menu and the Favorites Panel in the Vault Navigator.
Show in Vaults
Enter any vaults this particular favorite should be limited to.
An exclamation mark placed in front of the vault name (e.g. !testVault.domain.com
) hides the favorite for the respective vault.
Leaving the field empty will display the favorite in all vaults.
Vaults can also be selected by opening the menu to the right of this field, but only known (previously used) vaults will be displayed in the list.
Description Enter an (optional) description of what this favorite does.
VQL Query Displays the VQL query for this favorite.
Favorites can be managed directly from the context menu, which you can access by right-clicking on the favorite you want to modify.
Once you right-click, the context menu will be displayed, containing the following options:
Run Favorite: Runs the selected favorite.
Edit: Opens the edit window for the selected favorite.
Rename: Activates renaming for the selected favorite.
Delete: Deletes the selected favorite.
Add Favorite: Allows you to add a new favorite.
Add Category: Allows you to add a new category.
Favorites by Category: Displays favorites grouped by category.
Favorites by Object Type: Displays favorites grouped by object type.
Show Hidden: Allows you to select whether to display hidden favorites.
Import from File: Allows you to import favorites from a file.
Export to File: Allows you to export the selected favorite or category to a file.
Additionally:
Favorites can be moved from one category to another using drag and drop.
Standard/shared favorites cannot be edited or moved, but they can be copied using the copy function or drag and drop.
It is not possible to restore a deleted favorite, so take care when using this action.
Template Queries are VQL queries which contain placeholders for values. If a Template Query is executed, the user is requested to enter values for the placeholders.
Placeholders consist of a freely selectable name, which is enclosed by curved clips. They can be inserted either manually or with a function available in the context menu of the input window. Template Queries can contain any number of placeholders.
If placeholders appear in a query more than once, they always represent the same value. Please keep in mind that placeholder names are case sensitive.
If for any reason an opening curved clip is needed in the VQL query for another purpose than for beginning a placeholder, it must be masked with a double opening curved clip, like … where document_name like ‘{{%’
.
The behavior of placeholders can be improved by adding placeholder options, using the Edit template field function from the context menu
Name: Name of the placeholder
Label: Caption displayed in the input dialog. If no label is available, the name will be displayed
Default Value: The default value shown in the input control. It is valid until another value is entered or selected
Mandatory: Check this box, if it is a mandatory field
Value List Type: To assist the user, different types of value lists are available:
None: No value list
Fixed list: A list with fixed values that must be predefined in the control Values
VQL Query: A VQL query that fills the list dynamically
Date Picker: Displays a date picker control
File Open Dialog: Opens a file open dialog. A list of available file types can be defined in the control Values.
Directory Selector: Allows selection of a directory from the local file system.
If the result of a VQL query contains more than one attribute, the value of the first column will be displayed in the value list, the corresponding value of the second column will be inserted in the query.
In a fixed value list, the displayed value and the inserted value can be separated by ||, (e.g. Label||Value)