People Picker Name or Title from Camel Query

Sajith Gopalakrishnan Hema 1,056 Reputation points
2023-02-11T04:11:36.1066667+00:00

People Picker ID is fetched from the Camel Query using SPFx. How to get the Name and Title of the person to display in the page ?

Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. RaytheonXie_MSFT 40,471 Reputation points Microsoft External Staff
    2023-02-13T03:05:43.2466667+00:00

    Hi @Sajith Gopalakrishnan Hema

    I will recommend you to use Office UI Fabric to display person in the page. You can refer to the following code

    react-peoplepicker


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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.


  2. Sajith Gopalakrishnan Hema 1,056 Reputation points
    2023-02-14T13:28:01.07+00:00

    We are getting the People Picker ID using Camel Query. Before using the Office UI Fabrics, we would like to get the Name, Title, Email address of the user using the ID. Is there any option ?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.