cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
VladimirPeshkov
Frequent Visitor

Toggle or Check Box in Power Apps Form connection with Sharepoint list

Hello, everyone!
I'm stucked on the issue with Toggle and Check boxes (Check boxes I decided to insert instead of Toggles, because Toggles are invisible in View mode)  on the form.

I have Sharepoint list with few YES/NO columns.

I created Form with DataSource is my SharePoint list. On this form I added few Toggles and Check Boxes with Default=Parent.Default.

When I push the buttom to Patch information from  Form to the SharePoint list, the information from this Toggles and check box isn't go into SharePoint list, it seems that information is erased. Information from other (text) fields is going to the SharePoint list correctly.
😞

 

1 ACCEPTED SOLUTION

Accepted Solutions

Yes.
I found solution. I saw YT video from Reza Dorrani and he told that strongly non recommend to use YES/NO column in the SharePoint lists. Better to use Choice column.
In order to use toggles (Yes/No columns) should be created collection and this collection should be updated. I decided to get rid of Yes/No columns and substitute them on Choice columns (Yes or No options). 

View solution in original post

4 REPLIES 4
rampprakash
Super User
Super User

Hello @VladimirPeshkov,

 

Are you calling any Update Operation or Any Power Automate Flow while patching ? 

 

Please mark as Answer if it is helpful and provide Kudos


Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
Blog : https://microsoftcrmtechie.blogspot.com

VladimirPeshkov
Frequent Visitor

Hello.

I'm update SharePoint list.

Even if I change value in column on YES directly in Share point list, after Patch the value became NO automatically. As I mentioned above, it seems like Patch command is purge YES values and change them to NO.

Hi @VladimirPeshkov :

Could you please tell me:

Have you set the data_card's Update property to:

ToggleName.Value

vbofengmsft_0-1641965831924.png

 

 

Best Regards,

Bof

Yes.
I found solution. I saw YT video from Reza Dorrani and he told that strongly non recommend to use YES/NO column in the SharePoint lists. Better to use Choice column.
In order to use toggles (Yes/No columns) should be created collection and this collection should be updated. I decided to get rid of Yes/No columns and substitute them on Choice columns (Yes or No options). 

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PWREduCon768x460.png

Join us at PWR EduCon - A Power Platform Conference

Learn from the top Power BI, Power Apps, Power Automate & Power Virtual Agents experts!

Top Solution Authors
Users online (3,389)