cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
warsongg00
Level: Powered On

why the search function is too slow? is there a way to speed officer365 user search?

it takes 5 to 10 to look up the names, is there a way to speed search ?

am using this code Choices([@sharepointListNameRandom].Profile) on the datacard, editform and datacard type person

1 REPLY 1
v-siky-msft
Level 10

Re: why the search function is too slow? is there a way to speed officer365 user search?

Hi  @warsongg00 ,

 

How many people are in your organization? 

To speed up the Office365 search user function, try to collect all Office365 users to the collection at the start of app.

1. collect all Office365Users to the collection, set the following formula to OnStart of app.

ClearCollect(coluser,Office365Users.SearchUser({searchTerm:"",top:500}));

2. set Items property of Combo box(that data card) as below.

coluser

3. set update property of datacard as below.

{Claims:"i:0#.f|membership|" & DataCardValue1.Selected.UserPrincipalName,Department:"",DisplayName: DataCardValue1.Selected.DisplayName,Email: DataCardValue1.Selected.UserPrincipalName,JobTitle:"",Picture:""}

Hope this can help.

Best regards,

Sik

 

 

 

Helpful resources

Announcements
thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Kudoed Authors (Last 30 Days)
Users online (3,841)