Automatic Widget Display Label population from the Domain Model Attribute definitions to enable faster development and reduce chances for error - Mendix Forum

Automatic Widget Display Label population from the Domain Model Attribute definitions to enable faster development and reduce chances for error

13

It would be great if you could define the default Label and Column label for any fields you create centrally in the Domain Model.

If Studio Pro and the runtime would use these fields (ideally dynamically retrieve them from the domain model) to show as the default label for any widgets like the text field widget or the data grid widget when you add it to a page would allow much faster page development and reduce the chance for error’s/mistakes.
And it would allow you to centrally manage field prompts/labels instead of having to update all the pages where a field is used.

When you would change the text for a label in the properties, it should no longer use the Domain Model value, which would allow this to be implemented without breaking any apps create till now.​

A blast from my past… Back in the days where I developed in Progress 4GL, between 1988-2000, you could just add this in your data dictionary and Progress 4GL would use these labels in any form you create using fields setup in the dictionary.


Some more details about this idea in a picture:
The labels shown in front of fields should be populated from the field definitions in the entity / field definition

And if you override it in the Properties, it should no longer be set from the entity attribute definition

asked
0 answers