Xrm.Tools.CRMWebAPI icon indicating copy to clipboard operation
Xrm.Tools.CRMWebAPI copied to clipboard

Create Records using BatchList : The method or operation is not implemented

Open joseRdzP opened this issue 5 years ago • 6 comments

Hi everyone,

I'm trying an example to create multiple records in Dynamics 365 by using a Batch List, I'm working with the given example in:

https://github.com/davidyack/Xrm.Tools.CRMWebAPI/blob/master/dotnet/Xrm.Tools.WebAPI.Test/BasicCRUDTests.cs

My code is something like this:

image

I have another method to perform the Creation of the records as well:

image

But when debugging the code I'm receiving an error that says "The method or operation is not implemented", here are the error details:

image

Have you ever seen this kind of error? Or can you please tell me if there's something wrong with my code? Hope you can help me!

Thanks in advance! Best Regards, Alberto.

joseRdzP avatar Jun 04 '19 16:06 joseRdzP

Are you using .net core or .net standard? some of the libs required by $batch processing was not the same and it hasn't been updated for those yet

davidyack avatar Jun 04 '19 17:06 davidyack

I'm using the next one:

image

Thank you!

joseRdzP avatar Jun 04 '19 18:06 joseRdzP

@davidyack Is there any update regarding this? Thank you!

joseRdzP avatar Jun 26 '19 16:06 joseRdzP

No update, just needs research to find the equivlent processing of the output from .NET Core/Standard that full framework provides - any insight anyone might offer is welcome as it would speed up getting it added

davidyack avatar Jun 26 '19 17:06 davidyack

Hey David, I forked your project and fixed the bulk operations for .NET Core & .Net Standard. However, it did require some updates to libraries and a reference to a new library. Would you be apposed to updating the Newtonsoft package reference? I noticed that 3 different versions (8.x,9.x,10.x) were referenced in your projects and wasn't sure if there was a good reason for it.

cfranchuk avatar Jan 17 '20 19:01 cfranchuk

@joseRdzP , I'll be opening a pull request in a couple of days (already coded, going to test a bit more) and submitting the changes for @davidyack to review and merge.

I've updated the project to .netstandard 2.0 (that support .net framwork 4.6.2 and .net core 3.1)

this should work now once my changes are merged.

mohsinonxrm avatar Jun 18 '20 17:06 mohsinonxrm