Here we will discuss JSON is undefined error which comes in IE 11 for a Person Group picker in a customized InfoPath form. We had a SharePoint 2013 list which we have customized using InfoPath. And that InfoPath has few people pickers in it.
Now when user click on Person Group Picker then they are getting the error like below:
‘JSON’ is undefined.
Just to let you know that we were using IE11 browser to test this.
When we are trying in Google chrome it was working correctly. No error coming in Google Chrome.
This might not be a proper solution but this is a workaround.
In the IE, click on the Settings icon then click on “Compatibility View Settings”. In the Compatibility View Settings page uncheck “Display intranet sites in Compatibility View” as shown in the fig below:
Now close your browser and try again. It should resolve the issue.
If the above approach did not work, you can try this approach.
From the Tools menu in IE check if “Enterprise Mode” is unchecked or not. If it is not unchecked please uncheck it. It should appear like below:
Read some SharePoint jsom tutorials:
- How to retrieve workflow id by using jsom in SharePoint online?
- Jsom SharePoint 2013 examples: Update List Item Using JSOM in SharePoint Online
Then close the browser and try again. it should solve the issue.
SharePoint Online FREE Training
JOIN a FREE SharePoint Video Course (3 Part Video Series)