Alloy September 2023 Update
This month brings temporary map layers, automatic map refresh on Mobile, and some delicious new item form expression nodes. The update took place during the evening of the 28th September. For a full list of changes in v2.51, please visit the Alloy Changelog.
Show Data Explorer results on the map 🗺️
Ever wanted to quickly view a set of query results on the map, without having to create a layer?
Well, now you can! In the Data Explorer, select the bottom-right menu and choose Show on map to create a temporary layer containing all the resulting items from the current query tab (providing their Geometry attribute is populated).
The temporary layer will remain until you log out or select its X button in the Layers panel.
Include item links in a workflow SMS 🔗
When building a workflow, you can add a Message action node to the sequence and configure it to send an SMS to the provided phone number.
If you populate the action's Linked Items attribute, the SMS will now contain a direct link to each item stored in the attribute.
New Conditional expression nodes ❔
Oh, we're not done yet 😎. Here comes another barrelful of item form expression nodes!
This month, we've added many new types of Conditional node to the Item Form Expression Builder. These act as logical functions that compare values from other nodes and produce corresponding output:
- AND - if both inputs are
true
, outputtrue
. - OR - if at least one input is
true
, outputtrue
. - Contains - if input A contains input B, output
true
. - Greater Than - if input A is greater than input B, output
true
. - Less Than - if input A is less than input B, output
true
. - Match - if string A matches the regular expression stored in string B, output
true
. - Is Null - if the input is
null
(e.g. a form control is empty), outputtrue
.
In addition, we've added some "IF statement" conditional nodes for each data type, which effectively operate like this:
IF the input boolean is true
THEN output value1
ELSE output value2
.
For example, the Number conditional node will output one of two input numbers, depending on whether the input boolean is true or false.
These new conditionals provide a massive boost to the power of expressions, enabling you to weave potentially complex logic into the behaviour of your item forms. For a complete list of node types, see Alloy Help.
Optimised drag sensitivity ⏺️ ➡️
We've recently been experimenting with the sensitivity of drag-and-drop in Alloy Web. That is, how long do you need to select and hold something before you can drag it (such as controls in the Item Form Builder)?
Everyone has a different feel for this, so it can be tricky to find a level that most people are comfortable with.
We think we've got it tweaked just right now. However, if dragging things doesn't feel right to you, please contact Support with your feedback.
Automatic map refresh for filtered items on Mobile 🗺️
In Alloy Mobile, you can filter tasks according to their status and whether they're assigned to you or your team.
To update the map accordingly, so that it only displays the filtered tasks, you had to select the Search Here button.
Now, the map refreshes automatically whenever you change the filters, to ensure that you're always looking at the correct items.