Computed Name
How to compute a name, for Things that don't have their own names --
Collection:
Required Type:
Text Type Most Things in Querki use the Name Property to set a name for this specific Thing.
But that sometimes isn't appropriate, especially for "child" Things that are providing more detail
to a "parent". In those cases, you often would like to still be able to display links to the child
in a way that is clearer than an Object ID like ".3y286ks".
Computed Name exists for this sort of situation. This is a Text Property, which you usually define
as a Model Property for the Child Model, to give this Child a pseudo-name based on its properties.
For example, to show a name based on the Parent and the Child's "My Date" Property, you would set
Computed Name to [[Parent -> Name]]-[[My Date]]
.
The resulting displayed name is only as unique as you make it. Try to use a combination of Properties
that will consistently result in a unique name, to make it clear which Thing is which.
If you are using Computed Name on your Model, odds are that you are not using Name. In this case, you
should seriously consider unchecking the Derive the Link Name from the Name
checkbox in your Model's
design. This will allow you to set explicit Link Names for your instances, which are sometimes more
appropriate if you want to link to those instances from outside the Space. (Note that OIDs are globally
unique, and will never be re-used -- so if you extract an App from the Space, or export/re-import the
Space, it will assign new OIDs. Link Names are only unique within this particular Space.)
This is a pretty advanced Property, and only recommended for relatively complex Spaces.