Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Xrm.WebApi.createRecord

(0) ShareShare
ReportReport
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
    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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 113 Super User 2025 Season 1

#2
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 78 Super User 2025 Season 1

#3
Sahra Profile Picture

Sahra 43

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans