Skip to content

Commit d7c4b12

Browse files
committed
Merge branch 'master' into canvasapp-1884974
2 parents 0b0c1e7 + dfb2bd0 commit d7c4b12

File tree

858 files changed

+13672
-8994
lines changed

Some content is hidden

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

858 files changed

+13672
-8994
lines changed

.openpublishing.publish.config.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,16 +105,19 @@
105105
"Publish",
106106
"PDF"
107107
],
108-
"alm-guide": [
108+
"alm-guide": [
109109
"Publish",
110110
"PDF"
111-
]
111+
]
112112
},
113113
"need_generate_pdf_url_template": true,
114114
"Targets": {
115115
"Pdf": {
116116
"template_folder": "_themes.pdf"
117117
}
118118
},
119-
"need_generate_intellisense": false
119+
"need_generate_intellisense": false,
120+
"docs_build_engine": {
121+
"name": "docfx_v3"
122+
}
120123
}

.openpublishing.redirection.json

Lines changed: 464 additions & 320 deletions
Large diffs are not rendered by default.

powerapps-docs/chatbots.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: Create chatbots from Power Apps | Microsoft Docs
3+
description: Provides information about how you can use AI Builder in Power Apps.
4+
author: iaanw
5+
ms.service: powerapps
6+
ms.topic: conceptual
7+
ms.custom:
8+
ms.date: 06/26/2020
9+
ms.author: iawilt
10+
ms.reviewer: mvakoc
11+
---
12+
# Create chatbots from Power Apps
13+
14+
Power Virtual Agents allows you to quickly create and maintain intelligent chatbots using a no-code interface. App makers can create and manage their chatbots directly from [Power Apps](https://make.powerapps.com).
15+
16+
![Chatbots from Power Apps](media/chatbots.png "Chatbots from Power Apps")
17+
18+
You can create and manage your chatbots using the **Chatbots** option in the left navigation pane.
19+
20+
- To create a chatbot, select **Chatbots**, then **Create**, and then select **New chatbot**. This will take you directly to the Power Virtual Agents portal where you can create your chatbot. For more information, see [Create a bot in Power Virtual Agents](https://docs.microsoft.com/power-virtual-agents/authoring-first-bot)
21+
22+
- After you have chatbots in your environment, you'll be able to view them by selecting **Chatbots** and then **List**. You can navigate directly to the Power Virtual Agents portal to update your bot or view analytics.
23+
24+
More information: [Power Virtual Agents docs](https://docs.microsoft.com/power-virtual-agents)

powerapps-docs/developer/common-data-service/TOC.yml

Lines changed: 4 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@
2727
href: use-fetchxml-left-outer-join-query-records-not-in.md
2828
- name: Page large result sets with FetchXML
2929
href: org-service/page-large-result-sets-with-fetchxml.md
30+
- name: Paging behaviors and ordering
31+
href: org-service/paging-behaviors-and-ordering.md
32+
- name: Use column comparison in queries
33+
href: column-comparison.md
3034
- name: "Use SQL to query data (Preview)"
3135
href: cds-sql-query.md
3236
- name: Saved Queries
@@ -302,37 +306,6 @@
302306
href: best-practices/work-with-metadata/index.md
303307
- name: Introduction to solutions
304308
href: introduction-solutions.md
305-
items:
306-
- name: Dependency tracking for solution components
307-
href: dependency-tracking-solution-components.md
308-
- name: Removing dependencies
309-
href: removing-dependencies.md
310-
- name: Maintain managed solutions
311-
href: maintain-managed-solutions.md
312-
- name: Organize your solutions
313-
href: organize-solutions.md
314-
- name: Organize your team to develop solutions
315-
href: organize-team-develop-solutions.md
316-
- name: Use managed properties
317-
href: use-managed-properties.md
318-
- name: Understand how managed solutions are merged
319-
href: understand-managed-solutions-merged.md
320-
- name: Create solutions that support multiple languages
321-
href: create-solutions-support-multiple-languages.md
322-
- name: How to manage solutions
323-
items:
324-
- name: Create, export, or import an unmanaged solution
325-
href: create-export-import-unmanaged-solution.md
326-
- name: Uninstall or delete a solution
327-
href: uninstall-delete-solution.md
328-
- name: Work with solutions
329-
href: work-solutions.md
330-
- name: Create, install, and update a managed solution
331-
href: create-install-update-managed-solution.md
332-
- name: Create patches to simplify solution updates
333-
href: create-patches-simplify-solution-updates.md
334-
- name: When to edit the customizations file
335-
href: when-edit-customization-file.md
336309
- name: Publish and monitor your (ISV) app
337310
items:
338311
- name: Publish your app on AppSource

powerapps-docs/developer/common-data-service/authenticate-oauth.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Use OAuth with Common Data Service (Common Data Service) | Microsoft Docs" # Intent and product brand in a unique string of 43-59 chars including spaces
33
description: "Learn how to authenticate using OAuth with Common Data Service" # 115-145 characters including spaces. This abstract displays in the search result.
4-
ms.custom: ""
4+
ms.custom: has-adal-ref
55
ms.date: 10/31/2018
66
ms.reviewer: "pehecke"
77
ms.service: powerapps

powerapps-docs/developer/common-data-service/best-practices/business-logic/avoid-batch-requests-plugin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ search.app:
3131

3232
## Symptoms
3333

34-
Due to their long-running nature, using <xref:Microsoft.Xrm.Sdk.Messages.ExecuteMultipleRequest> or <xref:Microsoft.Xrm.Sdk.Messages.ExecuteTransactionRequest> message request classes within the context of a plug-in or workflow activity expose sandbox-isolated plug-in types to the two-minute (12000ms) channel timeout exception and can degrade the user experience for synchronous registrations.
34+
Due to their long-running nature, using <xref:Microsoft.Xrm.Sdk.Messages.ExecuteMultipleRequest> or <xref:Microsoft.Xrm.Sdk.Messages.ExecuteTransactionRequest> message request classes within the context of a plug-in or workflow activity expose sandbox-isolated plug-in types to the two-minute (120000ms) channel timeout exception and can degrade the user experience for synchronous registrations.
3535

3636

3737
<a name='guidance'></a>

powerapps-docs/developer/common-data-service/best-practices/business-logic/do-not-duplicate-plugin-step-registration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Deleting and recreating a step in the source instance (test, dev, preprod) will
5656

5757
![Duplicate Plug-in Step Registration](../media/duplicate-plugin-registration-step.png)
5858

59-
Manually creating the `SDKMessageProcessingSteps` with a new GUID or updating the existing GUID within the `customizations.xml` file will result in a duplicate step being registered. These types of tasks are unsupported as outlined in [When to edit the customizations file](/powerapps/developer/model-driven-apps/when-edit-customization-file).
59+
Manually creating the `SDKMessageProcessingSteps` with a new GUID or updating the existing GUID within the `customizations.xml` file will result in a duplicate step being registered. These types of tasks are unsupported as outlined in [When to edit the customizations file](/power-platform/alm/when-edit-customization-file).
6060

6161
<a name='additional'></a>
6262

powerapps-docs/developer/common-data-service/best-practices/business-logic/optimize-assembly-development.md

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ description: "Consider merging separate plug-ins/custom workflow activities into
44
services: ''
55
suite: powerapps
66
documentationcenter: na
7-
author: jowells
8-
manager: austinj
7+
author: JimDaly
8+
manager: sunilg
99
editor: ''
1010
tags: ''
1111
ms.service: powerapps
@@ -14,7 +14,7 @@ ms.topic: article
1414
ms.tgt_pltfrm: na
1515
ms.workload: na
1616
ms.date: 1/15/2019
17-
ms.author: jowells
17+
ms.author: phecke
1818
search.audienceType:
1919
- developer
2020
search.app:
@@ -33,26 +33,30 @@ search.app:
3333

3434
When developing custom assemblies, there are a couple of considerations to take in:
3535

36+
1. Assemblies with a large number of custom workflow activities can take a long time to upload when being registered.
3637
1. Multiple different custom assemblies
3738
- Increased maintainability complexity
3839
- Potential increase plug-in execution length
40+
1. Sandbox assembly size constraint is 16 MB in Common Data Service.
3941

40-
2. Sandbox assembly size constraint is 16 MB in Common Data Service.
4142

4243
<a name='guidance'></a>
4344

4445
## Guidance
4546

46-
> [!NOTE]
47-
> Further Guidance clarification is under development regarding specific details in optimizing assembly development, such as, how to merge separate plug-ins into a single custom assembly and suggestions to minimize the assembly size.
47+
### Limit the number of Custom Workflow Activities in a Single assembly
48+
49+
When an assembly that contains custom workflow activities is uploaded during plug-in registration, additional checks are required for custom workflow activities.
50+
51+
While an assembly with hundreds of ordinary plug-in types may be uploaded very quickly, an assembly with more than 100 custom workflow activities may take several minutes or even time out when being registered or updated. We recommend including no more than 50 custom workflow activities in a single assembly.
4852

4953
### Consolidate Plug-ins or Custom Workflow Activities into a Single Assembly
5054

5155
Plug-ins and custom workflow activities developed for a Common Data Service solution should exist with others in a single Visual Studio project. Consider merging separate plug-ins/custom workflow activities into a single Visual Studio project/assembly unless the plug-ins fall into the following exceptions:
5256

5357
1. A plug-in/custom workflow activity needs to be selectively deployed to one environment but not to others.
54-
55-
2. The physical assembly size is near or greater than 16 MB for a Common Data Service instance.
58+
1. The physical assembly size is near or greater than 16 MB for a Common Data Service instance.
59+
1. There will be more than 50 custom workflow activities in the assembly, as mentioned in [Limit the number of Custom Workflow Activities in a Single assembly](#limit-the-number-of-custom-workflow-activities-in-a-single-assembly)
5660

5761

5862
### Move Plug-ins/Custom Workflow Activities into Multiple Assemblies
@@ -63,7 +67,12 @@ Power Apps and Dynamics 365 (online) has an assembly size constraint of 16 MB wh
6367

6468
## Problematic patterns
6569

70+
### Assemblies take a long time to upload when being registered
71+
72+
When a custom workflow activity type plug-in is uploaded while being registered, each type requires additional validation checking. When an assembly contains more than a hundred custom workflow activity type plug-ins, it could require several minutes to complete the checks and is at risk of timing out.
73+
6674
### Multiple assemblies
75+
6776
Having multiple assemblies has a couple of areas that can be impacted:
6877

6978
1. Performance - each assembly has a lifecycle that is managed by Common Data Service. This includes loading, caching, and unloading the assemblies. Having more than one assembly causes more work to be done on the server, loading and caching an assembly, and could affect the overall plug-in/custom workflow activity execution length.

powerapps-docs/developer/common-data-service/best-practices/work-with-data/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ This list below contains all of the best practices and guidance around integrati
3131
|[Service Protection API Limits (Common Data Service)](../../api-limits.md) |Understand the limits for API requests. |
3232

3333
### See Also
34-
[Work with data using code in Common Data Service (Power Apps)](../../work-with-data-cds.md)<br />
34+
[Work with data using code in Common Data Service (Power Apps)](../../work-with-data-cds.md)<br />

powerapps-docs/developer/common-data-service/build-web-applications-server-server-s2s-authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ S2S authentication means you don’t need to use a paid Power Apps user license
3232
| Scenario | Description |
3333
|---------------|---------------|
3434
| Multi-Tenant | This is the most common scenario and the one which is used for apps distributed using Microsoft AppSource.<br /><br /> Each Common Data Service tenant is associated with an Azure AD tenant. Your web application or service is registered with your Azure AD tenant.<br /><br /> In this scenario any Common Data Service tenant can potentially use your multi-tenant application after they grant consent for the application to access data in their tenant. |
35-
| Single-Tenant | This scenario typically applies to Common Data Service environments that want to develop apps for their own tenant and don’t intend to distribute them to other [Common Data Service environments.<br /><br /> An enterprise can create a web application or service to connect to all the Common Data Service environments for their tenant.<br /><br /> In this scenario, your web application or service will only be able to connect to Common Data Service environments using the same Azure AD tenant. |
35+
| Single-Tenant | This scenario typically applies to Common Data Service environments that want to develop apps for their own tenant and don’t intend to distribute them to other Common Data Service environments.<br /><br /> An enterprise can create a web application or service to connect to all the Common Data Service environments for their tenant.<br /><br /> In this scenario, your web application or service will only be able to connect to Common Data Service environments using the same Azure AD tenant. |
3636

3737
Both scenarios have common elements but there are some differences. Since multi-tenant is the most common scenario, the [Use Multi-Tenant Server-to-server authentication](use-multi-tenant-server-server-authentication.md) content describes how you can use S2S in this scenario and include notes where the options for single-tenant configuration is different.
3838

0 commit comments

Comments
 (0)