web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Cannot read property 'toLowerCase' of null

(0) ShareShare
ReportReport
Posted on by 15

Hi, 

So I'm getting an error when going onto Lead forms, which I believe is related to a required field not being filled in, as I have found one such field, filled it in, and gotten rid of the error, however it keeps returning.

The field I filled in was a Tab name field.

Error details:

  • Session Id: 4a1940a3-5612-4805-9099-722ab1bfc836
  • Activity Id: feedc0de-aaaa-bbbb-cccc-1234567890ab
  • Timestamp: Tue Oct 29 2019 13:31:52 GMT+0000 (Greenwich Mean Time)
Cannot read property 'toLowerCase' of null
TypeError: Cannot read property 'toLowerCase' of null at [customername].crm11.dynamics.com/.../app.js at Array.filter (<anonymous>) at [customername].crm11.dynamics.com/.../app.js at Array.forEach (<anonymous>) at Object.execute ([customername].crm11.dynamics.com/.../app.js at [customername].crm11.dynamics.com/.../app.js at new Promise (<anonymous>) at C._executeAsyncAction ([customername].crm11.dynamics.com/.../app.js at C._executeAsync ([customername].crm11.dynamics.com/.../app.js at C.executeAction (https://[customername].crm11.dynamics.com/uclient/scripts/app.js?v=1.3.2399-191014-235933:484:177)
Thanks for the help
I have the same question (0)
  • Joana Pinto Profile Picture
    740 on at

    Hi,

    Have you tried to put some breakpoints on your script, so see really where the error is and the values on your variables/objects?

  • MaxDuchy Profile Picture
    15 on at

    Hi Joana,

    I'm not using a script, simply editing a form using the built in editor.

  • Joana Pinto Profile Picture
    740 on at

    It's a custom or OOB form?

  • MaxDuchy Profile Picture
    15 on at

    It's the OOB generated Main form with custom fields added

  • Joana Pinto Profile Picture
    740 on at

    Removing those custom fields, publishing the solution and then putting back the fields doesn't work? This seems some little bug from the system itself... I would recommend deleting the form but since it's a OOB form...

  • MaxDuchy Profile Picture
    15 on at

    Just to update I deleted the custom form, leaving me with only the undeletable forms I assume are OOBs and the issue persists.

  • Verified answer
    MaxDuchy Profile Picture
    15 on at

    Turns out the OOB Contact and Address concatenated fields were at fault, removing them from the form and replacing them with custom field versions fixed this issue for me

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 62 Most Valuable Professional

#2
#ManoVerse Profile Picture

#ManoVerse 57

#3
Pallavi Phade Profile Picture

Pallavi Phade 49

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans