When selecting an entry to edit, the data card values for 3 items are not populating on the edit screen. These 3 fields are derived from choice columns - not sure if this is the problem or not. Other values are populating as they should.
Solved by Microsoft support:
Our senior engineers pointed out that working with Modern Controls has many limitations as per today, one of them the functionality of the combo box control as we checked with our colleague Fernando yesterday. That is why we encourage to work with the classic controls:
Now, on our tests, the feature worked as expected with a classic combo box, but instead of ‘Default’ property as we tried yesterday, should be ‘DefaultSelectedItems’ and in the formula bar should be ‘Parend.Default’. We tried this and it worked from an app created for testing.
Yes, it is a choice lookup column.
On the lookup try
LookUp('Employee PTOs', ID = PowerAppsOneGrid1.Selected.ID).'Employee Submitting PTO'.Value
Hello Sundeep_Malik,
For item #1: The property of the form is PowerAppsOneGrid1.Selected
For item #2: The default property of the data card is ThisItem."Employee Submitting PTO"
If I changed this to Parent.Default I received an error
I changed the default in a data card to the following:
LookUp('Employee PTOs', ID = PowerAppsOneGrid1.Selected.ID).'Employee Submitting PTO'
But that gave me an error message indicating that the formula was incompatible for types of comparison.
Hey @djohnson1223
There could be multiple issues and there are also multiple ways to fix them too.
Try the following:
1) Check Item property of the form. It should look like: GalleryName.Selected
2) In the default property of the data cards its written Parent.Default.
If still not coming then in the default of all the data cards write a similar formula:
Lookup(ListName, ID=YourRecord.ID).YourColumn
Or
Lookup(ListName, ID=GalleryName.Selected.ID).YourColumn
If above two dont work just write .Value at the end of the Lookup function.
Let me know if any of the methods dont work.
I hope this helps 🙂
WarrenBelz
146,763
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,091
Most Valuable Professional