Hello, is there any way to select what data will be able to choose from action type add? Not all of entity data I want to be able to choose. There is no type of LoadDelegate in
The AddAction opens a lookup screen, to offer the list of options.
The lookup screen is a separate screen, usually it’s a browser screen existing in your project (if the entity being picked is entity from your project).
To change the data options offered in the lookup screen, you can do the following:
- For the AddAction, implement a ScreenConfigurer delegate, or ScreenOptionsSupplier delegate. They both can be used to pass additional options to the screen. See AddAction :: Jmix Documentation
- In the lookup screen’s controller, inject the collection loader and change data loading logic, according to parameters passed to the screen.