How to fix a Domain Model where only one Table/ Entity works?
0
Hello, I've created a Mendix program for my company with a domain model. Initially, I intended to use one large table to store all the required data, such as factory, station, building, and personnel. However, I now plan to utilize separate tables or entities for more advanced programming. Unfortunately, when I attempt to access data from these smaller tables, the dropdown menus associated with them become unresponsive. It's challenging to explain the issue in detail here, but in essence, my program functions correctly with data from the larger table. However, it fails to interact with data from the smaller tables. For illustrative purposes, I've attached a screenshot of a locked dropdown menu caused by referencing an enumeration from a smaller table. Could you kindly provide guidance on how to resolve this issue and effectively use data from multiple tables within my Mendix program? Thank you for your assistance. Because im german its possible that people wont understand the domain model, if so please contact me :) Note: I tried using a reference selector which shows an emtpy dropdown and when i use the normal dropdown (i use a data view inside a data view so it works) it locks the whole dropdown as shown in the pictures above. I will attach a picture for better understanding
asked
Marvin Sprenger
3 answers
0
Sounds like an entity access problem. Have you configured the correct read/write rights in your domain model on the associations?
answered
Rick van den Bergh
0
If you have a lot of options they all will be retrieved and block your browser, use the ComboBox widget
BTW did you add constraints on the options? Select only 'Stations' connected to selected 'Gebaude' ?
answered
Chris de Gelder
0
Does your referencing entity have data?
Could you share a screenshot of the attribute properties (right-click on the attribute in the data view -> properties) where you're encountering the issue? Your setup seems straightforward and shouldn’t have any problems. If you need quick support, feel free to drop me an email, and I can take a closer look at your setup.