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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

MSCRM 365 code is not working in IE

(0) ShareShare
ReportReport
Posted on by 6

Hello All Experts,

I am getting an error in the f12 debugger tool as below.

Expected identifier, string or number.

i am getting this error in below line of code.

 

["new_test@odata.bind"]: "/new_tests(" + Id + ")"

 

can anyone help me resolving this.

 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    Can you please put complete code , seems this is "/new_tests(" + Id + ")"  is not  valid code.

  • EmployeeOcta Profile Picture
    6 on at

    Hello experts,

    I cannot put the code in forum due to organization policy, may I know what is wrong.

  • Suggested answer
    Arpit Shrivastava Profile Picture
    7,518 User Group Leader on at

    Hello,

    Though it's impossible to find the root cause with only single line of code you shared ["new_test@odata.bind"]: "/new_tests(" + Id + ")"

    But I can suggest you the possible causes of this issue. Hope it helps:

    • Using the word class as a key in a Javascript dictionary can also trigger the dreaded "Expected identifier, string or number" error because the class is a reserved keyword in Internet Explorer.

    { class : 'overlay'} // ERROR: Expected identifier, string or number

    {'class': 'overlay'}  // Correct way

    • The cause of this type of error can often be a misplaced comma in an object or array definition:
    var obj = {
       id: 23,
       name: "test",
    }

    Remove the
    , comma
    • At last, if nothing seems to work, Upgrade your IE to the latest version (>10).

    Mark the answer verified If it helps.

    Cheers
    Arpit
    https://arpitmscrmhunt.blogspot.in

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans