Hello,
The following statement pulls properly the primary email value of the user who created a dataverse table record. However it only works when my app is in Edit mode. In Play mode the value is empty:
ClearCollect(CoInfoCreatedBys,First(Filter(Users,User=_selectRequest.'Created By'.User)).'Primary Email');
Notify(First(CoInfoCreatedBys).Value);
Notes:
1) _selectRequest contains the record I loaded from a DataVerse table.
2) The rows count of the collection always return 1 (in both play and edit mode)
3) If I display the User GUID instead of the Primary Email, this works in both modes, so the query finds the user matching the GUID:
ClearCollect(CoInfoCreatedBys,First(Filter(Users,User=_selectRequest.'Created By'.User)).User);
Could anyone confirm to have the same issue that the above works in Edit mode but not in Play mode ?
And any idea why this does not work in play mode, is this a PowerApp bug ?
Thanks in advance for sharing !