Closed jatinnchhatbar closed 7 months ago
Hi @jatinnchhatbar, the code you posted is to create 1:N relationship records when creating a new record, it applies to all relationships and not only activity parties, for example the same syntax can be applied when creating account and contacts together. Adding this feature is not planned
While creaing new appointment , the DRB Editor doesn't allow selection of appointment_activity_parties Web API supports one to many relationship activity parties entities included in the web API call
see the example here
https://xrmdynamicscrm.wordpress.com/2020/06/18/dynamics-crm-365-web-api-add-required-peopleactivity-party-to-an-appointment/
similarly while creating new email activity the editor should allow the selection of activity parties like https://community.dynamics.com/blogs/post/?postid=f324587f-6069-425c-85b9-df5f487a010b https://www.cloudfronts.com/blog/d365-enterprise/d365-general/creating-an-email-activity-in-ms-crm-through-webapi/
Reference may be helpful
https://learn.microsoft.com/en-us/power-apps/developer/data-platform/webapi/reference/activityparty?view=dataverse-latest
https://learn.microsoft.com/en-us/dynamics365/customerengagement/on-premises/developer/activityparty-entity?view=op-9-1