When an item is selected from the gallery to edit, I want the various controls (dropdowns, date picker etc.) to be set to the values in the gallery record.
When the user clicks on the Edit icon, it sets varRecord to the value of the selected item.
All of this is underlaid with Dataverse tables. If I use a legacy dropdown it works fine to set it to a specific varRecord property that contains a matching item. So the dropdown is set to varRecord.Holiday.
The issue for me is I don't know what schema I need to use for the default items here. If I go to the Combobox properties pane and click on Fields, the fields are:
crc39_name
crc39_itemtype
crc39_association
But in the items property it is:
Ungroup(
Table(
{Prefixes: Table({Name: ""})},
{Prefixes: Filter('Holiday Descriptors', 'Holiday Descriptors (Views)'.Prefixes, Association = DropdownHoliday.Selected.Association)}
), "Prefixes")
So do I need to provide the 3 fields listed above and does the source need to match the name exactly, ie: crc39_name, or does the source match what is in the items property, ie: name, association.