Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

CRM 2016, JavaScript, using soap to RetrieveEntityMetadata of an entity with new Customer type (new_mycustomer) returns 500 (Found an integer attribute with unrecognised format: new_mycustomeridtype)

Posted on by 290

Hi,

CRM 2016 Sp1, I am using XrmServiceToolkit to RetrieveEntityMetadata for a custom entity which includes the new Customer field (my_customer). The function returns with the status 500 and error message:

Found an integer attribute with unrecognised format: new_mycustomeridtype

The same code works for any other entity as long as it does not contain the new Customer field.

Using new Web API works without any issues.

Is this a bug or do I need to make any changes?

Note: I have to use soap as the product I work on need to be compatible with 2013, 2015, and 2016

Thank you for any assistance,

Mehrdad

*This post is locked for comments

  • MehrCrm Profile Picture
    MehrCrm 290 on at
    RE: CRM 2016, JavaScript, using soap to RetrieveEntityMetadata of an entity with new Customer type (new_mycustomer) returns 500 (Found an integer attribute with unrecognised format: new_mycustomeridtype)

    Thank you Sam. It worked.

  • Verified answer
    Inogic Profile Picture
    Inogic 24,094 on at
    RE: CRM 2016, JavaScript, using soap to RetrieveEntityMetadata of an entity with new Customer type (new_mycustomer) returns 500 (Found an integer attribute with unrecognised format: new_mycustomeridtype)

    Hi,

    Yes we have faced the same issue for Customer field. You may try setting the “retrieveasifpublished” attribute to “false” and then try. The code may work fine. It’s strange but it worked for us.

    Please mark this answer as Answer if this helped you.

    Thanks!
    Sam

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: CRM 2016, JavaScript, using soap to RetrieveEntityMetadata of an entity with new Customer type (new_mycustomer) returns 500 (Found an integer attribute with unrecognised format: new_mycustomeridtype)

    Hello,

    To resolve your issue you should get in touch with developer of XrmServiceToolkit - xrmservicetoolkit.codeplex.com/.../basic and as for a fix or fix toolkit with own hands.

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