Skip to content
Branch: master
Find file History
phecke Merge pull request #82 from microsoft/pehecke-msdn-sample-migration
Several workflow samples migrated from MSDN
Latest commit e0f6cfc Jan 14, 2020
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
GenerateEntityDiagram
LoginUX Using correct globally approved app registration values May 15, 2018
Xrm Tooling Changing text to Common Data Service Oct 14, 2019
media Added know issue information Jun 13, 2019
online-management-api added admin api sample Nov 23, 2019
orgsvc/C# Several workflow samples migrated from MSDN Jan 14, 2020
webapi/C# Changed GDS version Dec 17, 2019
App.config Update App.config Dec 30, 2019
README.md Fixes Jun 13, 2019

README.md

How to run Common Data Service samples?

  1. Download or clone the repo so that you have a local copy.
  2. (Optional) Edit the cds/App.config file to define a connection string specifying the Common Data service instance you want to connect to.
  3. Open the sample solution in Visual Studio and press F5 to run the sample.
    • If you have specified a connection string in cds/App.config, any sample you run will use that connection information.
    • If you haven't specified a connection string in cds/App.config file, a dialog (XRM tooling common login control) will open each time you run the sample and you will need to enter information about which Common Data Service instance you want to connect to and which credentials you want to use. This dialog will cache previous connections so that you can choose a previously used connection. See the Known issue and its workaround later for this scenario.

The samples in this repo that require a connection to a Common Data Service instance to run will include a linked reference to the cds/App.config file.

Known issue

With the recent changes to .NET Framework, an exception is thrown when a sample tries to open the XRM tooling common login control dialog. As a workaround for the time being, do one of the following:

  • Specify a connection string in cds/App.config to run the samples.

  • Enable HTTP Activation on your computer where you are running the samples, and then run the sample without specifying a connection string in cds/App.config.

This issue will be resolved in a future update when we distribute the updated assemblies through our NuGet package.

You can’t perform that action at this time.