I am trying to build an SPFx WebPart with React Office UI Fabric. I have a SharePoint list with a People field called
lookup ID values are like
20, and so on. When I select a person with the
PeoplePicker, I get
i:firstname.lastname@example.org and a
I think the
lookup IDs like
12 refer to the
UserInfo list. I have seen calls to
web.EnsureUser, in other SharePoint projects, but the Web object (
this.context.pageContext.web) in SPFx doesn't seem to have those methods.
All the People we try to use are Office 365 users. How do I "convert" the information from the
PeoplePicker to the
lookup IDs, the
People column in the list is using?
Any help is much appreciated :-)