Filter options for a reference selector

0
Hi all,   I want to filter the options for the reference selector "Artikelnummer” based on the “Leveranciersnaam”. I only want to show the articles from the selected supplier. Is there a way to make this happen? The screens we have build so far: The select supplier screen: The add article screen:
asked
3 answers
0

Hi Jordy,

When you click on a reference selector, there is a tab ‘Selectable objects’ when you can set this restriction

 

That should do the trick, good luck!

 

answered
0

Depending on your domain model you could also use the option: ‘Constrained by’ for this.

Here is some more information on it in the documentation.

https://docs.mendix.com/refguide/reference-selector#constrained-by

answered
0

Yes there is. If you open the reference selector edit screen and go to the selectable objects screen you can either set an Xpath constraint there or you can create your own data source microflow which returns the list of objects you want selectable.

answered