
Announcements
Hopefully I explain this correctly as this is very new to me! I have a DataCard in my PowerApp that is pointing to a Sharepoint column of type Person or Group, which allows the user to search for all staff and students within my organisation (education). We want to find a way to limit this so that only a staff name can be selected.
One idea I thought of was to edit the submit button so that it is only enabled if a selected label contains a value with no non-numeric characters (student emails are the only ones with numbers).
Is it possible to create a label and link to the DataCard of Person type and get the label to show not the selected name but the selected person's email address? TIA.
I think I've got it:
Office365Users.UserProfileV2(DataCardValue5.Selected.Email).mail
In the Text property of the label.