Skip to content

Commit fef0f80

Browse files
authored
Merge pull request MicrosoftDocs#1521 from MicrosoftDocs/master
Publish: tweaked working-with-environments
2 parents c52c186 + eb93ac8 commit fef0f80

File tree

6 files changed

+21
-29
lines changed

6 files changed

+21
-29
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
href: write-plug-in.md
8080
- name: Handle exceptions
8181
href: handle-exceptions.md
82-
- name: Inpersonate a user
82+
- name: Impersonate a user
8383
href: impersonate-a-user.md
8484
- name: Register a plug-in
8585
href: register-plug-in.md

powerapps-docs/developer/common-data-service/troubleshoot-plug-in.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Troubleshoot plug-ins (Common Data Service for Apps) | Microsoft Docs" # Intent and product brand in a unique string of 43-59 chars including spaces
33
description: "Contains information on errors that can occur due to plug-ins and how to fix them." # 115-145 characters including spaces. This abstract displays in the search result.
44
ms.custom: ""
5-
ms.date: 04/21/2019
5+
ms.date: 04/26/2019
66
ms.reviewer: ""
77
ms.service: "powerapps"
88
ms.topic: "article"
@@ -25,7 +25,9 @@ Error Code: `-2147220911`<br />
2525
Error Message: `There is no active transaction. This error is usually caused by custom plug-ins that ignore errors from service calls and continue processing.`
2626

2727
This can be a difficult error to address because the cause can be in someone else's code. To understand the message, you need to appreciate that any time an error related to a data operation occurs within a synchronous plug-in the transaction for the entire operation will be ended.
28-
[Scalable Customization Design in Common Data Service](scalable-customization-design/overview.md)
28+
29+
More information: [Scalable Customization Design in Common Data Service](scalable-customization-design/overview.md)
30+
2931
The most common cause is simply that a developer might believe they can attempt to perform an operation that *might* succeed so they wrap that operation in a try/catch block and attempt to swallow the error if it fails.
3032

3133
While this may work for a client application, within the execution of a plug-in any data operation failure will result in rolling back the entire transaction. You can't swallow the error, so you must make sure to always return an <xref:Microsoft.Xrm.Sdk.InvalidPluginExecutionException>.
@@ -67,4 +69,4 @@ You can register the plug-in to run in the context of a user known to have the c
6769

6870
<!-- But if you prefer that the logic in your plug-in adapt to the privileges that the calling user has, you really need to verify the user's privileges in your code.
6971
70-
TODO: Add content that shows how to do this -->
72+
TODO: Add content that shows how to do this -->

powerapps-docs/developer/common-data-service/write-listener-application-azure-solution.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ search.app:
2222

2323
# Write a listener application for a Azure solution
2424

