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.
Does someone have an idea of how to solve this problem?
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 🙂
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.
mmbr1606
22
Super User 2025 Season 1
stampcoin
17
ankit_singhal
11
Super User 2025 Season 1