Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Entity Id must be specified

Posted on by Microsoft Employee

I want to update an exisitng custom entity.

I tried setting the entity.Id ir entity["id"] property without success, there is another property called

entity.myentitynameid, which also didn't work.

So which property do I have to set here?

entityid.png

*This post is locked for comments

  • Verified answer
    RE: Entity Id must be specified

    The Id attributes from entities must not be modified, you only can modify common attributes from the entity and then call your update request. Something like :

    service.Update (entity);

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans