New Items Metadata Interface
Overview
We have added a new Interface designInterfaces_itemsMetadata
to Alloy Core Blueprints. This interface has four attributes, which allow you to see the username of the user who created or last edited an item, as well as create/last edit date and time.
Who will be affected?
All existing customers will be upgraded to gain access to this new interface. As this interface is part of Alloy Core, all new customers will have access to this interface by default.
Details
For users wishing to see metadata on your custom design items, the design will need to be updated to implement designInterfaces_itemsMetadata
.
Four new attributes added by this interface are:
- Created By:
attributes_itemsMetadataCreatedBy
the username of the user who created the item - Created Time:
attributes_itemsMetadataCreatedTime
the item created date and time - Last Edit By:
attributes_itemsMetadataLastEditBy
the username of the user who edited this item last - Last Edit Time:
attributes_itemsMetadataLastEditTime
the item last edit date and time
All of the above attributes are computed automatically by the Alloy Engine on item creation and each item edit. They will then be available to view listed alongside other existing item attributes on the design.
Use Case
Once this interface is added to a design, the new attributes could be used within the templates for title/subtitle as usual. For example, if users want to quickly see who created a job they are working on, they could edit their job design title to something like
JOB-{{attributes_jobsJobNumber}}:{{attributes_itemsMetadataCreatedBy}}
This would then appear on each item title as JOB-123:johnsmith
where johnsmith
is the username of the user who created that job.