The above error comes while trying to retrieve lookup value from people picker control using jsom in SharePoint Online. The error was coming in the below line.
Uncaught TypeError Cannot read property get_lookupValue of null
We have checked that “AssignedBy” was coming null because we were not populating AssignedBy which is a people picker control.
When we assign a value to the people picker control the error did not come.
Read some SharePoint JSOM tutorials:
- Display List items in HTML Table using JSOM in SharePoint Hosted App
- [Solved] Uncaught ReferenceError: web is not defined Error in SharePoint Online JSOM
- Retrieve SharePoint list items programmatically using jsom, rest api and csom
- Retrieve all users from all groups using jsom in SharePoint
- Uncaught TypeError: Cannot read property ‘get_current’ of undefined error in jsom SharePoint Online
I hope this SharePoint tutorial will help us to fix error, Uncaught TypeError Cannot read property get_lookupValue of null in SharePoint Online.
I am Bijay from Odisha, India. Currently working in my own venture TSInfo Technologies in Bangalore, India. I am Microsoft Office Servers and Services (SharePoint) MVP (5 times). I works in SharePoint 2016/2013/2010, SharePoint Online Office 365 etc. Check out My MVP Profile.. I also run popular SharePoint web site EnjoySharePoint.com