cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
drossi
Helper III
Helper III

Checkbox that updates SharePoint with Yes Choice when pressed

Hello,

 

I have a choice column called 'ScreenWash' with only option 'Yes'. 

 

When I have imported the field in to my form it naturally shows as a dropdown in PowerApps. However, I want to change this dropdown to a 'CheckBox' that when pressed and form is submitted, it updates the SharePoint to 'Yes'.

 

It doesn't actually have to be a choice column if that makes things easier, as long as when 'CheckBox' is pressed it updates the SharePoint list with a '1' for example. 

 

Any ideas? Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @drossi ,

I have a workaround for this in my Delegation blog, but with a Choice column a small change.

The Default of the Checkbox

ThisItem.ScreenWash.Value = "Yes"

the Update of the Data Card

If(
   YourCheckboxName.Value,
   {Value:"Yes"},
   {Value:"No"}
)

You can leave out the "No" line if you do not need it.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

View solution in original post

2 REPLIES 2
WarrenBelz
Super User
Super User

Hi @drossi ,

I have a workaround for this in my Delegation blog, but with a Choice column a small change.

The Default of the Checkbox

ThisItem.ScreenWash.Value = "Yes"

the Update of the Data Card

If(
   YourCheckboxName.Value,
   {Value:"Yes"},
   {Value:"No"}
)

You can leave out the "No" line if you do not need it.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

View solution in original post

That's awesome @WarrenBelz , it works a treat.

 

Thanks so much.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,403)