forked from microsoft/PowerApps-Samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dc48aec
commit e25b82c
Showing
2 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,19 @@ | ||
# How to run samples | ||
# How to run Common Data Service samples? | ||
|
||
1. Download or clone the repo so that you have a local copy. | ||
1. (Optional) Edit the cds/App.config file to define a connection string specifying the Common Data service instance you want to connect to. | ||
2. 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 will open each time you run the sample and you will need to enter information about which CDS for Apps 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. | ||
- If you haven't specified a connection string in cds/App.config file, a dialog ([XRM tooling common login control](https://docs.microsoft.com/powerapps/developer/common-data-service/xrm-tooling/use-xrm-tooling-common-login-control-client-applications)) 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. | ||
> [!NOTE] | ||
> **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 update assemblies through our [NuGet package](https://www.nuget.org/packages/Microsoft.CrmSdk.XrmTooling.WpfControls/). | ||
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. | ||
|
||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.