Hi,
I have a 'Buildings' and 'Regions' DOM definition, where the Buildings definition has a DomInstanceFieldDescriptor to the Regions definition.
When showing a form on a low-code app to add a new building, the Region field has a drop-down which contains GUIDs i.e. the instances into the Regions definition.
Is there any easy possibility to have another field of that linked instance into the drop-down? Ideally, I'd like to show the Description column into the drop-down.
Thx
In the DOM Definition, you can define which field should be used as 'Name' for each instance. The value of that field will then automatically be shown in the dropdown menu.
If no 'Name' is specified, by default the guid is displayed.
After updating the Definition, you will likely have to recreate any existing instances for which you want to see this applied.
Hi Leander,
I believe your looking for the DomInstanceValueFieldDescriptor (see docs).
However, compared to the DomInstanceFieldDescriptor, this one also references a specific value of that DomInstance
Note that you could also define a name definition (see docs), which provides a meaningful display name for your DOM instance.
Thanks Ruben. I had the Name configured, but did not yet recreate the existing instances. After executing that, it works perfectly.