web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Update list on Toggle ...
Power Apps
Answered

Update list on Toggle change

(0) ShareShare
ReportReport
Posted on by 76

This should be fairly simple but I just can't find the right answer.

I have Detail Screen where there is a toggle that I want to update the connected sharepoint list when switched. The field in the list is already Yes/No. Default is No. So switching the toggle to true should change it to Yes.

Categories:
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Krcmjaster 

    If this is in a Form, then you need not do anything else but submit the form.

     

    If you have a stand-alone toggle control, then you can add a formula such as this to the OnCheck action of the Toggle:

       UpdateIf(yourDataSource, yourRecordCriteria, {yourYesNoColumn: true})

     

    I hope this is helpful for you.

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Krcmjaster 

    Yes/No columns in SharePoint are buggy.  Change it to a single line of text and the toggle will save either true or false in your column. You can change the display on the toggle to "Yes" and "No" for the user but it won't change what is saved.    

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Drrickryp 

    Yes/No columns are perfectly fine unless you are using them for Filtering.

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @RandyHayes 

    I entirely agree with you.  I like to keep things as simple as possible for new developers and in my recoomendations, I try to anticipate problems that they may encounter down the line with filtering on yes/no, choice and lookup fields in SharePoint. 

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Drrickryp 

    Agree to keep it simple!!  PowerApps design is so much easier when not overcomplicated.

    Choice and LookUp columns are pretty well supported these days, but I tend not to ever use them if I can because it's usually a few more bits that I don't then have to deal with.

    I use Yes/No columns often, but ONLY when there is no need for filtering or tri-state (i.e. yes/no/null).  My next choice for replacing them is to a numeric column - 0 = null, 1= false, 2=true  Those filter nicely and can be used for tri-state scenarios. 

    Your mileage may vary...

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 224 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 126

Last 30 days Overall leaderboard