Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

CRM Odata version 4.0 update/patch the entity with null lookup value

(0) ShareShare
ReportReport
Posted on by 5

Hi,

I have  a contact object which has a navigation property/lookup property cc_Language, i would like to update the contact's information together with cc_Language = null. 


{"contactid":"7244fd62-72bf-e711-812b-480fcff237d1","cc_SalutationId@odata.bind":"/cc_salutations(cf642d17-af93-e711-8155-e0071b662bb1)","gendercode":2,"birthdate":"1918-09-13","firstname":"H","middlename":"E","cc_preferredname":"","lastname":"JJ","cc_Language":null}

The request was successfully updated, however Language field wasn't set to null and still keep the old value. 

I read some documents and we have to make two calls : delete the association for cc_Language and  then call the update. Which is painful as I want to do in one transaction. 

Do we have any other way to do at one go?

P/S: I use Dynamic CRM 365 2016.

Regards,

Huong

*This post is locked for comments

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans