Apr 22 2021 06:10 PM - edited Apr 23 2021 02:29 AM
Hi All,
Is there a way I can add a user search box to a modern SharePoint online webpage so a user can search for another user within the company? For example, I want the details of a user with the surname Smith. The search results list all the members of staff with the surname Smith and I just select the correct user.
I hope you can help
Thanks
Courtney
Apr 23 2021 03:11 AM
@CEStar321 There is no SharePoint out of the box web part for people search.
So, you will need custom SPFx web part for your requirements. Check below SPFx samples created by community members. You can use these web parts as it is if it fulfills your requirements OR you can modify them as per your requirements after downloading.
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Apr 23 2021 03:25 AM
...@ganeshsanap or you can build one in Power Apps. That can then be added as a Microsoft Power Apps webpart to your SharePoint page. On my one below the user starts entering a name, location, job or team and it filters the list as you type:
Rob
Los Gallardos
Microsoft Power Automate Community Super User