Skip to content

Commit

Permalink
Adding webhooks to sample solution to demonstrate configuration (#4703)
Browse files Browse the repository at this point in the history
* Adding webhooks to sample solution to demonstrate configuration

* Test

* Adding webhook

* Fixing connection references

* Updating webhook name

---------

Co-authored-by: Michael Peltier <[email protected]>
  • Loading branch information
mikefactorial and Michael Peltier authored Feb 7, 2023
1 parent b2fff9d commit 6df15ff
Show file tree
Hide file tree
Showing 12 changed files with 109 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<CanvasApp xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Name>cat_devopskitsamplecanvasapp_c7ec5</Name>
<AppVersion>2022-11-21T14:46:24Z</AppVersion>
<AppVersion>2023-01-17T21:39:17Z</AppVersion>
<Status>Ready</Status>
<CreatedByClientVersion>3.22101.23.0</CreatedByClientVersion>
<MinClientVersion>3.22101.23.0</MinClientVersion>
Expand All @@ -14,7 +14,7 @@
<CommitMessage></CommitMessage>
<Publisher></Publisher>
<AuthorizationReferences>[]</AuthorizationReferences>
<ConnectionReferences>{"e59b1586-e0e2-4a1c-b88a-e19e2accb482":{"id":"/providers/microsoft.powerapps/apis/shared_sharepointonline","displayName":"SharePoint","iconUri":"https://connectoricons-prod.azureedge.net/releases/v1.0.1610-greyhound-localization-RelayFix/1.0.1610.3091/sharepointonline/icon.png","dataSources":["Issue tracker"],"dependencies":[],"dependents":[],"parameterHints":{},"parameterHintsV2":{},"isOnPremiseConnection":false,"bypassConsent":false,"dataSets":{},"apiTier":"Standard","actions":["providers/PowerPlatform.Governance/Operations/Read"],"isCustomApiSolutionAware":false},"18dbb169-663d-404e-bd75-30571c216086":{"id":"/providers/microsoft.powerapps/apis/shared_logicflows","displayName":"Logic flows","iconUri":"https://connectoricons-prod.azureedge.net/releases/v1.0.1534/1.0.1534.2605/logicflows/icon.png","dataSources":["CallMeFromCanvasApp"],"dependencies":["56c3c912-cadd-4845-8b9e-add12b081d6e"],"dependents":[],"parameterHints":{"workflowName":{"value":"fe7f1374-da16-4c4e-8419-7345da85d158"},"workflowEntityId":{"value":"71cc728c-2487-eb11-a812-000d3a8fe6a3"},"56c3c912-cadd-4845-8b9e-add12b081d6e":{"value":"shared_cat-5fenvironmentvariableconnector-5f691c36f6fa56d15c_1"}},"parameterHintsV2":{"workflowName":{"value":"fe7f1374-da16-4c4e-8419-7345da85d158"},"workflowEntityId":{"value":"71cc728c-2487-eb11-a812-000d3a8fe6a3"},"shared_cat-5fenvironmentvariableconnector-5f691c36f6fa56d15c_1":{"value":"56c3c912-cadd-4845-8b9e-add12b081d6e"}},"isOnPremiseConnection":false,"bypassConsent":false,"dataSets":{},"apiTier":"Standard","actions":["Run"],"isCustomApiSolutionAware":false},"56c3c912-cadd-4845-8b9e-add12b081d6e":{"id":"/providers/Microsoft.PowerApps/apis/shared_cat-5fenvironmentvariableconnector-5f423905aa27d80aa6","displayName":"EnvironmentVariableConnector","iconUri":"https://az787822.vo.msecnd.net/defaulticons/api-dedicated.png","dataSources":["EnvironmentVariableConnector"],"dependencies":[],"dependents":["18dbb169-663d-404e-bd75-30571c216086"],"parameterHints":{},"parameterHintsV2":{},"isOnPremiseConnection":false,"bypassConsent":false,"dataSets":{},"apiTier":"Standard","actions":["GetResponse"],"customApiLogicalName":"cat_5Fenvironmentvariableconnector","isCustomApiSolutionAware":true},"274c39a6-716b-4e9f-ada1-7e56df6b32f4":{"id":"/providers/microsoft.powerapps/apis/shared_logicflows","displayName":"Logic flows","iconUri":"https://connectoricons-prod.azureedge.net/releases/v1.0.1534/1.0.1534.2605/logicflows/icon.png","dataSources":["GetEnvironmentVariableValues"],"dependencies":[],"dependents":[],"parameterHints":{"workflowName":{"value":"25f3d172-0e1d-46e2-8f01-43a057d38afb"},"workflowEntityId":{"value":"16a25ccc-8b7f-ec11-8d21-0022482cfe1b"}},"parameterHintsV2":{"workflowName":{"value":"25f3d172-0e1d-46e2-8f01-43a057d38afb"},"workflowEntityId":{"value":"16a25ccc-8b7f-ec11-8d21-0022482cfe1b"}},"isOnPremiseConnection":false,"bypassConsent":false,"dataSets":{},"apiTier":"Standard","actions":["Run"],"isCustomApiSolutionAware":false},"84957c4a-6ca3-44a9-acbe-b111beff794e":{"id":"/providers/microsoft.powerapps/apis/shared_logicflows","displayName":"Logic flows","iconUri":"https://connectoricons-prod.azureedge.net/releases/v1.0.1534/1.0.1534.2605/logicflows/icon.png","dataSources":["LikeQuote"],"dependencies":["a7ab58b2-3d87-4b20-9914-0fbfdf21f059"],"dependents":[],"parameterHints":{"workflowName":{"value":"dad0c6e4-d86c-4d3b-8fdd-7b2f4273693d"},"workflowEntityId":{"value":"90d90640-11bc-ec11-983f-0022483403a3"},"a7ab58b2-3d87-4b20-9914-0fbfdf21f059":{"value":"shared_commondataserviceforapps_1"}},"parameterHintsV2":{"workflowName":{"value":"dad0c6e4-d86c-4d3b-8fdd-7b2f4273693d"},"workflowEntityId":{"value":"90d90640-11bc-ec11-983f-0022483403a3"},"shared_commondataserviceforapps_1":{"value":"a7ab58b2-3d87-4b20-9914-0fbfdf21f059"}},"isOnPremiseConnection":false,"bypassConsent":false,"dataSets":{},"apiTier":"Standard","actions":["Run"],"isCustomApiSolutionAware":false},"a7ab58b2-3d87-4b20-9914-0fbfdf21f059":{"id":"/providers/microsoft.powerapps/apis/shared_commondataserviceforapps","displayName":"Microsoft Dataverse","iconUri":"https://connectoricons-prod.azureedge.net/u/juanq/releases/v1.0.1609-localization/1.0.1609.3085/commondataserviceforapps/icon.png","dataSources":[],"dependencies":[],"dependents":["84957c4a-6ca3-44a9-acbe-b111beff794e"],"parameterHints":{},"parameterHintsV2":{},"isOnPremiseConnection":false,"bypassConsent":false,"dataSets":{},"apiTier":"Premium","isCustomApiSolutionAware":false}}</ConnectionReferences>
<ConnectionReferences>{"e59b1586-e0e2-4a1c-b88a-e19e2accb482":{"id":"/providers/microsoft.powerapps/apis/shared_sharepointonline","displayName":"SharePoint","iconUri":"https://connectoricons-prod.azureedge.net/u/juanq/gateway/greyhound/3000.150.11/1.0.1613.3116/sharepointonline/icon.png","dataSources":["Issue tracker"],"dependencies":[],"dependents":[],"parameterHints":{},"parameterHintsV2":{},"isOnPremiseConnection":false,"bypassConsent":false,"dataSets":{},"apiTier":"Standard","actions":["providers/PowerPlatform.Governance/Operations/Read"],"isCustomApiSolutionAware":false},"18dbb169-663d-404e-bd75-30571c216086":{"id":"/providers/microsoft.powerapps/apis/shared_logicflows","displayName":"Logic flows","iconUri":"https://connectoricons-prod.azureedge.net/releases/v1.0.1534/1.0.1534.2605/logicflows/icon.png","dataSources":["CallMeFromCanvasApp"],"dependencies":["56c3c912-cadd-4845-8b9e-add12b081d6e"],"dependents":[],"parameterHints":{"workflowName":{"value":"14b90667-8e76-4a10-bad7-5f736319848a"},"workflowEntityId":{"value":"71cc728c-2487-eb11-a812-000d3a8fe6a3"},"56c3c912-cadd-4845-8b9e-add12b081d6e":{"value":"shared_cat-5fenvironmentvariableconnector-5f691c36f6fa56d15c_1"}},"parameterHintsV2":{"workflowName":{"value":"14b90667-8e76-4a10-bad7-5f736319848a"},"workflowEntityId":{"value":"71cc728c-2487-eb11-a812-000d3a8fe6a3"},"shared_cat-5fenvironmentvariableconnector-5f691c36f6fa56d15c_1":{"value":"56c3c912-cadd-4845-8b9e-add12b081d6e"}},"isOnPremiseConnection":false,"bypassConsent":false,"dataSets":{},"apiTier":"Standard","actions":["Run"],"isCustomApiSolutionAware":false},"56c3c912-cadd-4845-8b9e-add12b081d6e":{"id":"/providers/Microsoft.PowerApps/apis/shared_cat-5fenvironmentvariableconnector-5f423905aa27d80aa6","displayName":"EnvironmentVariableConnector","iconUri":"https://az787822.vo.msecnd.net/defaulticons/api-dedicated.png","dataSources":["EnvironmentVariableConnector"],"dependencies":[],"dependents":["18dbb169-663d-404e-bd75-30571c216086"],"parameterHints":{},"parameterHintsV2":{},"isOnPremiseConnection":false,"bypassConsent":false,"dataSets":{},"apiTier":"Standard","actions":["GetResponse"],"customApiLogicalName":"cat_5Fenvironmentvariableconnector","isCustomApiSolutionAware":true},"274c39a6-716b-4e9f-ada1-7e56df6b32f4":{"id":"/providers/microsoft.powerapps/apis/shared_logicflows","displayName":"Logic flows","iconUri":"https://connectoricons-prod.azureedge.net/releases/v1.0.1534/1.0.1534.2605/logicflows/icon.png","dataSources":["GetEnvironmentVariableValues"],"dependencies":[],"dependents":[],"parameterHints":{"workflowName":{"value":"2a6e5c44-7c37-46bc-bda6-26fa0813847c"},"workflowEntityId":{"value":"16a25ccc-8b7f-ec11-8d21-0022482cfe1b"}},"parameterHintsV2":{"workflowName":{"value":"2a6e5c44-7c37-46bc-bda6-26fa0813847c"},"workflowEntityId":{"value":"16a25ccc-8b7f-ec11-8d21-0022482cfe1b"}},"isOnPremiseConnection":false,"bypassConsent":false,"dataSets":{},"apiTier":"Standard","actions":["Run"],"isCustomApiSolutionAware":false},"84957c4a-6ca3-44a9-acbe-b111beff794e":{"id":"/providers/microsoft.powerapps/apis/shared_logicflows","displayName":"Logic flows","iconUri":"https://connectoricons-prod.azureedge.net/releases/v1.0.1534/1.0.1534.2605/logicflows/icon.png","dataSources":["LikeQuote"],"dependencies":["a7ab58b2-3d87-4b20-9914-0fbfdf21f059"],"dependents":[],"parameterHints":{"workflowName":{"value":"14f1d29b-7f78-47da-ab43-c12be009e003"},"workflowEntityId":{"value":"90d90640-11bc-ec11-983f-0022483403a3"},"a7ab58b2-3d87-4b20-9914-0fbfdf21f059":{"value":"shared_commondataserviceforapps_1"}},"parameterHintsV2":{"workflowName":{"value":"14f1d29b-7f78-47da-ab43-c12be009e003"},"workflowEntityId":{"value":"90d90640-11bc-ec11-983f-0022483403a3"},"shared_commondataserviceforapps_1":{"value":"a7ab58b2-3d87-4b20-9914-0fbfdf21f059"}},"isOnPremiseConnection":false,"bypassConsent":false,"dataSets":{},"apiTier":"Standard","actions":["Run"],"isCustomApiSolutionAware":false},"a7ab58b2-3d87-4b20-9914-0fbfdf21f059":{"id":"/providers/microsoft.powerapps/apis/shared_commondataserviceforapps","displayName":"Microsoft Dataverse","iconUri":"https://connectoricons-prod.azureedge.net/u/juanq/releases/v1.0.1609-localization/1.0.1609.3085/commondataserviceforapps/icon.png","dataSources":[],"dependencies":[],"dependents":["84957c4a-6ca3-44a9-acbe-b111beff794e"],"parameterHints":{},"parameterHintsV2":{},"isOnPremiseConnection":false,"bypassConsent":false,"dataSets":{},"apiTier":"Premium","isCustomApiSolutionAware":false}}</ConnectionReferences>
<DatabaseReferences>{}</DatabaseReferences>
<CanConsumeAppPass>1</CanConsumeAppPass>
<CanvasAppType>0</CanvasAppType>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,28 @@
"label": 1,
"rectangle": 5
},
"OverridablePropertiesEntry": {
"14ffd89e-6254-4aa3-912a-d68be74303f8": {},
"App": {},
"btnCallCustomConnector": {},
"dbb9db76-91b4-478c-b403-e563c1b62caf": {},
"galleryTemplate2": {},
"glrSharepoint": {},
"icoLike": {},
"Image2": {},
"imgLogo": {},
"lblCustomConnectorResponse": {},
"lblFlowMessage": {},
"lblMyWork": {},
"lblTitleTextEnvVariable": {},
"MainScreen": {},
"NextArrow2": {},
"Separator2": {},
"Subtitle2": {},
"Test_7F478737223C4B69": {},
"Title2": {}
},
"PCFDynamicSchemaForIRRetrievalEntry": {},
"PublishOrderIndices": {
"14ffd89e-6254-4aa3-912a-d68be74303f8": 0,
"App": 0,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"ClientBuildDetails": {
"CommitHash": "b5d3554453d9bc19ae4ac8b2fa1bb39d680927e2",
"CommitHash": "37fdac2d8b3c76aee4d69d8983436f0aed54ed35",
"IsLocalBuild": false
},
"ClientPerFileChecksums": {
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<ImportExportXml version="9.2.22104.224" SolutionPackageVersion="9.2" languagecode="1033" generatedBy="CrmLive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ImportExportXml version="9.2.22123.204" SolutionPackageVersion="9.2" languagecode="1033" generatedBy="CrmLive" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SolutionManifest>
<UniqueName>ALMAcceleratorSampleSolution</UniqueName>
<LocalizedNames>
Expand Down Expand Up @@ -89,6 +89,7 @@
<RootComponent type="372" id="{b464e249-0bf7-48c0-8350-24476349bac1}" schemaName="cat_5Fenvironmentvariableconnector" behavior="0" />
<RootComponent type="62" schemaName="cat_AlmAcceleratorSampleMda" behavior="0" />
<RootComponent type="80" schemaName="cat_AlmAcceleratorSampleMda" behavior="0" />
<RootComponent type="95" id="{ba34c8ae-e6a2-ed11-aad1-000d3a32af20}" behavior="0" />
</RootComponents>
<MissingDependencies>
<MissingDependency>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<ServiceEndpoints xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ServiceEndpoint ServiceEndpointId="{ba34c8ae-e6a2-ed11-aad1-000d3a32af20}" Name="SampleHook">
<ConnectionMode>1</ConnectionMode>
<Contract>8</Contract>
<Path></Path>
<SolutionNamespace></SolutionNamespace>
<UserClaim>1</UserClaim>
<IsCustomizable>1</IsCustomizable>
<AuthType>5</AuthType>
<MessageFormat>2</MessageFormat>
<NamespaceFormat>1</NamespaceFormat>
<Url>https://microsoft.com</Url>
<UseKeyVaultConfiguration>0</UseKeyVaultConfiguration>
</ServiceEndpoint>
</ServiceEndpoints>
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,11 @@
],
"AadGroupTeamConfiguration": [

]
],
"WebhookUrls": [
{
"SchemaName": "SampleHook",
"Value": "#{webhookurl.SampleHook}#"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@
{
"SchemaName": "cat_JsonEnvironmentVariable",
"Value": "#{environmentvariable.cat_JsonEnvironmentVariable}#"
},
{
"SchemaName": "cat_shared_sharepointonline_97456712308a4e65aae18bafcd84c81f",
"Value": "#{environmentvariable.cat_shared_sharepointonline_97456712308a4e65aae18bafcd84c81f}#"
},
{
"SchemaName": "cat_shared_sharepointonline_21f63b2d26f043fb85a5c32fc0c65924",
"Value": "#{environmentvariable.cat_shared_sharepointonline_21f63b2d26f043fb85a5c32fc0c65924}#"
}
],
"ConnectionReferences": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,11 @@
],
"AadGroupTeamConfiguration": [

]
],
"WebhookUrls": [
{
"SchemaName": "SampleHook",
"Value": "#{webhookurl.SampleHook}#"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,11 @@
],
"AadGroupTeamConfiguration": [

]
],
"WebhookUrls": [
{
"SchemaName": "SampleHook",
"Value": "#{webhookurl.SampleHook}#"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@
{
"SchemaName": "cat_JsonEnvironmentVariable",
"Value": "#{environmentvariable.cat_JsonEnvironmentVariable}#"
},
{
"SchemaName": "cat_shared_sharepointonline_97456712308a4e65aae18bafcd84c81f",
"Value": "#{environmentvariable.cat_shared_sharepointonline_97456712308a4e65aae18bafcd84c81f}#"
},
{
"SchemaName": "cat_shared_sharepointonline_21f63b2d26f043fb85a5c32fc0c65924",
"Value": "#{environmentvariable.cat_shared_sharepointonline_21f63b2d26f043fb85a5c32fc0c65924}#"
}
],
"ConnectionReferences": [
Expand Down

0 comments on commit 6df15ff

Please sign in to comment.