i created a @NamePattern in studio for a base class i created “ReferenceDataEntity”. It works great within the application. In studio however there is a problem with the view creation:
I created the entites:
ReferenceDataEntity (MappedSuperclass) with @NamePattern
Country (extends ReferenceDataEntity) without @NamePattern
Customer (has N:1 association to Country)
When i created a view for the customer class in order to add the country attribute to it, it does not get recognized the named pattern and therefore although it uses the “_minimal”, does not automatically checks the corresponding attributes (“code” and “name”).
Attached you’ll find the example project (with the “wrong” view).
Hi,
At the time, platform does not support inheritance of name pattern.
Specify a name pattern for ‘Country’, and selection of the ‘_minimal’ view for it will take effect.
well, what i wanted to show is that in the application it worked quite well. I attached the project with generated screens but without specifying the @NamePattern in the Country class. In the customer-view the country attribute is selected with the minimal view. In the customer editor you’ll see it in action.
As i see it, only Studio does not really understand it, but the framework is capable of handling the scenario, or am i wrong on that?