Skip to content

Day 18: Part 5 of 5 SPFx React Web Part, Component Lifecycle and adding Profile Picture Url

We figure out the cause of our previous issue, it takes understanding the component lify cycle and when web part properties are updated, what events are triggered in the component. We also discover how important error handling is when dealing with real SP data. This is required for the content manager as they update List Name in the web part property. Lastly, we take a look at the User Information list and how to combine the User Info results with the KeyContacts results to complete the collection by adding in the profile picture url. Very simple and resuable design pattern. So far, for getting restAPI data, this pattern is proving to be a winner. #spdevContactsWP #spfxDev #react #officeUIFabric #sharepoint #officeDev ? Subscribe to SPClassroom SharePoint and o365 videos –… SPClassroom is a collection of SP2013, SP2016, SharePoint Online, office365, and SPFx SharePoint Developer’s Framework, with a focus on training videos for Power Users, Developers, and SharePoint Architects.

Leave a Reply

Your email address will not be published. Required fields are marked *