Hi,
I've been stuck on this for days, I'm looking to collect a SPList Product Gallery, with a quantity text box into a collection, and then I patch the order into a different SPList.
I'm unable to collect quantity box, I've been trying filter and if functions, but I haven't managed to get it right.
SPList = ProductsGallery
I tried the following syntax
1-
ForAll(OrderGallery.AllItems, If(!IsBlank(OrderQuantity.Text),Collect(OrdersCollection, {Quantity:Value(OrderQuantity.Text)},"")))
2-
ForAll(ProductsGallery.AllItems, Filter( ProductsGallery, OrderQuantity.Text > 0 ), Collect( OrderCollection, { PLI: PLI.Text, Quantity: OrderQuantity.Text } ) )
appreciate any tips and help. thanks.