rappen / CustomActionTester

MIT License
7 stars 2 forks source link

API bound to an entity collection requires selecting a target before enabling the Execute button #38

Open majblackburn opened 1 month ago

majblackburn commented 1 month ago

Sending the target to this endpoint results in an "unrecognized parameter" error (since collection-bound APIs don't get a Target).

majblackburn commented 1 month ago

System.ServiceModel.FaultException<Microsoft.Xrm.Sdk.OrganizationServiceFault>:
Unrecognized request parameter: Target
Custom API Tester

Server stack trace: 
- System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
- System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
- System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
- System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]: 
- Microsoft.Xrm.Tooling.Connector.CrmServiceClient.Execute(OrganizationRequest request)
- Rappen.XTB.CAT.CustomActionTester.<>c__DisplayClass27_0.<ExecuteCA>b__0(BackgroundWorker worker, DoWorkEventArgs args)
- System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
- System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)