Hello, I am trying to create a database with Mendix to record the locations of my devices along with some descriptions. I have two locations, and at these two locations, there are many buildings, and in every building, there are many pillars. However, my problem is that I want to first choose the location on the 'New Device' page, then the building, and finally the pillar but it working the other way around. The second problem is how can I set a combobox to show just the buildings that I have chosen for a specific location? Currently, the buildings and pillars are all shown, and not dependent on the location!
asked
Hossein Abedi Nashi
2 answers
0
Hi Hossein,
One your first question:
It looks like the location and building are greyed out which means you don't have the correct rights to select these. I think you are missing write rights on some of the associations
About your second question:
You can set your selectable objects in the combo box whenever you edit the properties, in the properties you can select also available variables in the XPath constraint.
Hope this is makes it a bit clearer,
Jurre
answered
Jurre Tanja
0
Hi, thanks for your answer, but can you please give me an example of Xpath? I tried everything but it doesn't work!