Hello,
I want to display list of food items depends on choice of customer in restaurant dropdown.
How I can achieve this?
Hello,
I want to display list of food items depends on choice of customer in restaurant dropdown.
How I can achieve this?
Hi @NisargaC,
What is the expected values for choice of customer? Is it something like if customer selects Veg option, you want to display veg food items and on selection of non-veg, want to display non-veg food items?
or the requirement is different?
@Srinivas_Tumati from restaurant portal, restaurant owner will add restaurant name. in customer portal dropdown customer should able to see those restaurant names and can select one. according to selected restaurant name I want to show list of food items.
Hi @NisargaC, in your scenario I am assuming you have two tables:
So, accordingly we need to create two dropdowns/autocompletes/anypickers.
Your first autocomplete will be sourced by a Dpage calling an report definition, lets say, D_RestaurantList and will store the selected restaurant in a source property, lets say, .SelectedRestaurant.
Then, your second autocomplete will be sources by another Dpage calling another report, lets say, D_RestaurantMenuList and will accept a parameter for restaurant name, which in our case will be .SelectedRestaurant. So, you’ll get those menu items which are available only for the selected restaurant.
Please let me know if this satisfies your requirement or if I am missing something here.
Thanks,
Saurabh.
@SaurabhG7134 Thank you