cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Update SharePoint list choice column (dropdown) with a button click

Hello all. I have list customised powerapps form with three buttons. Reject, Approve and hold. On click of the button I want to update a choice column dropdown (status)with same value. I'm able to achieve this using flow, is there a way to get this done by powerapps formula?
2 REPLIES 2
Highlighted
Community Support
Community Support

Hi @Harikrishnan,

Can you share a bit more about your issue ?

Do you mean that the choice column has three options : “reject, approve , hold ?

Do you want to update the corresponding options according the selected button ?

 

I made a test. And it worked

11.PNG

 

Set the DefaultSelectItems property of combo box to:

Var1 

Set the Onselect property of reject button to :

Set(var1,Filter(Choices(test.status),Value="Reject"))

Set the Onselect property of approve button to:

Set(var1,Filter(Choices(test.status),Value="Approve"))

Set the Onselect property of hold button to :

Set(var1,Filter(Choices(test.status),Value="Hold"))

Regards,

Eason

Community Support Team _ Eason YU
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted

Hi Eason, 

Thank you for your reply.

I'm able to change the dropdown value using the above solution. But I have to do a submit right after the set. Like this

 

Set(var1,Filter(Choices(Intake1.Status),Value="Hold"));SubmitForm(SharePointForm1)

I can see that value is getting changed in the UI and submit is happening.

 

But if check the list after submit 'Status' column will be empty.

 

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

Top Solution Authors
Top Kudoed Authors
Users online (12,765)