Alloy March 2023 Update

This month's update lets you do more with Alloy's existing features, particularly if you work with multiple contractors. The update took place during the evening of the 30th March. For a full list of changes in v2.45, please visit the Alloy Changelog.

Better looking AQS attributes 😎

Previously, editable AQS attributes appeared as tall dark boxes that displayed their underlying JSON code. While it was occasionally useful to edit the code directly, the box took up a fair bit of vertical space and was restricted by the limited width available.

Therefore, AQS attributes now occupy a single line like other attributes. This frees up space for up to five attributes below it, letting you see more information without scrolling.

Selecting an AQS attribute will open the query in the AQS Builder, where you can view and edit its structure and values.

To access the query's JSON code in a full-sized editor, select the { } button.

JSON attributes have undergone a similar transformation in recent months.

Process over 1000 activity items at once 📋

Creating or editing activity items (e.g. defects, jobs, job work units) requires Alloy to perform extra logic for activity-specific functionality (e.g. copying geometry from a parent asset, calculating costs).

Previously, this work was performed using Alloy's Extended API, which could process all the extra logic at the cost of performance. Unfortunately, a safety limit of 1000 items was necessary to ensure consistent service delivery.

However, over the past year, we've been working to gradually migrate these functions to the main Alloy API, which we've documented in previous announcements. With some crafty optimisations, we've been able to reproduce the same functionality at higher performance levels, to the point where the safety limit can be ditched!

Therefore, you can now create/edit over 1000 activity items in a single workflow, or by using the Alloy API directly.

Street Manager v4 🚧

Both Alloy Web and Alloy Mobile have been updated to support Street Manager v4, in accordance with legislation coming into force on 1st April.

For full details of what's changed, see this previous announcement.

Job cost calculation permissions 💵

When a user edits the Estimated Value or Actual Value attribute of a job work item, the Estimated Cost or Actual Cost attribute is recalculated accordingly.

Previously, this required the user to have read and write permission for the Cost attributes of the job work item's design.

However, if you employ contractors to carry out jobs, you probably don't want to grant them these permissions! Doing so would let them edit the cost of their work directly, irrespective of the value.

Therefore, Alloy now calculates the Cost attributes of job work items via a system process. This means that users can now update the value of their work without needing to see or edit the cost.

Custom Job Work Items on iOS 🔨

Following on from last month, custom job work items are now supported on Alloy Mobile iOS (and on Android next month).

When adding a job work item to a job, you can now choose from all designs that implement the Job Work Items interface (and which you have permission to create items for).

Support for Change Component Job Work Items is coming soon.

Edit JWIs and attach multiple images on Android 📷

Following on from last month, these two features are now available on Android in addition to iOS.

When creating a new job, you can now edit job work items as you add them. Previously, you had to finish creating the job, edit the job, and then enter values for the job work items you added.

When attaching images to an item, you can now select up to five images at once to upload them all in one go.

Street Manager v4 Support 🚧

Overview

For those of you using Alloy to interact with the government's Street Manager service, an important transition is coming up.

In May 2022, the Department of Transport released v4.0 of the Street Manager API. Since then, they've continued to maintain endpoints for both v3 and v4.

While v3 isn't being decommissioned until May/June 2023, the legislative changes in v4 will come into force on 1st April 2023, effectively compelling all users to make the switch.

Therefore, we're updating Alloy to support the current v4.15 specification ahead of this deadline.

Who will be affected

This change will affect anyone using Alloy Web or Alloy Mobile to interact with the Street Manager service.

Details

Fortunately, there are only a few changes to learn about!

New permit conditions

  • NCT09d - Changes to traffic management arrangements APPLIES TO ALL MAJOR PERMITS on Category 0, 1, and 2 streets only.
  • NCT03 – Activities ancillary to those permitted – supplementary information.

For more detail, see the Statutory guidance for highway authorities.

New Traffic Management type

A new TM Carriageway Restriction Type will be available: Temporary obstruction 15 minute delay.

Footpath Closure

A new Foothpath Closure attribute will be mandatory for all permit requests.

Emergency Contact Name and Number

