Hi all,
Using sample Estimator Pro app as a base.
I'm able to create a collection entry using sharepoint product list data and a text input used for Quantity. But I'm unable to get the remove button to work.
Buttons available
ProductAdd
Original:
If(IsBlank(LookUp(SelectedProducts, ID=ThisItem.ID,ID)),Collect(SelectedProducts,ThisItem);
Changed it to, and it worked in adding Quantity in the collection
If(IsBlank(LookUp(SelectedProducts, ID=ThisItem.ID,ID)),Collect(SelectedProducts, AddColumns(Table(ThisItem), "Quantity", ProductGallery.Selected.QuantityNumberBox.Text)))
ProductAdded
Remove(SelectedProducts, ThisItem)
ProductAdded_1
Remove(SelectedProducts,ThisItem)
Solved! Go to Solution.
Hi @radhi-bh ,
Try
RemoveIf(
SelectedProducts,
ID=ThisItem.ID
)
I am assuming the remove icon is inside the gallery.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hi @radhi-bh ,
Try
RemoveIf(
SelectedProducts,
ID=ThisItem.ID
)
I am assuming the remove icon is inside the gallery.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Thank you so much @WarrenBelz , that got it to work - finally. And yes the remove button is hidden.
User | Count |
---|---|
236 | |
113 | |
94 | |
59 | |
31 |
User | Count |
---|---|
286 | |
132 | |
106 | |
63 | |
57 |