Type of metadata
OptionalcustomCustom data. Can be any JSON structure. Do not store large data structures as it will be stored in the database. It is possible to create BimChangeMetadataQuery queries for this data. *
// customData was set to '{ "photo": { "type": "360", "height": 1024, "width": 2048 } }' when change was uploaded.
const changes = await api.getChanges(container, { query: "customData.photo.type=360" });
It is intentionally not possible assign a array directly to customData. It is possible to assign arrays to a nested properties though.
Description
The default Metadata for a change (file/attachment) that is about to be uploaded.