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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Toggle card cannot wri...
Power Apps
Unanswered

Toggle card cannot write (Update property) to table in Dataverse

(0) ShareShare
ReportReport
Posted on by 6

I moved my app (that used Sharepoint lists) to a new environment where the data is stored in Dataverse tables. But now my 'Update' property of the card with a toggle field keeps giving an error: 'Expected OptionSetValue value'. I tried statements like: 'If(Reistijd_Terug_log.Value,true,false)', 'If(Reistijd_Terug_log.Value = true,true,false)' and 'If(Reistijd_Terug_log.Value,Yes,No), but nothing works.  

luten001_0-1704374539343.png

Does someone have an idea of how to solve this problem?

 

I have the same question (0)
  • shoog Profile Picture
    2,164 on at

    You need to pass the right choice value, something like:

    If(Reistijd_Terug_log.Value,Reistijd_Terug.Ja,Reistijd_Terug.Nee)

    This is assuming your column name in Dataverse is called Reistijd_Terug, change as needed if the name is different.

  • luten001 Profile Picture
    6 on at

    I tried all kind of statements, unfortunately nothing worked. And I had no more time. So I replaced all toggle fields by Radio buttons. Looks less smooth, but it works 🙂

    Thanks for your answer. If I have more time I certainly try the toggle field again 🙂 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 793 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard