Hi all,
Been doing research and trying to figure out if there is a way to search for user using name or email in a combobox. So if someone wants to search using an email address they can or if they want to search using name.
Not sure if this is even possible.
Thanks in advance
Solved! Go to Solution.
<Palm smack to head!> My bad...typo in the formula. Should be:
AddColumns(Office365Users.SearchUserV2({searchTerm:Self.SearchText}).value, "_searchField", DisplayName & " " & Mail)
Yes, you will need to define the search field though. This is done in the Items property of the combobox.
So, the following formula on the Items will provide what you need:
AddColumns(Office365Users.SearchUserV2({searchTerm:Self.SearchText}).value, "_searchField", DisplayName & " " & Email)
Then set your search field for the Combobox to: _searchField.
I hope this is helpful for you.
HI @RandyHayes thanks for your reply. I tested this and it's only searching for displayname, but when try by email nothing shows up. I'm I missing something?
Thanks
<Palm smack to head!> My bad...typo in the formula. Should be:
AddColumns(Office365Users.SearchUserV2({searchTerm:Self.SearchText}).value, "_searchField", DisplayName & " " & Mail)
@RandyHayes lol - <Palm smack to head!> me too, I should've known this since it's pulling it from the Office365Users.
It's working now Randy, thanks for your help.
User | Count |
---|---|
252 | |
104 | |
94 | |
50 | |
39 |