Announcements
Hello, I have a problem, I would like to create a button outside the gallery that would be used to add all filled input fields to the collection called liczba. I went in that direction but it didn't work
ForAll(Zamowienie_lista.AllItems; Collect(Zamowienie; {liczba}))
@pablik01 ClearCollect(liczba, Zamowienie_lista.AllItems)
not working
I did something like this
Collect(Zamowienie;{Liczba:liczba.Text})
but he only adds the last item that I entered (and I want him to add all that are filled in), I also need him to add a few more columns assigned to this number.
in short, I want it to do what the button does next to each row in the gallery only globally. This is the button code on the line:
Collect(Zamowienie;{Grupa:ThisItem.Grupa;Nazwa:ThisItem.'Nazwa asortymentu';Liczba:liczba.Text;Jednostka:ThisItem.'j.m.';Ind:ThisItem.Indeks});;
@pablik01
Funny, it works for me. The gallery on the left is used by the button for creating the collection which is shown in the datatable on the right
for me he is shouting that ClearCollet should be a collection
I need those inputText fields that are filled in to end up in a collection called Zamowienie. together with the other two columns (I download the data from the excel sheet)
GOT IT!
ForAll(Filter(Asortyment_lista.AllItems;Value(liczba.Text)>0);Collect(Zamowienie;{Nazwa:'Nazwa asortymentu';Liczba:liczba.Text;Jednostka:'j.m.';Ind:Indeks}));;
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 531 Most Valuable Professional
Haque 261
Kalathiya 221 Super User 2026 Season 1