Hi,
I have two tables, Product and Product Category, in Dataverse and there is a many-to-many relationship between two tables. I used the out-of-the-box many-to-many relationship. In the Product table, I have two columns, productName (text type) and productImage (image data type). In Product Category table, I have a column called category (text type).
I created a canvas app with a gallery and a combo box. The gallery is used to list the related products of the selected category in the combo box.
I set the gallery's items property comboBox.Selected.Products. When the canvas app is initially displayed, nothing is shown in the product gallery. If I select a category from the combo box, related products are shown.
My requirements:
The gallery should show all of the products if no category has been selected in the combo box. If a category is selected, show all related products.
How do fill the products in the gallery based on the selected category in the combo box?
I am totally new canvas app.
Thanks