New Emergency Contact Name and Emergency Contact Number attributes will be optional for most permit requests, unless the chosen Traffic Management type is Multi Way Signals or Two Way Signals.

Expected Release

30th March 2023 as part of the Alloy v2.45 release.

Alloy February 2023 Update

We've got more good stuff for you this month, including several quality-of-life improvements that are simple yet effective. The update took place during the evening of the 23rd February. For a full list of changes in v2.44, please visit the Alloy Changelog.

Read all about it

Sometimes, you want to store lots of text within a Text attribute, e.g. a description of a job, notes about an asset's condition.

By default, Text attributes are displayed as a single line. However, you can change this by editing a design's stencil and enabling the Multiline property of the attribute's control. This lets you see up to 12 lines of the attribute's text.

Previously, any text longer than 300 characters would appear truncated. While you can display the full text in a tooltip by hovering your mouse over it, this is tricky for touchscreen users.

Therefore, we've added a discreet Show More button below the last line.

Select it to display the full text in its own window.

See where attributes come from

When viewing the results of a Join query in the Data Explorer, the columns display attributes from the queried design/interface, along with attributes from one or more linked designs/interfaces.

Previously, it wasn't clear which attributes came from which design/interface, especially when viewing attributes with identical names (e.g. Title, Subtitle).

Therefore, the column header of a linked attribute now displays the design/interface it comes from, providing a clearer picture of the data in front of you.

Isolate work to specific contractors

If you employ multiple contractors, you don't want them seeing every job work item in your system, as these often contain sensitive information, e.g. how much you pay another contractor!

No problem, you can now create custom job work item types, and make each one apply to a specific contractor only.

It's simple – just create a new design that implements the Job Work Items interface, so it inherits all the necessary attributes.

You can then configure the permissions of your new design accordingly, so that only the appropriate contractor has read/write access to it.

When configuring a job in the Job Work Unit Editor, your new design will now be selectable.

However, when the job is viewed, each contractor will only see the job work items of the design that applies to them.

Customise search settings in the Job Work Unit Editor

When choosing work items in the Job Work Unit Editor, you can now customise the search settings in the same way as standard item pickers.

Remember, search settings apply per design/interface, so customising them here will affect how items of the Work Items interface are listed throughout Alloy.

Edit job work items as you add them on iOS

When creating a job in Alloy Mobile iOS, you can specify one or more job work items to represent the work to be done.

Previously, you could add the job work items, but couldn't edit their values until you'd finished creating the job and then gone back to edit it.

Now, selecting the Job Work Items field will open the new Job Work Item Editor, where you can select from a list of available work items and then edit their values before proceeding to create the job.

This feature will arrive on Android next month.

Attach multiple photos at once on iOS

When viewing an item's details in Alloy Mobile iOS, you can upload one or more file attachments directly to it.

If you choose to Add from photos, you can now select up to five photos simultaneously and attach them all in one go. Nice!

Admins can disable users

Admins can now disable user accounts in Alloy Web. This prevents a user from logging into Alloy on any platform without deleting their account, in case it needs to be re-enabled in future.

Alloy January 2023 Update

We're starting the year off with a modest update. Nothing too crazy, just a few useful improvements to make your experience better 😊 (especially on Android). The update took place during the evening of the 26th January. For a full list of changes in v2.43, please visit the Alloy Changelog.

Extend Blueprinted Designs/Interfaces with Custom Interfaces

In September, we announced the introduction of custom interfaces. For the first time, it was possible to create a new interface that one or more designs could implement, providing a way to share a single set of generic attributes across multiple custom designs.

For technical reasons, it wasn't originally possible for a blueprinted design/interface to implement a custom interface. But not anymore!

Now, a custom interface can be implemented by any design/interface, regardless of whether its Context is Core, Module or Customer.

This fully unlocks the possibilities of custom interfaces, as they can now be used to extend the hundreds of ready-made designs/interfaces available in Alloy.

Bulk Invoice Workflows

For customers with the Financial Accounts module installed, this will be a welcome announcement!

A new module is available containing two manual workflows, which can automatically generate invoices for a list of Customer Accounts or Supplier Accounts.

