You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, we have integrated Simple.Odata.Client in one of our application to interact with D365 Crm API. We can create different entity records but, we are confused why it requires the uniqueIdentifier "Id" to be passed with proper value while creating a record in D365Crm? provided that, CRM itself maintains uniqueIdentifier. For example,
We are creating a Contact record as below,
var result = await client.For().Set(new Contact { Id = Guid.NewGuid(), Name = "Test Contact"}).InsertEntryAsync();
return result.Id;
Here we are forced to pass the "Id" with new Guid while D365Crm manages itself. If we don't pass this value, we are getting below error,
"d365crm Expected non-empty Guid"
Would anyone be able to help us?
Thanks,
Najjaf
The text was updated successfully, but these errors were encountered:
Hi, we have integrated Simple.Odata.Client in one of our application to interact with D365 Crm API. We can create different entity records but, we are confused why it requires the uniqueIdentifier "Id" to be passed with proper value while creating a record in D365Crm? provided that, CRM itself maintains uniqueIdentifier. For example,
We are creating a Contact record as below,
var result = await client.For().Set(new Contact { Id = Guid.NewGuid(), Name = "Test Contact"}).InsertEntryAsync();
return result.Id;
Here we are forced to pass the "Id" with new Guid while D365Crm manages itself. If we don't pass this value, we are getting below error,
"d365crm Expected non-empty Guid"
Would anyone be able to help us?
Thanks,
Najjaf
The text was updated successfully, but these errors were encountered: