Hey guys,
How're you doing? I hope you're all fine.
I've got a problem I thought I might be able to solve on my own but to be honest it's more difficult than I thought it is.
As you can see below, the last column name AddRemove is not working the way I want. It's being highlighted and shows an error.
AddRemove is the Data Type "Two Options" in CDS but how to initialize it?
Collect(
CommonDataService,
{
Amount: Value(TextInput1.Text),
Mail: ComboBox1.Selected.UserPrincipalName,
AddRemove: true
}
)
Following error messages appear:
- The function 'Collect' has some invalid arguments.
- Incompatible type. The 'AddRemove' column in the data source you're updating expects a 'OptionSetValue' type and you're using a 'Boolean' type.
How to correct it? I really don't know.
Really appreciate your support. Thanks so much!