25-
<!-- https://docs.microsoft.com/dynamics365/customer-engagement/developer/write-listener-application-azure-solution -->
26-
2725
This topic describes how to write an Azure solution listener application that can read and process Dynamics 365 (online) Common Data Service messages that are posted to the Azure Service Bus. As a prerequisite, you should familiarize yourself with how to write a Azure Service Bus listener before trying to learn the specifics of a Dynamics 365 listener. For more information, see the [Azure Service Bus documentation](https://azure.microsoft.com/en-us/documentation/services/service-bus/).
2826

2927
<a name="bkmk_writequeued"></a>
@@ -42,7 +40,7 @@ A *topic* is similar to a queue but implements a publish/subscribe model. One or
4240
> [!IMPORTANT]
4341
> To use these queue or topic contracts, you must write your listener applications using the [Azure SDK](http://azure.microsoft.com/downloads/archive-net-downloads/) version 1.7 or higher.
4442
45-
Use of queues and topics in your multi-system software design can result in the decoupling of systems. If the listener application ever becomes unavailable, the message delivery from Dynamics 365 will still succeed and the listener application can continue processing the queue message when it is back online. [!INCLUDEMore information [Queues, Topics, and Subscriptions](https://docs.microsoft.com/azure/service-bus-messaging/service-bus-queues-topics-subscriptions)
43+
Use of queues and topics in your multi-system software design can result in the decoupling of systems. If the listener application ever becomes unavailable, the message delivery from Dynamics 365 will still succeed and the listener application can continue processing the queue message when it is back online. More information: [Queues, Topics, and Subscriptions](https://docs.microsoft.com/azure/service-bus-messaging/service-bus-queues-topics-subscriptions)
4644

4745
<a name="bkmk_writeoneway"></a>
4846

@@ -143,4 +141,4 @@ else if (receivedMessage.ContentType = "application/xml")
143141
[Sample: Two-way Listener](org-service/samples/two-way-listener.md)
144142
[Sample: REST Listener](org-service/samples/rest-listener.md)
145143
[Send Dynamics 365 Data over the Azure Service Bus](work-data-azure-solution.md)
146-
[Work with Dynamics 365 event data in your Azure Event Hub solution](work-event-data-azure-event-hub-solution.md)
144+
[Work with Dynamics 365 event data in your Azure Event Hub solution](work-event-data-azure-event-hub-solution.md)

powerapps-docs/developer/component-framework/updating-existing-controls.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.tgt_pltfrm: ""
1111
ms.topic: "article"
1212
ms.assetid: d2cbf58a-9112-45c2-b823-2c07a310714c
1313
---
14-
# Updating existing custom controls
14+
# Updating existing custom components
1515

1616
[!INCLUDE[cc-beta-prerelease-disclaimer](../../includes/cc-beta-prerelease-disclaimer.md)]
1717

powerapps-docs/maker/canvas-apps/limits-and-config.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,10 @@ This list identifies all services to which PowerApps Studio talks and their usag
8989
| login.microsoft.com<br>login.windows.net<br>login.microsoftonline.com<br>secure.aadcdn.microsoftonline-p.com |https |ADAL |
9090
| graph.microsoft.com<br>graph.windows.net |https |Azure Graph - For getting user info (e.g. profile photo) |
9191
| gallery.azure.com |https |Sample and Template apps |
92-
| *.azure-apim.net |https |Api Hubs - Different sub-domains for each locale |
93-
| *.powerapps.com |https |WebAuth + Portal |
94-
| *.azureedge.net |https |WebAuth |
95-
| *.blob.core.windows.net |https |Blob storage |
92+
| \*.azure-apim.net |https |Api Hubs - Different sub-domains for each locale |
93+
| \*.powerapps.com |https |WebAuth + Portal |
94+
| \*.azureedge.net |https |WebAuth |
95+
| \*.blob.core.windows.net |https |Blob storage |
9696
| vortex.data.microsoft.com |https |Telemetry |
9797

9898
> [!NOTE]

powerapps-docs/maker/canvas-apps/working-with-environments.md

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ search.app:
1717
# Working with environments and Microsoft PowerApps
1818
With PowerApps, you can work in different environments and easily switch among them. For an overview of environments, see [Environments overview](../../administrator/environments-overview.md), which explains in detail why you use environments and how you can create and manage them. The scope of this article will cover the following topics on environment:
1919

20-
* how to switch the environment on powerapps.com
21-
* how to create an app in the right environment
22-
* how to view an app in the right environment
20+
- how to switch the environment on powerapps.com
21+
- how to create an app in the right environment
22+
- how to view an app in the right environment
2323

2424
## Switch the environment
2525
When you sign up and first sign in to powerapps.com, you will likely land in a default environment. You can verify this by looking at the upper-right corner of the page.
@@ -35,23 +35,15 @@ Once you switch to a different environment (such as Environment 1), you will see
3535
## Create apps in the right environment
3636
You can create apps in an environment that you create or for which you've been given access. Creating your own environment, however, requires a [specific plan](../../administrator/pricing-billing-skus.md). Before you create an app, always **make sure you select the environment you want to app to be in**. Otherwise, you will have to deal with moving apps between environments.
3737

38-
To create an app in the right environment, do either of the following:
38+
To create an app in the right environment:
3939

40-
- If PowerApps Studio isn't open, [sign in](http://web.powerapps.com?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc), select the environment you would like to create your app in, select **Apps** near the left edge, and then select **Create an app**.
40+
1. [Sign in to PowerApps](http://web.powerapps.com?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc).
4141

42-
- If PowerApps Studio is open, select the environment again at the top right corner.
42+
1. As the previous section describes, select the environment in which you would like to create your app.
4343

44-
5. On the **Account** page, select **Change** next to the name of the current environment.
45-
46-
6. Select the environment you want to create your app in.
47-
48-
![Studio switch environment](./media/working-with-environments/studio-env-dropdown2.PNG)
49-
50-
7. Select **New** to start creating an app. Your app now will reside in the environment you selected in step 6.
51-
52-
![Studio switch environment](./media/working-with-environments/new-app.PNG)
44+
1. Select **Apps** near the left edge, and then select **Create an app**.
5345

5446
## View apps in the right environment
55-
Whether you are working in [powerapps.com](http://web.powerapps.com?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc) or PowerApps Studio, the list of apps, connections, etc. that you see is always filtered based on the environment that's selected in the dropdown. If you don't see the apps you are looking for, always confirm whether the right environment is selected.
47+
Whether you are working in [powerapps.com](http://web.powerapps.com?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc) or PowerApps Studio, the list of apps, connections, etc. that you see is always filtered based on the environment that's selected in the dropdown. If you don't see the apps you're looking for, always confirm whether the right environment is selected.
5648

5749
For more information about environments, see [this overview](../../administrator/environments-overview.md).

0 commit comments

Comments
 (0)