Question

I am new to SPFx and have a SPFx web part form project with No JavaScript framework option. In this I need to implement a People picker. I need to implement the form both as a new and edit form i.e in new mode the people picker will be used to select a user and in edit mode it will fetch details from a sharepoint list and populate the people picker with the user details.

I have been following the microsoft spfx development thread : https://docs.microsoft.com/en-us/sharepoint/dev/

Thanks

Était-ce utile?

La solution 2

Got the form done and people picker integrated using sppeoplepicker js. Sharing my learnings and how i got it done in my blog:

Custom Form Using SPFX (No Javascript Framework)

Autres conseils

You can use fabric UI People picker in your project. Follow the link for detailed instructions:

https://developer.microsoft.com/en-us/fabric#/controls/web/peoplepicker

Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange
scroll top