I am working on a PowerApp for Microsoft Teams. I have a form that two combo boxes, a date field, and a text field. The only thing that transfers over to the table setup for the Teams Dataverse is the text field.
Patch command I tried is:
Patch(InspectionData,Defaults(InspectionData),
{IBX:DataCardValue_EntryIBX.SelectedItems.Value};
{'Date Entered':DataCardValue_EntryDateEntered.Value};
{'Entered By':DataCardValue_EntryEnteredBy.Selected.Value};
{Deficiency:DataCardValue_EntryDeficiency.Value});
Navigate(screenHome);
ResetForm(form_DataEntry);
The table uses choice fields for the dropdowns.
You'll see I tried selected and selecteditems on the two combo boxes. I've also tried dropping the .value
Solved! Go to Solution.
I figured it out. Too many {} made it run home to momma.
Patch(
InspectionData,
Defaults(InspectionData),
{
IBX:DataCardValue_EntryIBX.Selected.Value,
'Date Entered':DataCardValue_EntryDateEntered.Value,
'Entered By':DataCardValue_EntryEnteredBy.Selected.Value,
Deficiency:DataCardValue_EntryDeficiency.Value
}
);
Navigate(screenHome);
ResetForm(form_DataEntry);
I figured it out. Too many {} made it run home to momma.
Patch(
InspectionData,
Defaults(InspectionData),
{
IBX:DataCardValue_EntryIBX.Selected.Value,
'Date Entered':DataCardValue_EntryDateEntered.Value,
'Entered By':DataCardValue_EntryEnteredBy.Selected.Value,
Deficiency:DataCardValue_EntryDeficiency.Value
}
);
Navigate(screenHome);
ResetForm(form_DataEntry);
User | Count |
---|---|
24 | |
4 | |
4 | |
4 | |
3 |
User | Count |
---|---|
26 | |
10 | |
9 | |
9 | |
7 |