Hi,
I need help to add a button to my gallery in powerapps. This gallery has information regarding the request and the CFO has to enter in their approval for each item. Sometimes there can be 20 items to approve. To make it easier, I would like to add a button that says "Approval All" and this button would then select the "Approve" option within the dropdown for all 20 items. What should the formula look like?
Any help is appreciated!
Gallery:
CFO Response Field:
Items:
Choices('Checklist Details'.'CFO Response')
Hi,
@BhaskarDhone I was hoping you could help me with this issue again. I need the CFO to be able to select Approve All and then also be able to update one of the items to reject if needed. However, when I do this, none of the responses are patching and saving unless I manually click into the dropdown and select it. The Approve All button does update the dropdown values to Approve, but after submitting the values don't get saved.
Can you provide some insight why this may be happening?
Thank you for all your help!
Add Reset button and Set value to Blank.
Set(CFOResponse, Blank())
If it answers your question don't forget to mark it as solution and give kudos 👍
This works great! and what if I wanted to reset all of the rows back to them being blank... how would that be done?
Create a variable CFOResponse by default set the value to Blank().
When user click on 'Approve All' buttton set the value of the variable to
Set(CFOResponse, {Value:"Approve"})
And on the DefaultSelectedItems of Combobox control have variable CFOResponse
If its dropdown then on then set variable as
Set(CFOResponse, "Approve")
set it on default of dropdown control
WarrenBelz
146,552
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,928
Most Valuable Professional