Hi,
I am using a patch function to update a Sharepoint List using a PowerApps form but I am getting an issue with my Yes/No columns (The Column Type is Yes/No in sharepoint Lists). I have put an if statement to try andn solve this but it is not working.
ForAll(
Split(DataCardValue2.Text, "," ),
Patch(
'Walkdown Requests_1',
Defaults('Walkdown Requests_1'),
{
'DAC No.': ThisRecord.Result,
'Scope of works complete?': If(DataCardValue22.SelectedText= "Yes", true, false)
}
)
)
I get the error Expected type 'Boolean'. Found type 'Record'

Thank you.