I have a Sharepoint List that I created a Canvas App from. In Sharepoint I have a list that has a Yes/No (Checkbox) column. In my PowerApp I inserted a Toggle and changed Onselect to Yes.
My issue is that when I click the toggle (Yes) it does not populate "Yes" in my Sharepoint list. It populates "no" no matter if the toggle is on or off. How do I get it to populate in the list?
Solved! Go to Solution.
Hi @Tbruns ,
Do you want to use toggle to update a yes/no field in sharepoint list?
I've made a similar test but not met the same problem.
Here's my test for your reference:
1)the field's setting:
2)toggle's truetext: "Yes"
toggle's falsetext: "No"
datacard's Update:
DataCardValue22.Value
//DataCardValue22 is toggle's name
daracard's Default:
ThisItem.yesno
//yesno is this field name
3)Everytime you update data, you need to refresh your page before you checking in sharepoint list.
Or else, you will not view the latest data.
Best regards,
Is this a Form?
Did you add controls to create your own 'form'?
What is the OnSelect formula specifically? You mentioned "I inserted a Toggle and changed Onselect to Yes" - do you mean True? Additionally, the OnSelect function is invoked when you click on the control (regardless of actual value).
We'll need to figure out how that Toggle is wired up, and then how it's being passed back to SharePoint. Should be straight-foward!
Yes it is a form. I added them from the Sharepoint List.
Yes you are correct, the OnSelect is True. I meant to say I changed the TrueText to "Yes" and FalseText to "No" (instead of On and Off)
Hi @Tbruns ,
Do you want to use toggle to update a yes/no field in sharepoint list?
I've made a similar test but not met the same problem.
Here's my test for your reference:
1)the field's setting:
2)toggle's truetext: "Yes"
toggle's falsetext: "No"
datacard's Update:
DataCardValue22.Value
//DataCardValue22 is toggle's name
daracard's Default:
ThisItem.yesno
//yesno is this field name
3)Everytime you update data, you need to refresh your page before you checking in sharepoint list.
Or else, you will not view the latest data.
Best regards,
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
184 | |
53 | |
50 | |
36 | |
35 |
User | Count |
---|---|
270 | |
91 | |
82 | |
76 | |
75 |