Key to entity Diagrams
The following is the key to the entity model diagrams shown in the Microsoft
Dynamics crm sdk documentation. notice that the relationships to
Organization, business unit, and user (systemuser) entities have been filtered
Out to simplify the diagrams. The color coding shows if the entity is owned
One of these entities.
All entity diagrams in the SDK were generated using the metadata di1_full
Sample that reads the metadata and uses Microsoft Visio to draw an entity
Relationship digoal. For more information, see list of samples in the SDK
Download.
List of samples in the SDK download
List of samples in
The SDK download
The SDK download contains the following full samples demonstrating the use
Features in the SDK, complete with Microsoft Visual Studio solutions, ready
You to build and integrate into Microsoft Dynamics CRM. the download is located
At http://go.microsoft.com/fwlink? Linkid = 102966 & clcid = 0x409.
The how to samples can be found in this section. The reference samples can be
Found with each message and method used ented In the SDK. In addition,
Download includes the full samples described below.
Server Sample Code
The following table lists the full samples encoded ded In the download in
Folder SDK/Server/fullsample.
Folder name |
Description |
Onlineofflineplugin |
This sample shows how to write an online plug-in and an offline Plug-in which work together to perform the same operation only one time.When a plug-in is registered for both online and offline execution, Plug-in cocould be executed twice. If the plug-in executes while offline it will Be executed again when the client goes online and synchronizes with Microsoft Dynamics CRM server. This sample demonstrates a simple technique ExamineCalleroriginProperty of the plug-in context to determine if The offline plug-in has already executed and completed MED the desired Operation. |
Customworkflowactivity |
This custom workflow activity can be configured to fire when Opportunity's "est. Close date" is updated. The code in the Assembly will check To see if the estimated close date has changed by more than 10 days, and will Send an e-mail alert if it has. |
Databinding |
This sample demonstrates how to bind the results of a retrieve Or query to a winform data grid. |
Datamigration |
This sample shows how to use data migration with a complex Mapping. |
Importexportpublish |
This sample has des an XML file with bank accounts and safe Deposit boxes as new entities that need to be imported. The sample shows Following process:
- Export current mizmizations for the purposes of providing a backup
- Import the included XML file that contains new mizmizations.
- Publish the imported mizmizations.
|
Metadatadiagram |
This sample command line tool creates a Microsoft Office Visio Dimo-detailing relationships between Microsoft Dynamics CRM entities.First, this sample reads all the Entity names from the parameter list or Ults to all entities. It creates a Visio Object for the entity, and for each Entity related to the entity, and then it links them together. Finally, the file Is saved. |
Multicurrencyplugin |
This sample demonstrates how to override the built-in Retrieveexchangerate plug-in with a custom retrieveexchangerate plug-in. Custom plug-in allows for tracking orders that happened in the past. In this Scenario, orders are initially tracked on paper. At a later point in time, when The user creates this order in Microsoft Dynamics CRM, the user wants to specify A past exchange rate that is relevant at the time the order was created on Paper. |
Plugininstaller |
This sample contains an installer for a plug-in. |
Pluginpostinvoice |
This sample contains a post-event plug-in for an invoice Update a custom field (year to date revenue) to be the total amount of all Invoices during the current fiscal year for the customer. |
Pluginpreaccount |
This sample shows how to use pre-event plug-in on accounts Auto-generate the account number. |
Usinghelpers |
This sample demonstrates how to use the Helper code to create Query and to instantiate types. |
Client sample code
The following table lists the full samples encoded ded In the download in
Folder SDK/cient/fullsample.
Folder name |
Description |
Activityevents |
The phone call activity form is customized to include a customer Field namedCall typeWith the following values:
- Cold Call
- Screening
- Call-back
- Follow-up
- Other
On the customized phone call form, the duration and a custom field named Other Call typeIs disabled. If the user choosesOther, Other Call typeField is changed to be enabled and Required. |
Dynamicpicklists |
UsingOnchangeMethod, when the industry value is Changed, the sub-industry picklist is filtered. If an industry is chosen that Does not contain a sub-industry, the sub-industry field is disabled. |