For each account, the workflow will find all the related job work units that have their Invoicing status set to Ready and process them all into a single Account Invoice item for that account.

The resulting Account Invoices will be left with their Status set to Draft, giving you the opportunity to double-check everything and make any changes before progressing them to Issued.

We know that some of you need to process hundreds of invoices at a time, so these new workflows will save you a lot of time and effort! If you'd like the new module to be enabled for your Alloy customer project, please contact Support.

See Nearby Items when Editing Geometry on Alloy Mobile

Previously, when creating geometry for a new item (or editing the geometry of an existing item), the map area would appear empty.

Even with the Satellite basemap enabled, being unable to see the position and shape of nearby objects could sometimes make plotting the new geometry a bit tricky.

The items on your map now remain visible when editing geometry, making it easier to draw points or polygons accurately in relation to nearby items.

The items shown respect the layer configuration of the main map and the Search Here button can be used to refresh the current view.

Multiple Improvements on Android

Alloy Mobile has received special attention on Android this month, incorporating several changes that were recently implemented for iOS.

Item Forms on Android

If a custom item form exists for a design/interface, it will now be displayed to Android users when they create or edit a corresponding item. Users will only see the attributes that the item form has controls for, listed in the order defined by the item form.

Otherwise, the standard item form will be displayed. Users will see all the design/interface's attributes, listed in chronological order.

Prevent Locked Items Being Edited on Android

In Alloy Web, items can be locked to prevent them being edited. This can be done manually via the action bar or automatically via a workflow.

When locked items get synced to Alloy Mobile Android, they now display a visual indication of their locked status if you try to edit them. Users can no longer edit the locked item’s attributes or add/remove any items associated with it (e.g. attachments, job work items, related tasks).

Read-only View of Link Attributes on Android

When an item has a Link attribute that references multiple items (e.g. a job with multiple job work items), it shows as “X selected” when viewing the item's details in Alloy Mobile Android.

Tapping this now always displays the list of referenced items, even if the attribute is set to Read-only, or your user account has Read-only permission to the attribute.

Alloy December 2022 Update

This month’s update provides a number of useful improvements across the board. The update took place during the evening of the 8th December. For a full list of changes in v2.42, please visit the Alloy Changelog.

Design/Interface Search Settings 🔍

When using the top-right Search panel to find items of a particular design or interface, there are several settings you can change to customise how searching works and how the results are displayed.

Before, these search settings were applied across all designs/interfaces. Now, they are saved per design/interface. This lets you be selective with your search customisation, so you can apply different optimisations to the designs/interfaces that are important to you.

For example, if you prefer to see Tasks sorted by their Created Time, this can now be set without affecting other designs/interfaces.

Additionally, these search settings now apply to item pickers as well, providing you with a consistent experience whenever Alloy presents you with a list of items for that design/interface.

For more details, please see this previous announcement and the Alloy User Guide.

Note: the search settings currently don't affect how Work Items or Bill Items are displayed in the Job Work Unit Editor. We're working to address this in an upcoming release.

Item Forms - New File Picker Control 📎

If you want to attach a file to an item, you no longer need to upload the file to Alloy first!

When creating/editing an item, it's now possible to upload a new file as you're configuring its Attachments attribute.

This is made possible by the availability of a new File picker control in item forms. When editing an item form for a particular design/interface, you can choose to add a File picker control for the Attachments attribute (or any Link attribute that references Files items).

When the item form is presented to a user (i.e. they create or edit an item of the relevant design/interface), selecting the File picker control will display a browsable folder structure where they can select one or more files stored within Alloy.

However, the user can also use the highlighted button to upload a new file and select it for inclusion.

Bulk Download Attachments 🖇️⬇️

When viewing an item's details, if you switch to the Attachments tab, you can now select Download all from the action bar to download all the attached files in a single zip file.

A simple but useful improvement!

Disable Module Workflows

Another simple improvement is the ability to disable any of the system workflows that appeared in your Alloy customer project after a particular module was enabled.

For example, you want to disable the Invoice Calculation workflow included with the Financial Accounts and Invoicing module because your organisation uses a custom-designed workflow instead.

