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
elseif(req.Parameters.ContainsKey("Target")&& req.Parameters["Target"]is EntityReference entRef)// this should cover things that have targets.
{
cReq=new Entity(entRef.LogicalName, entRef.Id);
}
As you can see the problem is that the KeyAttributes won't get evaluated when the Target parameter is of type EntityReference and so the request url will be invalid: accounts(00000000-0000-0000-0000-000000000000)
Let me know if I should provide a fix via PR. Thanks in advance!
The text was updated successfully, but these errors were encountered:
We have accepted your changes, but cannot commit the PR here as it will be overwritten by the master, we will link the Update to this issue to close it when we push it live.
Hi @MattB-msft
sorry for the late reply...
These are great news! So should I close my pending PR or will it be merged once your internal repo is mirrored?
Hi,
Unfortunately when trying to delete a record using alternate key I receive the following exception.
My code snippet
Exception
I investigated further and have found the root cause of this issue here:
PowerPlatform-DataverseServiceClient/src/GeneralTools/DataverseClient/Client/ConnectionService.cs
Lines 1582 to 1585 in e365070
As you can see the problem is that the
KeyAttributes
won't get evaluated when theTarget
parameter is of typeEntityReference
and so the request url will be invalid:accounts(00000000-0000-0000-0000-000000000000)
Let me know if I should provide a fix via PR. Thanks in advance!
The text was updated successfully, but these errors were encountered: