Skip to content

Commit ce7b9b0

Browse files
committed
Merge remote-tracking branch 'origin/main' into u/anuitz/cardsdocs202211
merges from main
2 parents 08a2608 + 4af1208 commit ce7b9b0

File tree

13 files changed

+57
-37
lines changed

13 files changed

+57
-37
lines changed

.openpublishing.redirection.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
{
22
"redirections": [
3+
{
4+
"source_path": "powerapps-docs/developer/model-driven-apps/clientapi/reference/controls/removeOnPostSave.md",
5+
"redirect_url": "../../formContext-data-entity/removeOnPostSave",
6+
"redirect_document_id": false
7+
},
8+
{
9+
"source_path": "powerapps-docs/developer/model-driven-apps/clientapi/reference/controls/addOnPostSave.md",
10+
"redirect_url": "../../formContext-data-entity/addOnPostSave",
11+
"redirect_document_id": false
12+
},
313
{
414
"source_path": "powerapps-docs/developer/data-platform/org-service/metadata-retrieve-detect-changes.md",
515
"redirect_url": "../query-schema-definitions",

powerapps-docs/developer/model-driven-apps/TOC.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,8 +252,6 @@
252252
href: clientapi/reference/controls/addOnLookupTagClick.md
253253
- name: addOnOutputChange
254254
href: clientapi/reference/controls/addonoutputchange.md
255-
- name: addOnPostSave
256-
href: clientapi/reference/controls/addOnPostSave.md
257255
- name: addOnPostSearch
258256
href: clientapi/reference/controls/addOnPostSearch.md
259257
- name: addOnResultOpened
@@ -322,8 +320,6 @@
322320
href: clientapi/reference/controls/removeOnLookupTagClick.md
323321
- name: removeOnOutputChange
324322
href: clientapi/reference/controls/removeonoutputchange.md
325-
- name: removeOnPostSave
326-
href: clientapi/reference/controls/removeOnPostSave.md
327323
- name: removeOnPostSearch
328324
href: clientapi/reference/controls/removeOnPostSearch.md
329325
- name: removeOnResultOpened
@@ -374,6 +370,8 @@
374370
- name: formContext.data.entity
375371
href: clientapi/reference/formContext-data-entity.md
376372
items:
373+
- name: addOnPostSave
374+
href: clientapi/reference/formContext-data-entity/addOnPostSave.md
377375
- name: addOnSave
378376
href: clientapi/reference/formContext-data-entity/addOnSave.md
379377
- name: getDataXml
@@ -390,6 +388,8 @@
390388
href: clientapi/reference/formContext-data-entity/getPrimaryAttributeValue.md
391389
- name: isValid
392390
href: clientapi/reference/formContext-data-entity/isvalid.md
391+
- name: removeOnPostSave
392+
href: clientapi/reference/formContext-data-entity/removeOnPostSave.md
393393
- name: removeOnSave
394394
href: clientapi/reference/formContext-data-entity/removeOnSave.md
395395
- name: save

powerapps-docs/developer/model-driven-apps/clientapi/reference/events/postsave.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ PostSave event occurs after the `OnSave` event is complete. This event is used t
2323

2424
[!INCLUDE [cc_book-instead-of-save](../../../../../includes/cc_book-instead-of-save.md)]
2525

26-
Use the [addOnPostSave](../controls/addOnPostSave.md) and [removeOnPostSave](../controls/removeOnPostSave.md) methods to manage event handlers for this event.
26+
Use the [addOnPostSave](../formContext-data-entity/addOnPostSave.md) and [removeOnPostSave](../formContext-data-entity/removeOnPostSave.md) methods to manage event handlers for this event.
2727

2828
> [!NOTE]
2929
> This method is supported only on Unified Interface

powerapps-docs/developer/model-driven-apps/clientapi/reference/formContext-data-entity.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,15 @@ Provides properties and methods to retrieve information specific to the record d
3434
|Name|Description|
3535
|---------|-----------|
3636
|[addOnSave](formContext-data-entity/addOnSave.md)|[!INCLUDE[formContext-data-entity/includes/addOnSave-description.md](formContext-data-entity/includes/addOnSave-description.md)]|
37-
|[addOnPostSave](events/postsave.md)|This method is used to support or execute custom logic using web resources to perform after `Save` actions when the `save` event is successful or failed due to server errors.|
37+
|[addOnPostSave](formContext-data-entity/addOnPostSave.md)|[!INCLUDE [addonpostsave-description](formContext-data-entity/includes/addonpostsave-description.md)]|
3838
|[getDataXml](formContext-data-entity/getDataXml.md)|[!INCLUDE[formContext-data-entity/includes/getDataXml-description.md](formContext-data-entity/includes/getDataXml-description.md)]|
3939
|[getEntityName](formContext-data-entity/getEntityName.md)|[!INCLUDE[formContext-data-entity/includes/getEntityName-description.md](formContext-data-entity/includes/getEntityName-description.md)]|
4040
|[getEntityReference](formContext-data-entity/getEntityReference.md)|[!INCLUDE[formContext-data-entity/includes/getEntityReference-description.md](formContext-data-entity/includes/getEntityReference-description.md)]|
4141
|[getId](formContext-data-entity/getId.md)|[!INCLUDE[formContext-data-entity/includes/getId-description.md](formContext-data-entity/includes/getId-description.md)]|
4242
|[getIsDirty](formContext-data-entity/getIsDirty.md)|[!INCLUDE[formContext-data-entity/includes/getIsDirty-description.md](formContext-data-entity/includes/getIsDirty-description.md)]|
4343
|[getPrimaryAttributeValue](formContext-data-entity/getPrimaryAttributeValue.md)|[!INCLUDE[formContext-data-entity/includes/getPrimaryAttributeValue-description.md](formContext-data-entity/includes/getPrimaryAttributeValue-description.md)]|
4444
|[isValid](formContext-data-entity/isValid.md)|[!INCLUDE[formContext-data-entity/includes/isValid-description.md](formContext-data-entity/includes/isValid-description.md)]|
45+
|[removeOnPostSave](formContext-data-entity/removeOnPostSave.md)|[!INCLUDE [removeonpostsave-description](formContext-data-entity/includes/removeonpostsave-description.md)]|
4546
|[removeOnSave](formContext-data-entity/removeOnSave.md)|[!INCLUDE[formContext-data-entity/includes/removeOnSave-description.md](formContext-data-entity/includes/removeOnSave-description.md)]|
4647
|[save](formContext-data-entity/save.md)|[!INCLUDE[formContext-data-entity/includes/save-description.md](formContext-data-entity/includes/save-description.md)]|
4748

powerapps-docs/developer/model-driven-apps/clientapi/reference/controls/addOnPostSave.md renamed to powerapps-docs/developer/model-driven-apps/clientapi/reference/formContext-data-entity/addOnPostSave.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ contributors:
1818
---
1919
# addOnPostSave (Client API reference)
2020

21-
Adds an event handler to be called after the record is saved with success or failure.
21+
[!INCLUDE [addonpostsave-description](includes/addonpostsave-description.md)]
2222

2323
## Syntax
2424

Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Adds an event handler to the [PostSave Event](../../events/postsave.md) event.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Removes an event handler from the [PostSave Event](../../events/postsave.md) event.

powerapps-docs/developer/model-driven-apps/clientapi/reference/controls/removeOnPostSave.md renamed to powerapps-docs/developer/model-driven-apps/clientapi/reference/formContext-data-entity/removeOnPostSave.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ contributors:
1818
---
1919
# removeOnPostSave (Client API reference)
2020

21-
Removes the event handler from the [PostSave](../events/postsave.md) event.
21+
[!INCLUDE [removeonpostsave-description](includes/removeonpostsave-description.md)]
2222

2323
## Syntax
2424

powerapps-docs/developer/model-driven-apps/override-default-open-behavior-grids.md

Lines changed: 28 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -120,27 +120,37 @@ Create a custom button on the form where you want to change the default behavior
120120
1. Open the customization.xml file, copy the code below, replace the code inside the `RibbonDiffXml`:
121121

122122
```XML
123-
<RibbonDiffXml>
124-
<CustomActions>
125-
<CustomAction Id="cr5c1.Mscrm.OpenRecordItem.CustomAction" Location="Mscrm.SubGrid.contact.MainTab.Management.Controls._children" Sequence="28">
126-
<CommandUIDefinition>
127-
<Button Alt="$LocLabels:Mscrm.OpenRecordItem.Alt" Command="Mscrm.OpenRecordItem" Id="Mscrm.OpenRecordItem" LabelText="$LocLabels:Mscrm.OpenRecordItem.LabelText" Sequence="28" TemplateAlias="o1" ToolTipTitle="$LocLabels:Mscrm.OpenRecordItem.ToolTipTitle" ToolTipDescription="$LocLabels:Mscrm.OpenRecordItem.ToolTipDescription" />
128-
</CommandUIDefinition>
129-
</CustomAction>
130-
</CustomActions>
123+
<RibbonDiffXml>
124+
<CustomActions>
125+
<CustomAction Id="cr5c1.Mscrm.OpenRecordItem.CustomAction"
126+
Location="Mscrm.SubGrid.contact.MainTab.Management.Controls._children"
127+
Sequence="28">
128+
<CommandUIDefinition>
129+
<Button Alt="$LocLabels:Mscrm.OpenRecordItem.Alt"
130+
Command="Mscrm.OpenRecordItem"
131+
Id="Mscrm.OpenRecordItem"
132+
LabelText="$LocLabels:Mscrm.OpenRecordItem.LabelText"
133+
Sequence="28"
134+
TemplateAlias="o1"
135+
ToolTipTitle="$LocLabels:Mscrm.OpenRecordItem.ToolTipTitle"
136+
ToolTipDescription="$LocLabels:Mscrm.OpenRecordItem.ToolTipDescription" />
137+
</CommandUIDefinition>
138+
</CustomAction>
139+
</CustomActions>
131140
<Templates>
132-
<RibbonTemplates Id="Mscrm.Templates" />
133-
</Templates>
134-
<CommandDefinitions>
141+
<RibbonTemplates Id="Mscrm.Templates" />
142+
</Templates>
143+
<CommandDefinitions>
135144
<CommandDefinition Id="Mscrm.OpenRecordItem">
136-
<EnableRules />
137-
<DisplayRules />
138-
<Actions>
139-
<JavaScriptFunction FunctionName="ChangeBehavior" Library="$webresource:cr5c1_samplescript" />
140-
</Actions>
141-
</CommandDefinition>
145+
<EnableRules />
146+
<DisplayRules />
147+
<Actions>
148+
<JavaScriptFunction FunctionName="ChangeBehavior"
149+
Library="$webresource:cr5c1_samplescript" />
150+
</Actions>
151+
</CommandDefinition>
142152
</CommandDefinitions>
143-
</RibbonDiffXml>
153+
</RibbonDiffXml>
144154
```
145155

146156
> [!NOTE]

powerapps-docs/limits-and-config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: lancedMicrosoft
55
ms.topic: conceptual
66
ms.custom: canvas
77
ms.reviewer: tapanm
8-
ms.date: 10/21/2022
8+
ms.date: 11/15/2022
99
ms.subservice: canvas-maker
1010
ms.author: gregli
1111
search.audienceType:
@@ -97,7 +97,7 @@ This list identifies all services to which Power Apps communicates and their usa
9797
| \*.azureedge.net |https | create.powerapps.com, content.powerapps.com, and make.powerapps.com |
9898
| \*.blob.core.windows.net |https | Blob storage |
9999
| \*.flow.microsoft.com | https | create.powerapps.com, content.powerapps.com, and make.powerapps.com |
100-
| \*.dynamics.com | https | Microsoft Dataverse |
100+
| https://*.crm#.dynamics.com and http://*.crm#.dynamics.com | http and https | Required for environments access. Includes integration and static Content Delivery Network (CDN) content endpoints. <br /><br />Replace # in http://*.crm#.dynamics.com and https://*.crm#.dynamics.com with your region's number: <ul><li>Asia/Pacific: 5</li><li>Canada: 3 </li><li>Europe, Africa, and Middle East: 15 and 4</li><li>France: 12</li><li>Germany: 16</li><li>India: 8</li><li>Japan: 7</li><li>North America: no number</li><li>Oceania: 6</li><li>South Africa: 14</li><li>South America: 2</li><li>Switzerland: 17</li><li>UAE: 15</li><li>United Kingdom: 11</li><li>Dynamics 365 US Government: 9</li> |
101101
| vortex.data.microsoft.com |https |Telemetry |
102102
| localhost | https | Power Apps Mobile|
103103
| 127.0.0.1 | http | Power Apps Mobile|

0 commit comments

Comments
 (0)