When viewing the details of a workflow included with a module, you can now select Edit in the action bar and change Enabled to false, so it no longer appears in the list of runnable workflows.

Manual Workflow Output Mode

When creating a manual workflow, there's now an optional Output mode field that determines how items will be processed when the workflow is run.

The possible values are:

  • Many items - all items are processed by a single workflow (used by default).

  • One item - each item is processed separately by its own workflow. Slower but makes certain operations possible, e.g. if a workflow creates an invoice when supplied with an account’s Item ID, it will run once for each account, thereby generating an invoice for each one.

Alloy Mobile - iOS 16 Support 📱

In line with our policy to support the latest three versions of iOS, Alloy Mobile is now supported on iOS 16!

This means that we've performed a series of exhaustive tests on all aspects of the app running on iOS 16 and completed any work required to ensure stable operation. On this occasion, we only had to correct a couple of minor issues encountered when adding attachments to an item (such as a "Cancel" button appearing white on a white background).

As we take on iOS 16, we therefore say goodbye to iOS 13 👋. While Alloy Mobile can still be used on devices running iOS 13, the app will only be tested on iOS 14-16 from this point onwards. Therefore, if you were to encounter an issue on iOS 13, only basic troubleshooting support would be available.

Fortunately, all iOS 13 devices can be upgraded to iOS 15, therefore we strongly recommend doing so to receive the best experience going forward.

Pickers Now Support Search Settings 🎉

Overview

When using the top-right Search panel to find items of a particular design or interface, you can customise how item attributes are searched, the collection(s) to be searched, and how the results are ordered.

However, these search settings currently apply to all designs/interfaces. This isn’t ideal, as what may be optimal for some designs/interfaces may not be optimal for others!

Therefore, as part of our continual efforts to add flexibility and improve consistency within Alloy, we’re making two important changes in this area:

  • Search settings will be saved per design/interface.

  • Search settings will affect item pickers as well as the Search panel.

Who will be affected?

These are broad changes that will affect most Alloy users.

Details

As before, when using the Search panel, you can customise your search settings like so:

  • Select the search box, enter the name of a design/interface and press Enter.

  • In the bottom action bar, select the More icon and choose Search settings.

However, when saving these settings, they will no longer be applied to all designs/interfaces. Instead, they will only be applied to the design/interface that you’re searching in.

This means you can save different search settings for different designs/interfaces, leading to a more efficient searching experience overall.

Item pickers

Search settings will be shared between the Search panel and item pickers, so saving custom settings for a design/interface in one will affect the other.

For example, imagine you’re creating a defect. In Step 2 of the procedure, you’re prompted to select the asset(s) you want to create a defect against. An item picker appears showing items of the Defects Assignable interface.

The items listed by the picker are subject to the same search settings as the Search panel. To access those settings, you can select the new cog icon (outlined in red above).

The orange dot over the icon indicates that custom settings have already been set for the design/interface being searched, which will affect the appearance and order of items shown in the picker.

Expected Release Date

8th December 2022 as part of the Alloy v2.42 release.

Alloy October 2022 Update

This month’s update provides item form improvements, the ability to attach files directly to permit applications, and a brand new map tool! The update took place during the evening of the 27th October. For a full list of changes in v2.41, please visit the Alloy Changelog.

New Measure Tool 📐

You asked for it, you’ve got it!

Alloy has a new Measure tool that can accurately measure the length between two points, the total length between multiple points, and the area of a closed shape.

It’s simple to use – just select the tool and then select two points on the map to draw a line between them. Continue selecting points to draw more lines. The length of each line is calculated and displayed in real-time, as is the total Length displayed in the bottom-left corner.

Double-select the last point to finish your initial drawing. If you do this over the first point, the Area of your closed shape will also be displayed.

You can then adjust your drawing by dragging any of its points, or adding new points along any of its lines.

This new tool will no doubt prove useful across many different service areas and reduces the need to visit sites, saving considerable time, costs and emissions.

Item Form Improvements

We’re continuing to improve the new item forms feature, which makes it possible to customise the form that users fill in when creating or editing items of a particular design/interface (introduced in the Alloy September 2022 Update).

