Hello,
to provide a bit of context:
I have a PowerApp/PowerAutomate approval flow. The app is the interface with 5 dropdown menus, and the app communicates with the SharePoint List. All is published on SharePoint.
The purpose is that the users select the product trough the App via dropdowns, and press the button to send the selected product data and the requestor's data that has been collected by App via User().Email formula. The requesting user1, can be identified via User().Email formula, so that Power automate flow can get the user1-email from App.
New feature I want to build:
I want to allow user1, to fill the Power Apps on behalf of other user2. Which means that User().Email formula cannot be used to retrive the user2-email. Instead, user2-email has to be typed.
I have to enable autocomplete (or similar) in the TextInput control to suggest email addresses (or other user-property), in order to avoid typing errors.
The autocompletation has to retrive emails from the existing user-database of the company - the same that is used by User().Email formula, so that no additional SharePoint list has to be created.
With({UserData:LookUp('Employee list',User().EMail= 'Employe email')},
Filter('Employee list', Department = UserData.Department, Level=<UserData.Level)
)
If this solvede your porblem please accept it as solution so others can find it as well.
WarrenBelz
146,658
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,999
Most Valuable Professional