Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Answered

Xrm.WebApi.createRecord

Posted on by 45

Hi,

Having read through many posts to try and resolve this, it seems like it is a common source of error, but I really cant solve it!

I am trying to link to a custom entity in my data bind using this as part of the data array in Xrm.WebApi.createRecord: -

"new_ApprenticeshipProgramme@odata.bind": "/new_apprenticeshipprogrammes(FACAE985-CB06-EA11-A811-000D3AB2928C)"

new_ApprenticeshipProgramme is the schema name of the field I am connecting from and new_apprenticeshipprogramme (without the s) is the custom entity, with associated guid I am trying to link to.

Both are in custom entities.

Any suggestions greatly appreciated.

 

  • Verified answer
    Martin CPA Profile Picture
    Martin CPA 45 on at
    RE: Xrm.WebApi.createRecord

    oops.

    Nothing to do with the binding, I had left the comma out at the end of the line in the JSON array!

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,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans