Hi @Snow_89,
Do you want to assign the Checkbox text to a Yes/No column?
Could you please share a bit more about the sceanrio?
Actually, when you save a Text value from your app into the Boolean type column, you must provide a Boolean value for the Yes/No column rather than a Text value.
If you want to save a Text value into the Yes/No column in your SP list within PowerApps, I am afraid that there is no way to achieve your needs in PowerApps currently.
As an alternative solution, please consider change the column type into a Single-line-text type.
Then you could set the Yes/No button OnSelect as below:
Patch(SPList2,LookUp(SPList2,ID=xxx),{Test:"Yes"})
Further, if you do not want to patch the Checkbox text to the Yes/No column, you could directly set the OnCheck property as below:
Patch(
SPList2,
Defaults(SPList2), // If you want to specify a certain record to update, please use the LookUp() function to specify a ID
{
YesNoColumn: Checkbox1.Value
}
)
If you want to update the Yes/No column with a false value, please consider setting the OnUncheck as below:
Patch(
SPList2,
LookUp(SPList2,ID=2),// Which means that you want to update Yes/No field for the second record
{
Test: Checkbox1.Value
}
)
Hope it could help.
Regards,
Qi