Hello All,
I am trying to create a collection from the selected items of a combobox, however, I also want to add columns with additional data from a SharePoint list to be used later in the app. This is what I currently have, but I am struggling to get the additional columns added with the additional data. Could someone please assist?
If(
IsEmpty(colSelectedCustomers) ||
IsEmpty(Filter(colSelectedCustomers, Name = 'Search Existing Customers Combobox'.Selected.Title)),
Collect(
colSelectedCustomers,
ForAll(
'Search Existing Customers Combobox'.SelectedItems,
{
Name: ThisRecord.Title,
Email: LookUp('Work Order Customer Data', StartsWith(Name, ThisRecord.Title)).Email
}
)
),
Notify("Duplicate value: " & 'Search Existing Customers Combobox'.Selected.Title, NotificationType.Error)
);
Reset('Search Existing Customers Combobox');