Is it possible to fill a Dropdown field (SP) just by the Current User?
My intention is that when certain users open my powerapp, they each get certain dorpdowns.
example:
Person: Dropdown 1 Dropdown 2
abc.email.com Accountant dropdown option 1
xyz.email.com CEO dropdown option 1
123.email.com Accounant dropdown option 2
Thanks in edvance
Sorry for my bad English
It sounds like you want to have certain default dropdown choices appear for specific users?
If so, make a table similar to the one in your original post with the user's email and then columns for each dropdown's default value. Then, your app can use a LookUp() based on User().Email to pull in the correct default value. For example, in the Default property of Dropdown1 you could put:
LookUp(dropdownTable, user = User().Email, Dropdown1)
// where dropdownTable is the table of dropdown defaults stored by user email
// user is the column with the user emails
// Dropdown1 is the column containing the desired default value to use for Dropdown1 in the app
Hope that helps,
Bryan
I dont understand what you mean.
I want a if statment like this:
if User().Email = abc@email.com then Accounant ||
if User().Email = xyz@email.com then CEO ||
etc.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
199 | |
52 | |
41 | |
39 | |
35 |
User | Count |
---|---|
263 | |
86 | |
71 | |
69 | |
66 |