Default values for Static Entity references
1648
Views
6
Comments
On our RadarOn our Radar
Backend
When making an attribute in an entity that is a reference to a Static Entity, we need to be able to set the default value. Otherwise, when you deploy to an existing application, you need to find a way to set the value, such as manually editing the database or creating a one-time timer to set the values.
Merged this idea with 'Define the Default value for attributes referencing a static entity' (created on 02 Sep 2015 13:02:58 by Sophia Retief)

I would like to be able to define the default value for an entity, for attributes that reference static entities.  Also on all my static entities I usually have one record which will generallly be the default.  It would be great if this record could then be added as default whenever used.
Sure, a bit strange that this is not possible.
If, say, 90%+ of your data has a certain value, you want to use that as a system wide default.

Without an entity default you have to set the default programmatically in every applicable screen.
Not nice for now (more work), even worse if it ever changes: you have to track down and change all code where this has been done :-(
Well... actually the problem is that we can't set the Default Value property for any FK attribute of an entity, not only Static Entities, I dont know why (I really wish to know).

This would be very helpful. It's on the radar but this idea is several years old. When can we expect this to be included in a new release? @OutSystems