Hi Amit Kumar,
You can use the Bootstrap Multi Select widget
I hope you have selected the root entity instead of selecting the referenced entity. Please update your Multi Select Source configuration as your reference set entity
If you want to select multiple product, you could try input reference set selector. In the selectable objects tab of input reference selector widget you can enter your XPATH constraints to filter on the products. Note: there is also a constrained by field you can use to filter if applicable.
So per orderline you could select multiple Products. For the input reference selector you can generate a page which shows list of Products in a datagrid, where you can choose for multiple selection.
Once you select the products, the list of products selected will be shown in the input text field.
Although, your approach is slightly confusing me.
Please find the below configuration,
Update your domain model with *-* association between Product and Orderline
Update configuration for Bootstrap Multi select
Update the datasource for this widget as microflow (to display the products based on the category selected)
Add the below microflow as datasource
Then finally add a refresh microflow to the category selection reference selector to update the product dropdown based on the category
Hope this helps, Thanks!
This is the error I am getting after configured bootstrap multi select widget.
I am new in mendix and didnt get you exactly. I am uploading my test App. please guide me what is wrong and need to correct.
Dont see option to upload test project so sending screen with explanation.
Page on which i need implement BoothStrap Multi selection
On the above page, product are coming based on the category selection. so first we have to add new categories & new products from the navigation links then add Orders from All Orders page of Navigation.
I want the feature wherein user should be able to add multiple products based on selected category so products dropdown should be multi selection dropdown.
Please help me to guide to acheive this implementation.
thanks u vry much Ananthi. i’ll follow this and update you.
It’s working for me. Thanks a lot for your help. But wanted to know that, why do we have to created microflow to retrieve product list on bootstrap multi select. Why was not able to achieve it thru XPath?