Recently, around 5/6 (at least that is when I was notified of this issue from an end user) our lookups started showing the following error message: "error loading control" as soon as you click in them to populate it. It is not consistent and not specific entities. It is also not isolated to one environment (dev, stage or prod). It is also happening in out of the box entities / forms / fields and custom entities / forms / fields. I have never come across this error before in CRM. I was able to download the error log:
TypeError: Cannot read property 'records' of undefined at LookupDropdown._getDropdownResultLine (<URL Removed>/%7b636932309780004437%7d/webresources/cc_MscrmControls.FieldControls.SimpleLookupControl/SimpleLookupControl.js:5:22927) at LookupDropdown._getDropdownChildren (<URL Removed>/%7b636932309780004437%7d/webresources/cc_MscrmControls.FieldControls.SimpleLookupControl/SimpleLookupControl.js:6:22064) at LookupDropdown.getResultsDropdownFlyout (<URL Removed>/%7b636932309780004437%7d/webresources/cc_MscrmControls.FieldControls.SimpleLookupControl/SimpleLookupControl.js:7:1740) at SimpleLookupComponentsManager.getSimpleControlMainComponent (<URL Removed>/%7b636932309780004437%7d/webresources/cc_MscrmControls.FieldControls.SimpleLookupControl/SimpleLookupControl.js:3:23941) at SimpleLookupControl.updateView (<URL Removed>/%7b636932309780004437%7d/webresources/cc_MscrmControls.FieldControls.SimpleLookupControl/SimpleLookupControl.js:7:11924) at CustomControlHostRoot._renderMainControlComponent (<URL Removed>/uclient/scripts/1.js?v=1.3.1686-190423-233605:188:42276) at CustomControlHostRoot.renderWrappedMainElement (<URL Removed>/uclient/scripts/1.js?v=1.3.1686-190423-233605:188:45271) at CustomControlHostRoot.render (<URL Removed>/uclient/scripts/1.js?v=1.3.1686-190423-233605:188:48839) at ye (<URL Removed>/uclient/scripts/vendor.js?v=1.3.1686-190423-233605:127:489) at Rg (<URL Removed>/uclient/scripts/vendor.js?v=1.3.1686-190423-233605:127:282) Activity Id: 1645427e-faf8-4f6e-ba85-4d623a3dfcab
Build Info:
Microsoft Dynamics 365 Online
April 2019 updates enabled
Version 1710 (9.1.0.4437)
*This post is locked for comments