Diagram Tiles
  • 02 Nov 2022
  • 1 Minute to read
  • Dark
    Light

Diagram Tiles

  • Dark
    Light

Article Summary

Example Lab Article
While Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released.


Overview

Example Lab Details

Version6.9.2
Root FolderExample Lab - Diagram Tile
Modules None
DependenciesNone

This Example Lab project demonstrates how to create a diagram tile that displays a count of current user accounts.


Explanation

This project displays a tile with a count of current accounts on the user's local Decisions instance. The tile design and style are created using the Example Tile Flow. Here you could change the shape, font, background color, etc., for the actual tile's look and feel. You can also set up an action to be executed when clicking the tile displayed on the page. In this example, there is an action setup that, when executed, runs the Flow "Display Account." This Flow uses the Fetch Entities step to get the account data and then displays a customized portion of that data in a Form using the Data Grid Form component. In this Form view, you can see each account included in the total count and some relevant data associated with each account. 

The actual count displayed in the middle of the tile is acquired using the Dash Page Input Flow. This Flow again uses the Fetch Entities step to acquire the user's account data. The Flow will then continue to the Create Data step. Whether the Fetch Entities step acquired results or not, the Create Data step will either pass the count of all accounts or the default value of zero as the output of the Flow. The Flow's output is then populate the text in the Example Tile displayed on the Page.

Reference Articles



Project Download

The examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production-quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version 6.9.2 or later using our Importing/Exporting article.





Was this article helpful?