reference selector

0
I have a scenario in which i have two entities, Asset and Box. Box can have multiple assets. Now i want to show a boxnumber which is open while creating asset. i am using reference selector to do that but it gives me list of all boxes, i want only one box which is open. can anyone help?
asked
2 answers
3

Hi,

in the Settings of the Reference Selector, there is a tab ‘Selectable objects’. You could add a XPath constrint there, as for example 

[not(isClosed)]   which will provide you a list of the open boxes.

Hope that helps!  

answered
3

Can you provide some more details about the context in which your reference selector is? Because of the *-1 association Asset_Box ist should always only show one box but if it’s not restricted, all boxes should be selectable. To me it sounds like what you need.

answered