Outputs from widgets
#experienceBuilder
#outputs
In ArcGIS Experience Builder, the "Outputs" section you're seeing in the data selection panel represents the result of actions or processes derived from other widgets or tools within the app. These outputs often come from calculations, queries, or statistics created by other elements in the app, like charts, filters, or data processing widgets.
### Simple Examples:
1. **Chart Widget Output**:
You create a bar chart that shows the total number of fire alarms installed per region. The chart aggregates this data, and the output would be a summary of those total counts per region. You could use this output to populate a list widget showing top-performing regions or any statistics summaries.
2. **Query Widget Output**:
If you set up a query where users can filter the fire alarm data by date, the output of this query is the result of the user’s selection. For example, it might return all installations from 2020 to 2023. The output could then be used to display results in a table or list.
### Fancy Examples:
1. **Dynamic Chart-Driven Filtering**:
Imagine you have multiple linked charts showing various aspects of fire alarm installations—number of alarms, types of homes, and population demographics. The output of these charts (totals and statistics) could then be used to dynamically filter other widgets like a map or table. For example, clicking on a segment of the chart representing senior homes would filter the map to only show locations with senior residents.
2. **Custom Calculations Using Arcade Expressions**:
If you're running custom calculations within widgets using Arcade (a scripting language in ArcGIS), the result of these calculations can be used as an output. For example, if you calculate the percentage increase in fire alarms installed year-over-year, the output could display this trend in a text widget or be used to drive conditional visibility in the app (e.g., showing alerts when the installation rate drops below a certain threshold).
3. **Conditional Actions Based on Outputs**:
You could configure a list or map to trigger different actions based on outputs. For instance, if a user filters the data to show only homes with children, the output from this filter could update other widgets to display child-focused safety information, or open a pop-up with recommendations for child-safe fire alarm installations.
By using outputs effectively, you can create highly dynamic, responsive applications that offer users more control and insights based on real-time data and interactions.