Available fields
There are no custom fields at Collection level. Custom fields are defined by a Collection and
belong to its Items, so they are read as
item.* — see
Item Fields Reference.
collection.metadata is not a binding surface
collection.metadata exists, but it holds QRtub’s own configuration for the Collection — its field
definitions, its Link generation rule, its scan-behavior defaults. Nothing in it is a stable,
documented value to bind against, and its internal structure can change between releases.
Two paths under it deserve a specific warning, because the editor’s property picker offers them
as if they were real data:
collection.metadata.page.is_publiccollection.metadata.organizationName
false and the rule never
fires; in a Destination URL it means every binding in that URL counts as unresolved and the
Destination is skipped. If you need to know whether a Page is private, check the Collection’s
privacy setting in the interface rather than trying to read it from a binding.
When Collection fields are worth using
The honest answer is: less often than Item fields. Acollection.* value is identical for every Item in
the Collection, so it cannot identify anything. The cases where it does earn its place are:
- Passing your own grouping to another system, so a work-order URL arrives tagged with the
Collection it came from:
https://cmms.example.com/wo/new?asset={{item.item_number}}&group={{collection.name}}. - Labeling a shared Page template with
{{collection.name}}so one template reads correctly across several Collections.
item.* field. And remember that values are inserted with no URL encoding, so a Collection name
containing a space or an ampersand will break the URL it is inserted into — see
Field Bindings & URL Templates.
Related
- Field Bindings & URL Templates — the
{{ }}syntax, encoding and missing-value rules - Item Fields Reference — the
item.*catalog, including custom fields - What Is a Collection? — the entity these fields describe
- Page Privacy: Public vs. Private — where the public/private setting actually lives