Hi sajarac,
So, you would still need to use a connector, the Office365Users one. I assume you already have this added?
In your dropdown's Items property, add the following static list with all the technicians. I've only added the first three, you need to add the rest.
["Technician One","Technician Two","Technician Three"]
Now you can add an Image and a Label control.
In the Image property of the Image control, add the following. Again, I only added the first three, you need to add the rest
If(Dropdown1.SelectedText.Value = "Technician One", Office365Users.UserPhotoV2("technician.one@companyemail.com"),
If(Dropdown1.SelectedText.Value = "Technician Two", Office365Users.UserPhotoV2("technician.two@companyemail.com"),
If(Dropdown1.SelectedText.Value = "Technician Three", Office365Users.UserPhotoV2("technician.three@companyemail.com"))))
In the Label's Text property, you can add the following if you want to display the user's department. Replace "Department" with any number of AD parameters like DisplayName, Manager, City, Phone number(s) etc etc.
If(Dropdown1.SelectedText.Value = "Technician One", Office365Users.UserProfile("technician.one@companyemail.com").Department,
If(Dropdown1.SelectedText.Value = "Technician Two", Office365Users.UserProfile("technician.two@companyemail.com").Department,
If(Dropdown1.SelectedText.Value = "Technician Three", Office365Users.UserProfile("technician.three@companyemail.com").Department)))
I like to overcomplicate things, so there's most likely a more efficient solution, but this'll do the job.
Just thinking about it, it might also work if you create a new SharePoint list with all the Technicians, then merely reference this list in your dropdown, as opposed to statically creating the list using ["",""]