Tools

On this page you can download the tools I developed for this blog.

Entity Relation Diagram Creator for XrmToolBox

A plugin for the legendary XrmToolBox in which you can create Entity Relation Diagrams based on any Dynamics CRM solution, the way you want for the audience you want.

 

 

 

 

 

 

 

 

 

JourneyIntoCRM.CrmCodeGen_1_0_0_0.zip

A Code generator that generates C# data classes for all entities within you CRM solution. The tool is operated from the command prompt and can be used within an automated build environment

Usage:

CrmCodeGen -Path: <Path name> -Url: <Url CRM Organization>
-Solution: <Solution name> -NameSpace: <NameSpace>
-NewFile: <true/false> -UserName: <UserName>
-Password: <Password> -Prefix: <prefix>

  • -Path: <Path name>
    Output path to which the files will be written e.g.  c:\temp.
  • -Url: <Url CRM Organization>
    Url of the CRM organization, e.g. https://localhost/development.
  • -Solution: or -S: <Solution name>
    Unique name of the CRM solution, e.g. MySolution.
  • -NameSpace: or -NS: <Namespace>
    Namespace of generated classes.
  • -NewFile: or -New: <true/false>
    Optional: if set to false, all classes will be written to Entities.cs.
    Default value = true, resulting in one file per class.
  • -UserName: or -User: <UserName>
    Optional: name/email address of the CRM user.
    If omitted, the Windows user will be used to connect.
  • -Password: or -Pwd: <Password>  
    Optional: password of the CRM user.
    If omitted, the Windows user will be used to connect.
  • –PublisherPrefix: or -Prefix: <Prefix>
    Optional: the publisher prefix used in CRM, e.g. jcrm_  or jcrm.
    If specified, the prefix is stripped from the entities and attributes, resulting in cleaner code.