Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

Creating my first plugin in C# (Experts, I need help!)

$
0
0

Hi everyone, I am trying to create my first plugin for Dynamic CRM Online 2015. There was a very comprehensive tutorial on how to do this (Reference: msdn.microsoft.com/.../gg695782.aspx) but I'm stuck at the very first step!

It says to first generate early bound types:

Run the CrmSvcUtil.exe tool, with the Microsoft.Xrm.Client.CodeGeneration extension, to generate your entity classes and service contexts. The following is an example command to create a file called Xrm.cs that points at an instance of Microsoft Dynamics CRM. Note that the Microsoft.Xrm.Client.CodeGeneration.dll file must be in the same directory as the CrmSvcUtil.exe file, or in the system global assembly cache, when you run this command.

Then in MS-DOS type this command where the SDK is located (also has the CrmSvcUtil.exe file)

CrmSvcUtil.exe /codeCustomization:"Microsoft.Xrm.Client.CodeGeneration.CodeCustomization, Microsoft.Xrm.Client.CodeGeneration" /out:Xrm\Xrm.cs /url:crm/.../Organization.svc /domain:CONTOSO /username:administrator /password:pass@word1 /namespace:Xrm /serviceContextName:XrmServiceContext

However, I get this error message:

Exiting program with exception: Value cannot be null.
Parameter name: identityProvider
Enable tracing and view the trace files for more information.

I did replace the url parameter and domain with no luck. Can someone tell me what I should be putting in the command line if these are my values and what is the purpose of this?

How should this look like in the command line above and where do I find the domain value?

Organization Service:
testingdevelopment.api.crm.dynamics.com/.../Organization.svc


Viewing all articles
Browse latest Browse all 79901

Trending Articles