Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Error Loading Control in lookup fields

Posted on by 156

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)

3755.MicrosoftTeams_2D00_image.png

*This post is locked for comments

  • Kokulan Profile Picture
    Kokulan 18,048 on at
    RE: Error Loading Control in lookup fields

    Thanks for sharing the response from MS. The workaround does not fix the issue with the route queue item dialog as it can't be refreshed. But it should work for lookups on main form I think. Thanks.

  • Suggested answer
    jestuder Profile Picture
    jestuder 156 on at
    RE: Error Loading Control in lookup fields

    It is.  I just got off the phone with Microsoft Support.  It is a known issue and should be patched in the June 1st patch.  They advised if still having the issue after June 3rd to open up another ticket with them.  The current workaround is to refresh the screen.

    Thank you for your reply.

  • Verified answer
    Kokulan Profile Picture
    Kokulan 18,048 on at
    RE: Error Loading Control in lookup fields

    Hi

    I think is caused by recent updates, possibly after April release.

    Please have a look at my post in the link below, I am getting the similar error on Route Queue item dialog

    community.dynamics.com/.../319837

    It might be worth raising a ticket with MS, I have not raised a ticket yet as this issue is on one of client's CRM. I am going to ask them to raise a ticket.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans