Bind the Checkbox to a Boolean Field: Ensure that the Dataverse field you're trying to update is a Yes/No (Boolean) field. The Checkbox control should be linked to this field. Checkbox1.Default = ThisItem.IsActive
Patch the Value from the Checkbox: To update the Dataverse field with the checkbox value, you need to use the Patch function. This function will update the Boolean field in Dataverse based on whether the checkbox is checked (true
) or unchecked (false
).
SubmitForm (If Using a Form): If you're using a form control to manage the data, ensure the checkbox is bound to the correct Dataverse field: Set the Checkbox1.Default property to the field from Dataverse, as in:
Error Handling: If the field isn't updating, ensure: The field is correctly mapped in Dataverse (Boolean type). The correct permissions are available for updating the record.
If(Checkbox1.Value = true, true, false)
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional