I have a button that I want to be visible if the "Awaiting Approval" column of the selected item is "Yes". Any help would be appreciated.
Solved! Go to Solution.
In that case, you would probably want to use a variable for the selected gallery item.
To do that, go to the OnSelect property of the control you're using to select the item, and enter:
Set(varSelected, ThisItem)
Then the Visible formula for the button would be:
varSelected.'Awaiting Approval'.Value="Yes"
This will also make it easier to use other Values from a selected Gallery Item if you need to.
Hello @kingy61422 ,
In the button visible property you need to add.
If you are using VarRecord variable
If(VarRecord.'Awaiting Aproval'="Yes",true,false)
Else you can use the same logic based on how you are selecting your current item
Hope this helps
Cheers !
Assuming you're using a gallery to select the item, in the Visible property of the button, you can enter:
Gallery.Selected.'Awaiting Approval'.Value="Yes"
Where "Gallery" is the name of the gallery where you're selecting the item.
Would this work with multiple galleries going to one screen?
In that case, you would probably want to use a variable for the selected gallery item.
To do that, go to the OnSelect property of the control you're using to select the item, and enter:
Set(varSelected, ThisItem)
Then the Visible formula for the button would be:
varSelected.'Awaiting Approval'.Value="Yes"
This will also make it easier to use other Values from a selected Gallery Item if you need to.
User | Count |
---|---|
121 | |
88 | |
88 | |
75 | |
66 |
User | Count |
---|---|
215 | |
180 | |
138 | |
96 | |
82 |