Skip to main content

Collections

What are collections?

To keep things organised, items are placed into one of four collections.

Each collection can be thought of as a separate dataset within the same database, as the items inside are isolated from the rest. In most areas of Alloy, you can filter items based on their collection, so you're only dealing with the ones you want.

An item can only belong to one collection at a time, though you can usually move it to another (depending on its design).

Continuing our toy example, the illustration below shows a collection of items of the same design.

alt text

Collection types

Live

The Live collection holds items that are in active use. Typically, new items go in here by default.

Archive

If an item is no longer needed, you can move it to the Archive collection. This is typically preferable to deleting it, as the item's data and relationships are retained. Live items can remain linked to archived items and vice versa.

Items in this collection are excluded from searches and map layers (unless you specify otherwise), so it's a convenient way to shelve old data without it getting in the way of current data!

To learn more, see Archiving items in Alloy Web.

Inventory

The Inventory collection holds items that will be used in future. They can be physical assets (e.g. spare parts in a warehouse) or activities to be performed at a later date.

Template

The Template collection holds reusable "draft" items that new items can be based on. This is handy if you need to regularly create items with common attribute values!

To learn more, see Template items in Alloy Web.

Identify an item's collection

The coloured corner of an item's icon indicates which collection the item belongs to.

IconDescription
An item in the Live collection
An item in the Archive collection
An item in the Inventory collection
An item in the Template collection