Alloy November 2024 Update
This month, we've been on a bug fixing mission 🐛. A plethora of issues have been identified and addressed to improve your overall Alloy experience.
For example: the Turn off all layers button no longer hides route geometry, NSG/NLPG imports can now be cloned successfully, and it's no longer possible to (eventually) scroll to a negative year in the calendar picker!
The update took place during the evening of the 28th November. For a full list of changes in v2.65, please visit the Alloy Changelog.
Check Link attributes in item form expressions 🔗 ⁉️
Expressions make your item forms dynamic and responsive to user input. Each control on the item form has properties such as Required, Read-only and Hidden. By targeting the output of an expression, these can change depending on the current state of the form.
You can build an expression by adding nodes and joining their inputs and outputs together. The Is Null conditional node outputs true
or false
depending on whether its input is empty or not. It's commonly joined onto a global node that fetches the value of an attribute control on the form.
Previously, the Is Null node didn't work with Alloy ID Array inputs. It therefore wasn't possible to check the contents of a Link attribute on the item being created/edited.
This has been now remedied, so you can build expressions like the one below, which fetches the value of the item's Defects attribute, checks it and outputs the result. This could be used to control the visibility of an attribute control that's only relevant for items with defects.
Please note: item form expressions aren't currently supported on Alloy Mobile. To learn more about them, check out Alloy Help.