cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper IV
Helper IV

Updating the gallery on Approval status

 

I have three buttons in the powerapps(named Approved Rejected pending)

I have to update the gallery based on the approval status

I have two levels of approvals

 

I have given the onselect propery for pending button as

UpdateContext({StatusValue1:"Rejected",StatusValue2:"Pending"}) 

but there can be probability of getting the below conditions to the value when approval status was pending 

I have set the on select property of the button to

PendingButton.OnSelect   but it didn't work..is anyother way ican achieve this ?

UpdateContext({StatusValue1:"Rejected",StatusValue2:"Pending"}) ||
UpdateContext({StatusValue1:"Approved",StatusValue2:"pending"}) || UpdateContext({StatusValue1:"Approved",StatusValue2:"Rejected"})

 

11 REPLIES 11
Highlighted

@tchin-nin

I have one more issue hope you could help me.

 

I have an edit form in the screen with a drop-down and a button

 

Once the drop-down was selected and the edit form was submitted then the form shouldn't be displayed(Visibility: false).

 

I applied a rule based on the dropdown value of the visibility as false. but it didn't help me out.

 

Does any other way to achieve this?

 

 

Highlighted

Can you sumbit this issue on a new post ? So everyone can easilly access one answer for one question and don't get confused with too many subjects in one discussion.

 

While submitting the new issue can you provide some more detailed about what you are trying to achieve ? What are the roles of the dropdown and the button ? And what behavior you are expecting. I'll try my best to help you 😉

 

Théo

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (10,074)