Enterprise Application Development

Fast Modeling, Responsive Design, One-Button Deploy

BOOK a Demo

Economic theory-based business modeling

Resources, Events, Agents

BOOK a Demo
OMNIA – Low-Code Business Application Development Platform

New feature: Inputs on Dashboards
Posted March 5th, 2020

New feature: Inputs on Dashboards

Posted March 5th, 2020

Following our previous post with our new list improvements, today we are happy to announce a great improvement to OMNIA dashboards: the possibility of adding inputs.

This new feature allows more complex scenarios, where users can introduce information that will be used by other dashboard elements to show only the data that the user is looking for.

Let’s see a simple example. Below we have a dashboard that details sales information for a given customer within a time period. On this scenario, we receive the filters value from the user before showing any information.

Β 

On the example above we can see that when the user enters the dashboard, there is no data loaded. The user inserts the customer and the date range, and when Apply Filters button is clicked, the list and charts are loaded with data.

The addition of inputs to dashboards is as simple as adding any other dashboard element, like lists or webcomponents. Inputs can be of any type supported by the platform, from simple text to multi-value reference types.

Then, you can create your UI Behaviours to change these inputs metadata and use its value. On the example below, we can see how the customer input is used to apply a filter to a list:


//apply filter to saleDetails list
if(this.customer)
    this._metadata.elements.saleDetails.attributes["filters"] = {
            customer : { operator : "EqualTo", value : this.customer }
    };
else
    this._metadata.elements.saleDetails.attributes["filters"] = {}; 

Click here to download the sample model from out Github Repository. Then you just need to import the model to a new tenant, insert new data by adding Orders and enjoy.

Feel free to check our documentation to view how to add inputs to dashboards and samples of how you can use them on UI Behaviours.

Platform Update and Documentation

This new feature is part of our 3.4.80 version of the platform.

πŸ“„Β Documentation

βœ‰ Signup for our Newsletter to get our weekly news