Alloy June 2025 Update
Summer is starting 🌞 and we've got some good stuff lined up for you, including several new Alloy App features and a plethora of miscellaneous improvements and fixes. The update took place during the evening of the 26th of June. For a full list of changes, see v2.73 in the Alloy Changelog.
Filter the items on a board ▼
The Boards app lets you display items of a design/interface, grouped into columns according to the value they hold for a target attribute. Dragging an item between columns changes its attribute value accordingly. This provides a great way to visualise and manage the state or progress of those items.
For example, the board below targets the Teams attribute on the Waste Jobs design. It has a column for each team, plus an "Unconnected" column for items where the attribute is empty. Allocate jobs by dragging them from this column into a team column (an event workflow automatically updates the job status to "Issued").
But what about jobs that are cancelled or on hold? You don't want them appearing on the board.
Well, you can now edit the board's underlying query to filter the items shown! When creating or editing the board, select Filter query. Use the AQS Builder to add any number of conditions that items must fulfil to appear, e.g. only fetch items whose Status attribute is "Proposed" and "Issued".
Create items in Data Explorer ➕
The new Data Explorer app provides many quality-of-life enhancements over Alloy Classic, including improved tab management, simplified attribute selection and linked item previews. The new floating toolbar makes it easy to perform various actions on the current query or selected items.
In response to user feedback, we've added a new Create item button to the floating toolbar. This provides a quick way to create an item that fits the current query. The Item Creator window will suggest one or more relevant designs, depending on whether the query targets a design or interface.
Customisable map widgets 🗺️
The Workspaces app lets you create dashboards that collate data from multiple sources, providing key information at a glance and quick access to those sources from one convenient place.
A workspace has a number of widgets containing a number of query data points. Each data point displays an item count and can be opened in a relevant Alloy app, making it easy to work with those item sets in various ways.
If a widget has Show map enabled, its data point items are displayed on a customisable map area. You can set the underlying basemap and select any additional layers to display alongside the data point items, providing geographical context to your data.
It's now possible to define the bounding box of a map widget! Draw a box to define the initial area displayed by the map. This ensures that the widget is always focused on what's important when the workspace is opened. Users can then zoom and pan around as needed.
Create item canvas views from a template 📋→🆕
The item canvas is foundational to the Alloy Apps. When you open an item, its details are displayed across multiple item canvas sections. Each section displays a distinct set of data or a list of related items. Thanks to its flexible grid layout, the item canvas can shrink to fit the available space, or expand to show more information at once.
The Designer app lets admins create custom item canvas views for specific designs/interfaces. This provides full control over the visibility, ordering and configuration of canvas sections shown for corresponding items. Multiple canvas views can be created for a single design/interface, which users can switch between according to their preference or circumstance.
You can now create an item canvas view from a template! Once a canvas view is moved to the Template collection, it can serve as the basis for other canvas views. This makes it easy to reuse established layouts and quickly produce canvas views for related designs/interfaces.
For example, you could create a canvas view for the Jobs interface, which would apply to all job items. You could then use it as a template for creating similar canvas views that are tailored to specific job designs.
Default AQS parameters
Whenever you need to create a query in Alloy, the AQS Builder appears to help you. Whether you're familiar with database query languages or not, anyone can use this tool to leverage the power of AQS and fetch data with precision.
In many scenarios, the AQS Builder now provides one or more default parameters. A parameter is a placeholder that is substituted with a value when the query runs. By including one of these in a query (or a parameter you've defined yourself), it's possible for the query to fetch different data in different contexts:
- Current item ID – available when editing the query of an item form control. It represents the ID of the item being viewed or edited via the item form. This can be used to fetch items related to that item, enabling fields on the form to display context-sensitive lookup results.
- Current user ID - available in most scenarios where it makes sense. It represents the ID of the currently signed in user. This can be used to fetch items related to that user.
For example, the query below fetches all jobs assigned to teams the user belongs to. For each job, it navigates to the related team, then its team members, then their users, and compares each user's ID with the Current user ID parameter.