New label property

All item form controls now have a Label property, which lets you set a display name for the control. If left blank, the attribute's name will be used.

New Multiline control

When adding a Text attribute to an item form, you can now choose a Multiline text input control. Unlike the standard Text input control, this new control can display multiple lines of text at once.

When a user selects the field on the form, a large text box will appear for them to write into.

New Super Globals

First, some background information!

We’re gradually improving support for expressions in item forms. An expression takes zero or more inputs, performs one or more logical operations, and produces one output. By utilising expressions, item forms can be context-sensitive and react to user input.

When configuring a control on an item form, you can target any of its properties to the output of a saved expression. This lets a property react to the status of other controls within the item form, e.g. make a read-only control writable if a Checkbox control is checked

Super globals are effectively system-wide variables that can be referenced in expressions. They make it possible for a property to react to the status of many other things in Alloy. For example:

  • details of the current user (e.g. name, username, email address, item ID)
  • details of the current item form (e.g. name, code, whether it’s operating in Create or Edit mode)
  • details of the item being created/edited (e.g. item ID, design name and code, collection, parent item ID)

For a full list, see the Alloy User Guide.

This opens up all sorts of possibilities!

For example, imagine your item form has an Item picker control that displays the lookup list for a Link attribute. Using the power of expressions and super globals, it could now be configured to only list items with the same parent as the item being created/edited by the form. We know this is something many of you have wanted for a while!

While expressions remain developer-focused for now, this is an important part of ongoing efforts to develop the feature. We plan to make expressions available to a wider audience when we release a user-friendly expression builder in the not-too-distant future.

Indicate Required Attributes *️

Previously, when creating/editing an item, Alloy displayed all of the required attributes and hid the others behind a Show Options button. With the introduction of item forms, this behaviour has had to change.

Therefore, Alloy now marks any required attribute with an orange asterisk. This happens automatically, regardless of whether an item form is created for a design/interface or not.

Attachments for Permit Applications📎

For Street Works users, applying for permits is a regular procedure. Permits often require supporting documents and photos. While permits can have file attachments, you could only add them after the permit was created. This was a bit of a hassle!

Therefore, we’ve now added an optional Attachments step to the permit application itself, so you no longer have to spend extra time attaching files afterwards.

New Rounds setting on Alloy Mobile Android

In response to customer feedback, we’ve added a new Go to rounds on login setting to Alloy Mobile on Android.

If enabled, the app will automatically show the Rounds panel after logging in. This happens immediately, so you don't need to wait for the automatic sync to finish (your Rounds will refresh afterwards).

This will be especially useful for vehicle-based users who seek to minimise time spent between tasks.


Alloy September 2022 Update #2

The second update for September contains some useful improvements to Alloy Mobile iOS. The update was applied during the evening of the 29th September. For a full list of changes in v2.40, please visit the Alloy Changelog.

Note: the same functionality is planned for Alloy Mobile Android users.

Item Forms on Mobile iOS

In the previous update, we introduced item forms for Alloy Web. This new feature makes it possible to customise the form that users fill in when creating or editing items of a particular design/interface. For more information, see Alloy September 2022 Update.

In this update, item forms are now supported on Alloy Mobile iOS.

If a custom item form exists for a design/interface, it will be displayed to users automatically when creating or editing a corresponding item. As a result, users will only see attributes that the item form has controls for, displayed in the order defined by the item form.

If multiple item forms exist for a design/interface, Alloy will choose the one most relevant to the user’s situation. For example, an item form tagged as Mobile will be prioritised over one tagged All platforms.

If no custom item forms exist for a design/interface, Alloy will display the standard view (all attributes in stencil or creation order).

Prevent Locked Items Being Edited on Mobile iOS

In Alloy Web, items can be locked to prevent them being edited. This can be done manually via the action bar or automatically via a workflow.

When locked items get synced to Alloy Mobile iOS, they will now display a visual indication of their locked status if you try to edit them.

It’s therefore no longer possible to edit a locked item’s attributes or add/remove any items associated with it, such as attachments, job work items, or related tasks.

