Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Uncaught TypeError: Cannot read property in form CRM

Posted on by Microsoft Employee
Hello good afternoon I have a problem, could you help me?

The error occurs when closing the account form (attached image for better understanding).

The steps I take are as follows:

I open the form of an account in specific (because the error is not coming out in all accounts), and when closing the form (Image 01) I get this error (Image 02)

The records of this entity were migrated using SSIS, but why are some of the records giving me this error?

Uncaught TypeError: Cannot read property '_ctnt' of null


Image 01

_5F00_numero2.JPG



Image 02
_5F00_numero1.JPG

Image 03
_5F00_numero3.JPG
Image 04
_5F00_numero5.JPG

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Uncaught TypeError: Cannot read property in form CRM

    jquery is not supported in Web resources.  you probably have a different jquery library than was in the legacy environment.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Uncaught TypeError: Cannot read property in form CRM

    The error shows me is in this part, that's native crm coding

    (Image 03 of the updated post)

  • Suggested answer
    ajyendra Profile Picture
    ajyendra 1,730 on at
    RE: Uncaught TypeError: Cannot read property in form CRM

    Hi ,

    Agreed with @Timmy . It look like bug in your custom code.Check your code and find the _ctnt keyword you used .

    for resolved these kind of problem.

    1) Check undefined or null before calling the properties.

    It will help you to not getting these type of error.

  • Suggested answer
    Temmy Wahyu Raharjo Profile Picture
    Temmy Wahyu Raharjo 2,914 on at
    RE: Uncaught TypeError: Cannot read property in form CRM

    Try to check weather you've got customization or not. The easiest way, search through all your code using keyword '_ctnt'. If you don't find it, try to disabled all your customization and check again. Then you need to check 1 by 1 from that to know the real issue. Good luck.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Uncaught TypeError: Cannot read property in form CRM

    the same error happens when giving the page an F5

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