cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DanielRK
Post Partisan
Post Partisan

toggle switch value always comes out false when the data is written back to the sharepoint yes/no column

Hi,

 

When I toggle my toggle switch value to the true/yes position (which I believe is "OnCheck") the value always comes out false when the data is written back to the sharepoint yes/no column (when a new item is created). This is also the case for when the toggle is set to unchecked as well.

 

I changed the value of the oncheck to true and put a label on the screen and for it's text property I put 'toggle.value' and it shows false irrespective of the changes I make to the toggle's various properties.

 

How do I ensure that the toggle writes back a true/yes value when checked and false/no when unchecked.

 

The default value in the SP list is no/false.

 

Thanks so much for your help!

 

Regards,

 

Daniel

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @eka24 ,

 

My apologies, the issue seems to have resolved. I think there is a lag in Powerapps and the values take time to reflect.

 

Thanks again for all your help!

 

Regards,

 

Daniel

View solution in original post

5 REPLIES 5
eka24
Super User III
Super User III

Is the Checkbox part of a form and is the Default set to Parent.Default?

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Hi @eka24,

 

Yes. 

Please can you show a screen shot. i dont have that experience:

yes no.PNG

 

What is the formula is in the item property of the Form?

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Hi @eka24 ,

 

My apologies, the issue seems to have resolved. I think there is a lag in Powerapps and the values take time to reflect.

 

Thanks again for all your help!

 

Regards,

 

Daniel

View solution in original post

You can mark the solution  to close the request

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (21,167)