Skip to content

Commit f252b0a

Browse files
committed
Merge branch 'master' into canvas-portals-2022837
2 parents 5e6cd4d + 7ace47e commit f252b0a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+332
-105
lines changed

powerapps-docs/developer/common-data-service/api-limits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ If your application is currently using the low-level <xref:Microsoft.Xrm.Sdk.Cli
333333

334334
More information:
335335

336-
- [Build Windows client applications using the XRM tools](/xrm-tooling/build-windows-client-applications-xrm-tools).
336+
- [Build Windows client applications using the XRM tools](xrm-tooling/build-windows-client-applications-xrm-tools.md).
337337
- [Deprecation of Office365 authentication type and OrganizationServiceProxy class for connecting to Common Data Service](/power-platform/important-changes-coming#deprecation-of-office365-authentication-type-and-organizationserviceproxy-class-for-connecting-to-common-data-service)
338338

339339
### Use Task Parallel Library with CrmServiceClient

powerapps-docs/developer/common-data-service/xrm-tooling/use-connection-strings-xrm-tooling-connect.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ CrmServiceClient svc = new CrmServiceClient(ConnectionString);
7070
|`StoreName` or `CertificateStoreName`|Specifies the store name where the certificate identified by thumbprint can be found. When set, Thumbprint is required.|
7171
|`Thumbprint` or `CertThumbprint`| Specifies the thumbprint of the certificate to be utilized during an S2S connection. When set, AppID is required and UserID and Password values are ignored.|
7272
|`SkipDiscovery`|Specifies whether to call instance discovery to determine the connection uri for a given instance. As of NuGet release Microsoft.CrmSdk.XrmTooling.CoreAssembly Version 9.0.2.7, default = true. Older versions default to false. <br/> Note: If set to true, it is important that the user provide the correct and accurate URI for the target instance.|
73+
|`Integrated Security`|Specifies to use current windows credentials to attempt to create a token for the instances. As of NuGet release Microsoft.CrmSdk.XrmTooling.CoreAssembly Version 9.1.0.21|
7374

7475
> [!NOTE]
7576
> <b>When using the `OAuth` AuthType\AuthenticationType</b><br/>
-38 KB
Loading

powerapps-docs/developer/model-driven-apps/understand-dashboards-dashboard-components-formxml.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,11 @@ Dashboards are one of the different types of forms in model-driven apps. You can
5050
## Dashboard components and FormXML elements
5151
The dashboard components are displayed in model-driven apps based on the values specified in the FormXML. The following image shows an example of a dashboard. Each dashboard can include multiple tabs. Tabs are a vertical stack separating the body of the dashboard, and can be expanded or collapsed. A tab can contain multiple sections. Sections enable for grouping and layout of dashboard components.
5252

53-
<!-- TODO: image not found ![Dashboard components layout](../media/crm-v5s-dashboards-components.png "Dashboard components layout") -->
53+
![Dashboard components layout](media/crm-v5s-dashboards-components.png "Dashboard components layout")
5454

5555
<a name="SupportedFormXMLElements"></a>
5656
## FormXML elements supported for dashboards
57+
5758
Although dashboards are a type of forms, not all FormXML elements and attributes are supported by dashboards. The following table provides information about the FormXML elements, child elements, and attributes supported by dashboards.
5859

5960
For sample FormXML for different types of dashboards, see [Sample Dashboards](sample-dashboards.md).

powerapps-docs/maker/TOC.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,6 @@
4747
items:
4848
- name: Basic navigation
4949
href: ../user/navigation.md
50-
- name: Use grid filters
51-
href: ../user/grid-filters.md
52-
- name: Create personal views with advanced grid filters
53-
href: ../user/grid-filters-advanced.md
5450
- name: View your profile
5551
href: ../user/view-your-user-profile.md
5652
- name: Find your admin or support person
@@ -82,11 +78,23 @@
8278
- name: Add a connection role
8379
href: ../user/add-connection-role.md
8480
- name: Deactivate accounts or contacts
85-
href: ../user/deactivate-activate-account-contact.md
81+
href: ../user/deactivate-activate-account-contact.md
82+
- name: Work with grid filters
83+
items:
84+
- name: Use grid filters
85+
href: ../user/grid-filters.md
86+
- name: Create personal views with advanced grid filters
87+
href: ../user/grid-filters-advanced.md
88+
- name: Charts and dashboards
89+
items:
8690
- name: Track your progress with dashboards and charts
8791
href: ../user/track-your-progress-with-dashboard-and-charts.md
92+
- name: View charts on a page or in a record
93+
href: ../user/chart_on_form.md
94+
- name: Use interactive dashboards to filter data
95+
href: ../user/interactive-dashboards.md
8896
- name: Add Power BI dashboards
89-
href: ../user/add-powerbi-dashboards.md
97+
href: ../user/add-powerbi-dashboards.md
9098
- name: Work with email
9199
items:
92100
- name: View and create email through the activities grid
@@ -1707,6 +1715,8 @@
17071715
href: ./common-data-service/view-component-dependencies.md
17081716
- name: Use environment variables
17091717
href: ./common-data-service/EnvironmentVariables.md
1718+
- name: Create a connection reference
1719+
href: ./common-data-service/create-connection-reference.md
17101720
- name: Translate customized component text
17111721
items:
17121722
- name: Overview

powerapps-docs/maker/common-data-service/EnvironmentVariables.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Preview: Use environment variables in solutions | MicrosoftDocs"
2+
title: "Use environment variables in solutions | MicrosoftDocs"
33
description: "Use environment variables to migrate application configuration data in solutions."
44
Keywords: environment variables, variables, model-driven app, configuration data
55
author: caburk
@@ -15,15 +15,14 @@ search.app:
1515
- PowerApps
1616
- D365CE
1717
---
18-
# Preview: Environment variables overview
19-
20-
[!INCLUDE[cc-beta-prerelease-disclaimer](../../includes/cc-beta-prerelease-disclaimer.md)]
18+
# Environment variables overview
2119

2220
Apps and flows often require different configuration settings across environments. Environment variables as configurable input parameters allow management of data separately compared to hard-coding values within your customization or using additional tools. Because they're solution components, performance is much better than importing configuration data as record data.
2321

2422
Benefits of using environment variables:
2523
- No need to manually edit configurable values in a production environment.
2624
- Configure one or more variables in one place and reference like a parameter across multiple solution components.
25+
- Enter different values while importing solutions to other environments.
2726
- Update values without a code change.
2827
- Granular level security managed by [Common Data Service](https://docs.microsoft.com/powerapps/maker/common-data-service/data-platform-intro).
2928
- Unlimited number of variables (max solution size is 29 MB).
@@ -32,9 +31,6 @@ Benefits of using environment variables:
3231
- Support for localization.
3332
- Can be used to control feature flags and other application settings.
3433

35-
> [!IMPORTANT]
36-
> - This is a preview feature.
37-
> - [!INCLUDE[cc_preview_features_definition](../../includes/cc-preview-features-definition.md)]
3834

3935
## How do they work?
4036
Environment variables can be created and managed through the modern solution interface or by [using code](https://docs.microsoft.com/powerapps/developer/common-data-service/work-with-data-cds). A separate JSON file is created within your solution package for the values, which can also be managed in source control and modified in a build pipeline. Export to and import from Excel is supported. After creating environment variables, you can use them as inputs within plug-ins, flows, and other components.
@@ -55,7 +51,15 @@ Environment variables can be created and managed through the modern solution int
5551
> ![New environment variable](media/new-environment-variable.png)
5652
5753
>[!NOTE]
58-
> A value can't exist without a definition. The interface only allows creation of one value per definition.
54+
> A value can't exist without a definition. The interface only allows creation of one value per definition.
55+
56+
## Enter new values while importing solutions
57+
58+
The modern solution import interface includes the ability to enter values for environment variables. This sets the value property on the `environmentvariablevalue` entity.
59+
60+
You will not be prompted if the environment variables already have either a default value or value present; whether values are part of your solution or are already present in Common Data Service.
61+
>[!NOTE]
62+
> You may remove the value from your solution before exporting the solution. This ensures the existing value will remain in your development environment, but not get exported in the solution. This approach allows a new value to be set while importing the solution into other environments.
5963
6064
## Notifications
6165
A notification is displayed when the environment variables do not have any values. This is a reminder to set the values so that components dependent on variables do not fail. It also allows partners to ship variables without values and the customer is prompted to input the values.
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
title: "Connection references in solutions | MicrosoftDocs"
3+
description: "Create a connection reference in Power Apps"
4+
ms.custom: ""
5+
ms.date: 08/27/2020
6+
ms.reviewer: "matp"
7+
ms.service: powerapps
8+
ms.topic: "article"
9+
author: "caburk"
10+
caps.latest.revision: 57
11+
ms.author: "caburk"
12+
manager: "kvivek"
13+
search.audienceType:
14+
- maker
15+
search.app:
16+
- PowerApps
17+
- D365CE
18+
---
19+
# Create a connection reference from a solution
20+
21+
[!INCLUDE [cc-beta-prerelease-disclaimer](../../includes/cc-beta-prerelease-disclaimer.md)]
22+
23+
A connection is a proxy or a wrapper around an API that allows the underlying service to talk to Microsoft Power Automate, Microsoft Power Apps, and Azure Logic Apps. It provides a way for users to connect their accounts and use a set of pre-built actions and triggers to build their apps and workflows.
24+
25+
A connection reference is a solution component that contains information about a connector. Both canvas app and operations within a Power Automate flow bind to a connection reference. You can import your connection reference into a target environment with no further configuration needed after the import completes. To change a specific connection associated with a canvas app or flow, you edit the connection reference component within the solution.
26+
27+
> [!NOTE]
28+
>
29+
> - Canvas apps and flows handle connections differently. Flows use connection references for all connectors, whereas canvas apps only use them for implicitly shared connections, such as SQL Server. More information: [Security and types of authentication](../canvas-apps/connections-list.md#security-and-types-of-authentication)
30+
> - A connection reference is automatically created when you create new connections from the flow and canvas app designers.
31+
32+
1. Sign in to [Power Apps](https://make.powerapps.com/?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc), and on the left pane select **Solutions**.
33+
2. Create a new or open an existing solution.
34+
3. On the command bar select **New**, and then in the list of components select Connection Reference.
35+
4. On the **New Connection Reference** pane, enter the following information. Required fields a denoted with an asterisk (*).
36+
- **Display name**: Enter a friendly name to help differentiate this connection reference from others.
37+
- **Description**: Enter text that describes the connection.
38+
- **Connector**: Choose from the following options:
39+
- Select an existing connector from the list.
40+
- Select **New** to create a new connection to use for this connection reference. Once your finished creating the connection, select **Refresh** to select your new connection from the list.
41+
5. Select **Create**.
42+
43+
## Limits
44+
45+
During the preview, the same connection reference can be used a maximum of 16 times in flows.
46+
47+
### See also
48+
49+
[Connectors](/connectors/connectors)

powerapps-docs/maker/common-data-service/import-update-export-solutions.md

Lines changed: 29 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Import solutions | MicrosoftDocs"
33
description: "Learn how to import a solution in Power Apps"
44
ms.custom: ""
5-
ms.date: 08/06/2020
5+
ms.date: 08/27/2020
66
ms.reviewer: ""
77
ms.service: powerapps
88
ms.topic: "article"
@@ -17,12 +17,14 @@ search.app:
1717
- PowerApps
1818
- D365CE
1919
---
20-
# Import solutions
20+
# Import solutions
2121

22-
You can manually import solutions using the steps in this article. You must import only those solutions that you've obtained from a trusted source. Customizations might include code that can send data to external sources.
22+
[!INCLUDE [cc-beta-prerelease-disclaimer](../../includes/cc-beta-prerelease-disclaimer.md)]
23+
24+
You can manually import solutions using the steps in this article. You must import only those solutions that you've obtained from a trusted source.
2325

2426
> [!NOTE]
25-
> - To import a solution that includes a plug-in assembly, the **Create** privilege on the **Plug-In Assembly** entity is required. By default, the System Administrator security role has this privilege, but the System Customizer security role doesn’t.
27+
> - The create privilege is required to import a component. Although, the System Customer security role has create privilege on most components that are commonly imported, by default it doesn't have create privilege on the **Plug-In Assembly** entity. The System Administrator security role has this privilege.
2628
> - When you import a managed solution, all component changes will be brought into the environment in a published state. However, when you import an unmanaged solution, the changes are imported in a draft state so you must publish them to make them active.
2729
> - To implement healthy application lifecycle management (ALM) in your organization, consider using a source control system to store and collaborate on your solutions, and automate the solution import process. More information: [ALM basics](/power-platform/alm/basics-alm) in the Power Platform ALM guide.
2830
@@ -32,29 +34,38 @@ When you import an **unmanaged** solution:
3234

3335
To import a solution:
3436

35-
1. Sign into [Power Apps](https://make.powerapps.com/?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc) and select **Solutions** from the left navigation.
37+
1. Sign into [Power Apps](https://make.powerapps.com/?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc) and select **Solutions** from the left navigation.
3638

37-
2. On the command bar, select **Import**.
39+
1. On the command bar, select **Import**.
3840

3941
> [!div class="mx-imgBorder"]
4042
> ![Import solution](media/solution-import.png "Import solution")
4143
42-
3. On the **Select Solution Package** page, select **Browse** to locate the compressed (.zip or .cab) file that contains the solution you want to import.
43-
44-
4. Select **Next**.
45-
46-
5. Information about the solution is displayed. Select **Import**.
47-
48-
6. You may need to wait a few moments while the import completes. View the results and then select **Close**.
49-
50-
If you have imported any changes that require publishing, you must publish customizations before they are available.
44+
1. On the **Import a solution** page, select **Browse** to locate the compressed (.zip or .cab) file that contains the solution you want to import.
45+
46+
1. Select **Next**.
5147

52-
If the import isn’t successful, you will see a report showing any errors or warnings that were captured. Select **Download Log File** to capture details about what caused the import to fail. The most common cause for an import to fail is that the solution did not contain some required components.
48+
1. Information about the solution is displayed. By default, in the **Advanced settings** section, if SDK messages and flows exist in the solution, they will be imported. Clear the **Enable SDK messages and flows included in the solution** option if you want them to import in an inactive state.
49+
50+
1. If your solution contains [connection references](create-connection-reference.md), you’ll be prompted to select the connections you want. If a connection does not already exist, create a new one. Click **Next**.
51+
52+
1. If your solution contains [environment variables](EnvironmentVariables.md), you will be prompted to enter values. You will not see this screen if value(s) are already present in your solution or the target environment.
53+
54+
1. Select **Import**.
55+
56+
Your solution imports in the background and may take a few moments.
5357

54-
When you download the log file, you will find an XML file that you can open using Office Excel to view the contents.
58+
If you have imported any changes that require publishing, you must publish customizations before they are available.
5559

60+
If the import isn’t successful, you will see a notification on the solutions page showing any errors or warnings that were captured. Select **Download Log File** to capture details about what caused the import to fail. The most common cause for an import to fail is that the solution did not contain some required components.
61+
62+
When you download the log file, you will find an XML file that you can open using Office Excel to view the contents.
63+
5664
> [!NOTE]
57-
> You can’t edit an active routing rule set. Therefore, if you’re importing a solution that includes an active routing rule set into an environment where the rule already exists with the same ID, the import will fail. More information: [Create rules to automatically route cases](https://docs.microsoft.com/dynamics365/customer-engagement/customer-service/create-rules-automatically-route-cases)
65+
> You can view the details of all solution operations including solution import with the [solution history](solution-history.md) feature. To view these operations, select **See history** on the solutions page.
66+
67+
<!--
68+
> You can’t edit an active routing rule set. Therefore, if you’re importing a solution that includes an active routing rule set into an environment where the rule already exists with the same ID, the import will fail. More information: [Create rules to automatically route cases](https://docs.microsoft.com/dynamics365/customer-engagement/customer-service/create-rules-automatically-route-cases) -->
5869

5970
## Troubleshooting solution import
6071

162 KB
Loading

0 commit comments

Comments
 (0)