Read-only View of Link Attributes on Mobile iOS

If an item has a Link attribute that references multiple items (e.g. a job with multiple job work items), the attribute’s field will show X selected when the item’s details are viewed in Alloy Mobile iOS.

Tapping the attribute will display the list of linked items.

Previously, it was only possible to do this if the attribute was writeable. Therefore, if your user account only had Read only permission to the attribute, or the attribute’s Read only property was enabled, you couldn't see the linked items.

This has now been resolved, so tapping a Link attribute will always display the items it links to.

Alloy September Update 2022

We’ve got some exciting new features to showcase in this month’s Alloy update! The release will be applied during the evening of 1st September 2022. For a full list of changes, please visit the Alloy Changelog.

Item Forms

This is a big one! We’re pleased to announce that you can now customise the form that users fill in when creating/editing items.

Item forms can be created for any design/interface and provide a wealth of ways to customise data entry, which can improve save time and improve efficiency.

Using the new Item Form builder, you can add attribute controls to your form. Start with a blank canvas and add controls as required, or start with the default controls and remove as required.

Either way, Alloy warns you if the form is missing a control for a required attribute, and you can fix it with a single click.

Some things you can do with the Item Form builder are:

  • specify the order of attributes
  • show or hide an attribute
  • make an optional attribute required
  • override an attribute’s default value
  • make an attribute read-only
  • use AQS to sort and filter items in the lookup list of a link attribute

If this reminds you of stencils, there are indeed some similarities! However, a stencil customises how an item looks when viewing it, whereas an item form customises how data can be inputted into an item when creating/editing it.

Item forms aren't supported on Alloy Mobile just yet (users will see the default form instead) but this is coming soon.

Stay tuned for improvements and enhancements to item forms over the coming months!

Custom Interfaces

Another major new feature is the ability to edit interfaces and even create your own!

An interface is similar to a design but can be implemented by other designs/interfaces. This lets you define a group of generic attributes. Anything that implements the interface will inherit those attributes, as if they were their own.

For example, you could create a Playground Assets interface, which is implemented by more specific designs such as Swing and Slide. These will inherit the generic Playground Assets attributes alongside their own specific attributes.

Interfaces also provide a way to address multiple designs/interfaces at once. This is useful when working with things like:

  • map layers
  • AQS queries
  • workflows
  • reports

Targeting one interface instead of multiple designs saves you time and avoids repetition. Additionally, any future designs can be included by simply implementing the target interface, avoiding the need to go back and edit things.

We’re looking forward to seeing how everyone uses this powerful new feature!

Colour-coded Report Builder Controls

In the Report builder, controls now display a pill shape representing the control’s Label and Value fields. Pills are colour-coded depending on whether the field’s set value is dynamic (green), constant (blue), calculated (orange) or not set (white).

This gives you an indication of how your controls are configured at a glance. It also makes it a bit easier to set a control’s Label or Value, as you can now select the corresponding pill directly.

Bulk Trigger Manual Workflows

In May, we announced the ability to trigger a manual workflow for a single item. As of this release, you can now trigger a workflow on multiple items of the same type.

Select your items in Data explorer and perform a Bulk action as normal. Choose the new Trigger workflow option and select the desired workflow from the list.

Geometry Import Issues

Context

As you may be aware, we have been facing an issue with importing geometry data through the Gateway using the Alloy Web Client. Currently, when a coordinate system is selected, all rows with geometry in an import will return a warning and will not be imported correctly. This has been due to a change to a third-party service which supplies projection settings used by the Alloy Web Client.

This is an ongoing issue and has not yet been resolved, however, in an effort to allow a workaround for this issue, we have altered the coordinate system selection to display the conversion (proj4) string.

Workaround

To select your data file's coordinate system, click the magnifying glass icon to bring up the picker and select from the list.

This populates the Coordinate system text box with the configuration string for your selected coordinate system. This string is currently being formed incorrectly and removing the text +type=crs at the end of the string, will resolve this import issue.

We understand that this solution is not ideal, and are working on a long-term fix, but in the meantime, we have introduced this change to allow you to continue importing your data.

Show Previous EntriesShow Previous Entries