-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.config.example
More file actions
31 lines (30 loc) · 1.42 KB
/
Copy pathApp.config.example
File metadata and controls
31 lines (30 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1" />
</startup>
<connectionStrings>
<!-- OAuth example -->
<add name="CrmConnection"
connectionString="AuthType=OAuth;Url=https://yourorg.crm.dynamics.com/;Username=user@domain.com;Password=YourPassword;AppId=51f81489-12ee-4a9e-aaae-a2591f45987d;RedirectUri=app://58145B91-0C36-4500-8554-080854F2AC97;LoginPrompt=Auto" />
<!-- Client Secret example -->
<!--
<add name="CrmConnection"
connectionString="AuthType=ClientSecret;Url=https://yourorg.crm.dynamics.com/;ClientId=YOUR_APP_ID;ClientSecret=YOUR_CLIENT_SECRET" />
-->
</connectionStrings>
<appSettings>
<!-- DLL path -->
<add key="AssemblyPath" value="C:\Path\To\YourPlugin.dll" />
<!-- Target entity -->
<add key="TargetEntityName" value="contact" />
<add key="TargetEntityId" value="00000000-0000-0000-0000-000000000000" />
<!-- Plugin message type: Create, Update, Delete, etc. -->
<add key="MessageName" value="Create" />
<!-- true: entity is retrieved from CRM | false: an empty entity is created with just the ID -->
<add key="RetrieveEntity" value="true" />
<!-- For Custom Action -->
<add key="CA_EntityName" value="account" />
<add key="CA_EntityId" value="00000000-0000-0000-0000-000000000000" />
</appSettings>
</configuration>