I have a combo box labelled "Depends on Task" with an Item property set to Filter(Tasks, Project.Name = 'All-Projects.' Selected.Name). This combo box pulls values from the 'Tasks' table in the "Subject' column, specifically filtering tasks related to the Project record I selected, ensuring only relevant tasks are displayed.
The Save button is configured with the OnSelect property as follows:
Patch(
Tasks,
galTasks.Selected,
{
'Depends On Task': DataCardValue16.Selected
}
);
However, I encounter an issue where it only patches a single record from the Task lookup column, even though I expect it to patch multiple records based on my selection. I have set the SelectMultiple property to true, and I've attempted to modify the line in the patch function from 'Depends On Task':
DataCardValue16.Selected to 'Depends On Task': to DataCardValue16.SelectedItems, but this change results in errors.
My goal is to patch multiple records from the ComboBox to my Dataverse lookup column "Depends On Task." How can I achieve this functionality?