question

CSunny789 avatar image
0 Votes"
CSunny789 asked AllenXu-MSFT answered

User search box to a SharePoint online webpage

Hi All,

Is there a way I can add a user search box to a 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

office-sharepoint-online
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

AllenXu-MSFT avatar image
0 Votes"
AllenXu-MSFT answered

Hi @CSunny789 ,

Your requirement can be achieved by using the OOB top search box.
1. Type in the user contact information to search -> Click Organization on the search result page.
90652-1.png
2. You will get a People tab and results based on the search term you have typed.
90653-2.png


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


1.png (28.2 KiB)
2.png (34.6 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.