Alloy August 2023 Update
This month sees the addition of some highly requested quality-of-life improvements, along with more node types for the Item Form Expression Builder. The update took place during the evening of the 31st August. For a full list of changes in v2.50, please visit the Alloy Changelog.
Turn off all layers 🗺️
Alloy lets you create any number of layers and layer styles, providing you with limitless ways of overlaying different items on the map. Therefore, many organisations have crafted hundreds of custom layers to represent their item data in various ways.
Sometimes, you want to clear the map to focus your attention. Previously, this meant having to scroll through all those layers in the Layers panel, turning off the enabled ones as you go. This could be a real hassle in large organisations.
But no longer! We've added a button to the action bar that lets you Turn off all layers. Bam, the map is now empty and ready for you to enable just the layers you want to see.
Improved sorting in Data Explorer ↕️
When viewing a query in the Data Explorer, you can select any column header to sort the results by that attribute.
Previously, after selecting a column header once, it wasn't possible to unsort the results again. Selecting the column header would only switch between Sort ascending and Sort descending.
Now, selecting the column header a third time will cancel the sort.
New Date and Date Time expression nodes 📆 🕘
In May, we released the Item Form Expression Builder, to help you harness the power of codeless expressions and make your item forms responsive to user input. We're continuing to expand this feature by adding more node types.
This month, we've added two new sets of Date and Date Time node types to the top bar. Broadly speaking, they let you:
- add unit values to a date/time
- subtract unit values from a date/time
- construct a date/time from multiple unit values
- calculate the difference between two dates/times
- extract a unit value from a date/time
This makes it possible for item forms to generate and display dynamic dates and times.
For example, imagine a Highway Jobs item form that automatically populates the Target Time attribute with a value 14 days from now. It could even apply different increments depending on the selected Priority value!
This would give the user immediate feedback on when the job is expected to be completed.
New "Is Triggering" expression node 🔫
We've also added a new global node type to the Item Form Expression Builder.
The new Is Triggering node checks whether the expression was triggered by the selected control property (or Alloy global variable) and outputs a corresponding boolean value.
In other words, this lets you create an expression that can produce different final outputs depending on how it was triggered. This adds a whole new dimension of conditional behaviour to item forms!
For example, imagine an item form with a Checkbox control and two Number controls. The Checkbox's Value property targets an expression that outputs "true" when the Value properties of the two Number controls are equal. However, thanks to an Is Triggering node, the expression can only output "true" when the second Number control is updated.
Now available in French 🥐
Alloy has been translated! If your web browser's language is set to French, Alloy will now automatically display in French. Où est la bibliothèque?
Fun fact: Alloy is also available in Dutch, German and Spanish 😮
Warning when replacing data ⚠️
When configuring an import in Gateway, you can set it to operate in Replace mode. This will delete all items in the selected design before replacing them with the import items.
This wasn't made clear enough previously, so we've revised our documentation and Alloy will now display clear warnings when selecting Replace and again before the point of no return.
Optimised asset creation on Android ⚡
In Alloy Mobile, you can register new assets while out in the field. Naturally, this involves choosing the design of the asset you want to create.
Previously, the app would list all the asset designs in your organisation. As this typically ranges in the hundreds, you'd often end up doing lots of scrolling to reach the one you want.
Now, the app will only list the asset designs that you have permission to create, resulting in a shorter list that's easier to select from.