so try this :
my post script is :
keep telling me the same error:
i try to use the related entity schema name, i try the main entity lookup field schema name and nothing !!
can some one help me pls
Hi,
You have mentioned incorrect related entity logical name. You are missing prefix in your related entity name in your code.
so your syntax should be like below -
"new_SkillId@odata.bind"="/new_skills(recordGUID)";
if your related entity is custom table then it should be new_skills in case your are using new_ as prefix. If your related table is any OOB table then please check your entity logical name.
Skills and Roles can not be the related entity name.
Please mark my answer verified if this is helpful!
Regards,
Bipin Kumar
Follow my Blog: xrmdynamicscrm.wordpress.com/
then you can use my tool Dataverse REST Builder (you can install the managed solution or use the XrmToolBox version) to create the javascript code (the endpoint in your case can be 9.0, 9.1 or 9.2, 8.1 is for CRM 2016 and is not supported inside my tool)
my tool can give you the exact syntax for all the fields you need to add to your action, especially lookups
you can also use the jQuery or the Fetch API syntax, because XMLHttpRequest is quite old (but my tool can generate also it)
after you can modify the generated code to adapt to your variables (url and IDs)
you can find the Dataverse REST Builder link in my signature
I'm using dynamics on browser, the version is 1710 (9.2.22023.140) online.
which exact version is this Dynamics CRM / 365 instance?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156