Adding User Data via Dashboard
  • 12 Mar 2021
  • 1 Minute to read
  • Dark
    Light

Adding User Data via Dashboard

  • 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.4.0
Root FolderExample Lab - Add Items via Dashboard
Modules None
DependenciesNone

This Example Lab project demonstrates how to edit a defined data structure through a user dashboard interface while maintaining a total count of items using a tile.


Explanation

This example uses a list of animals and their quantities as entities to be added to a data structure. In order to add more items to the list, the dashboard uses a "Flow Run Part" to run the Flow "Add Data in Dashboard". This Flow first displays a Form, so that Form will be visible in the dashboard. The Form displayed requests the user to input and animal and the quantity of that animal. Upon the user entering this information and clicking the Add button the data will be updated by the Flow using the "Save" step. and the new animal and quantity will be displayed in the report displayed in the dashboard. The report will automatically be refreshed because the "Add Data in Dashboard" Flow ends with the "Send Folder Change event" step. 

The total animal count is calculated by using the "Fetch Entities" step. This step will fetch a list of all items stored in the data structure and output a count of these items. That count is then passed into the "Create Tile Data" step which displays the count in the dashboard.

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.4.0 or later using our Importing/Exporting article.





Was this article helpful?