Cue tile (configuration)
A cue tile is an element of a grid, detail, or dashboard layout block that is used to provide a visual representation of aggregated data from a portal entity. For example, it can display the number of documents of certain type.
To add a cue tile to a page
- In CMS, go to Contents and expand the node of a grid page, detail page, or dashboard (home) depending on where you want to add a cue tile.
- Select the icon next to the corresponding layout block node ( grid, detail, or home dashboard). Alternatively, select and hold (or right-click) the node, and then select Create.
- Select Cue tile.
- On the header, enter the cue tile name that will be used to identify it in CMS.
- On the General tab, fill in general settings as follows:
- Title - Specifies the title of the cue tile that will be displayed on the page.
- Subtitle - Specifies the subtitle of the cue tile that will be displayed on the page under the title.
- Icon - Specifies the image that will be displayed next to the cue tile title. When choosing an icon, select any icon library set except umbraco-icon because icons from this icon library are not meant to be used with front end elements – this may cause bugs and visual glitches.
- Width settings - Specifies the adaptive width settings for the cue tile per device. The width is automatically adjusted depending on the device the page is opened from.
- Hide element - This setting hides the cue tile from the dashboard. It can be configured per member group. In the layout block page settings, on the General tab, in the Hide element setting, select one or several member groups, for which this layout block will be hidden. Alternatively, you can select the ~All~ check box to hide it for all member groups (without the necessity to select every member group's check box) or select the Hide element check box to have all member groups selected at once.
- Background color - Specifies the color that will be used as solid filled background for the cue tile.
- Background image - Specifies the image that will be used as background for the cue tile.
- Description - Specifies a description of this cue tile that will be displayed below the title and subtitle.
- Navigate-to page - Specifies the portal page that will be displayed when the portal members selects this cue tile. Normally, this should be where data for the cue tile is retrieved from.
- Content-from page - Specifies the portal page that will be displayed instead of the created page. The path on the address bar will be that of the original page. Use this setting only if you want to redirect the member to another existing portal page. For cue tiles, this setting is not mandatory.
- Redirect-to page - Specifies the portal page that will be displayed instead of the created page. The path on the address bar will be that of the target page. Use this setting only if you want to redirect the member to another existing portal page. For cue tiles, this setting is not mandatory.
-
On the Data source tab, specify the portal entity that will be used as data source for this cue tile as well as necessary filter. If the source of data is external, portal integration must be set up and configured with the corresponding external system.
-
Entity - Specifies the portal entity aggregated data from which will be retrieved for this cue tile. The list of available entities depends on the system your portal is integrated with.
-
Filter - Specifies the filter(s) which can be used to narrow down the records that will be used from the specified entity by specified criteria. You can add filters individually, in groups, or in combination of individual filters and groups. Grouped clauses operate as a single unit separate from the rest of the query, similar to putting parentheses around a mathematical equation or logic expression. The AND or OR operator specified for the filter group applies to the whole group. Setting filters is optional and depends on what kind of data you want to be displayed on the page.
- To add an individual filter, select the icon, select Filters, and the configure filter settings:
- Field – Specifies the field from the source entity the value of which will be used to filter records on the page.
- Operator – Specifies a symbol that denotes a logical operation.
- Value – Specifies the value of the field that will be used to filter records on the page. You specify constant value or use a method to retrieve data. Select the icon and configure the type of value and its settings (see the Creating a Grid page topic for information on how to configure filter settings).
- Type – Specifies the type of the filter:
- AND – Use this type to find records in the data source that meet the criteria in both the current clause and the previous clause.
- OR – Use this type to find records in the data source that meet the criteria in either the current clause or the previous clause.
- Disable current filter – Use this switch to temporarily disable the filter for this page.
- To add a groups filters, select the icon, select Filters group, and the configure filter group settings:
- Type – Specifies the type of the filter group:
- AND – Use this type to find records in the data source that meet the criteria in both the current clause and the previous clause.
- OR – Use this type to find records in the data source that meet the criteria in either the current clause or the previous clause.
- Filters in group – Specifies filters that will belong to this filter group. The Type setting above will be applied to the whole group of filters. Select the icon to add a new filter to the group, and configure its settings in a similar way you configure settings for individual filters.
- Type – Specifies the type of the filter group:
- To add an individual filter, select the icon, select Filters, and the configure filter settings:
-
- On the Tiles tab, add tiles that will display data. You can add several tiles to break down aggregated data into logical parts. For example, if your cue tiles show the number of sales documents from a table, you can add tiles for each type of sales document, such as Invoices, credit memos, etc.
-
Conditional formatting - Specifies rules that define formatting that will be applied to the tile title, value, background (color and image) on condition that the tile value is within the range specified in the condition. You can set up conditional formatting rules for all tiles or separately per tile. Conditional formatting for all tiles will have a higher priority over the rules set up for a specific tile. Using conditional formatting is optional. Select the icon to add a new conditional formatting rule.
An example of tiles with formatting applied as a result of conditional formatting rules:
-
Condition range - Specifies the range of values that serves as a condition for applying the formatting set up for this condition rule. If a tile value is within the condition range, the rule formatting is applied to the tile.
-
Lower bound value - Specifies the lowest allowed value for the condition to be met. If the field is empty, there is no lower bound limit (all values below the upper bound value meet the condition).
-
Upper bound value - Specifies the highest allowed value for the condition to be met. If the field is empty, there is no upper bound limit (all values above the lower bound value meet the condition).
-
-
Title template - Specifies the formatting template that will be applied to the tile title if the condition rule is met. You can use the variable #=title#: for the title. If not specified, the dynamic filter title will be displayed.
-
Value template - Specifies the formatting that will be applied to the tile value if the tile value is within the condition range. You can use the variable #=value#: for the title. If not specified, the dynamic filter value will be displayed.
-
Background color - Specifies the tile background color that will be applied if the tile value is within the condition range.
-
Background image - Specifies the tile background image that will be used if the tile value is within the condition range.
-
Font color - Specifies the font color that will be applied to the tile text if the tile value is within the condition range.
-
-
Tiles setup - Select the icon to add a tile, and specify its settings. There are two types of tiles that you can add: static or dynamic tile. (1) A static tile displays record statistics filtered by a specific field value; for every field value, you have to manually set up a tile. (2) A dynamic tile displays record statistics for all or specifically chosen multiple values of a selected field from the data source; for every unique value, tiles will be generated automatically. For example, you are configuring tiles to show how many quote documents you have. These documents may have various statuses, and you want the document statistics for each status to be displayed on a separate tile. With the help of dynamic tiles, you don’t have to manually configure a tile/gauge/chart bar for each status; you only need to configure a single dynamic tile, based on the document status, and Xpand Portal will add tiles for every status automatically.
-
Field - Specifies the field the values from which will be used to automatically created tiles. For every unique value, a new tile will be automatically added. You can set a filter by specific field values. This setting is available only for dynamic tiles.
-
Filters - Specifies a filter by a field value. Select the icon again to add more filters if necessary. Setting filters is optional and depends on what kind of data you want to be displayed on the new grid page.
-
Title - Specifies the title of the tile that will be displayed on the dashboard.
Image - Specifies the image that will be displayed in the tile.
-
Image - Specifies the image that will be displayed in the tile.
-
Width settings - Specifies adaptive width settings for the tile.
-
Background color - Specifies the color that will be used as solid filled background for the tile.
-
Background image - Specifies the image that will be used as background for the tile.
-
Template - Specifies a predefined template that will be used to display this tile. This setting is not mandatory. Select a template if available.
- Aggregation - Specifies how data is aggregated in this tile. Select one of the following options:
-
Calculate Sum of values - A sum of all values of a field will be calculated and displayed in the tile. Select a field the values of which will be summed up on all records.
-
Calculate Mean (AVG) - The average of all values of a field will be calculated and displayed in the tile. Select a field the average values of which will be calculated on all records.
-
Calculate lowest value - The lowest value of all values of a field will displayed in the tile. Select a field the lowest value of which from all records will be shown.
-
Calculate highest(bigger) value - The highest value of all values of a field will displayed in the tile. Select a field the highest value of which from all records will be shown.
Caution
Aggregation methods other than the default one (counting of records) may impact performance.
-
-
Value template - Specifies the format for the value in the tile. For example, currency: $#= value.toLocaleString() #
-
Use parent layout height - Specifies whether the tile height will be adjusted to fit the layout block height. This setting is only available for dynamic tiles and may be useful for multiple tiles aligned on one line.
-
Sorting - Specifies how dynamic tiles will be sorted. Sorting by amount is based on total number of records shown on every tile. Sorting by value is based on the alphabetical or numeric order of the value of the field that is used for creating tiles. In additional, you can choose either ascending or descending sorting. Select one of the available options. This setting is available only for dynamic tiles.
-
Max. number of tiles - Specifies the maximum number of tiles that can be automatically created. This is useful if the field that you use for creating tiles may have many unique values, and you don't want the page to be overcluttered with tiles. By default, the limit is 20 tiles. This setting is available only for dynamic tiles.
-
Conditional formatting rules - Specifies rules that define formatting that will be applied to the tile title, value, background (color and image) on condition that the tile value is within the range specified in the condition. This is the same setting as conditional formatting rules for all tiles, but specific to this tile. If you set up conditional formatting rules both on the tile page (for all tiles) and on the tile levels, the conditional formatting rules on the tile page level (for all tiles) will have a higher priority. See the description of the conditional formatting rules settings above.
-
- Select the icon to add another tile and specify its settings.
-
- Select Save and publish to save the changes and publish them on the front end. Optionally, if you were editing the page, you can select Save and preview to preview how the page will look like on the front end.
Note
The layout settings of the parent layout block determine how the HTML block content will be displayed on the dashboard (on a tab, on top or below of other content elements, etc.).