Skip to content

Commit 2f9825d

Browse files
authored
Live publish
2 parents fe62e6e + 4af1208 commit 2f9825d

File tree

11 files changed

+53
-32
lines changed

11 files changed

+53
-32
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/maker/data-platform/update-solutions.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ description: "Learn how to update or upgrade a solution in Power Apps"
44
ms.custom: ""
55
ms.date: 09/14/2021
66
ms.reviewer: ""
7-
87
ms.suite: ""
98
ms.tgt_pltfrm: ""
109
ms.topic: "article"
@@ -50,13 +49,13 @@ The procedure to import the updated solution is similar to installing a new mana
5049

5150
5. This page displays a yellow bar indicating **This solution package contains an update for a solution that is already installed**. To upgrade the solution, select **Next**. To view additional options, expand **Advanced settings**, and then select from the following solution action options:
5251
- **Upgrade**
53-
This is the default option and upgrades your solution to the latest version and rolls up all previous patches in one step. Any components associated to the previous solution version that are not in the newer solution version will be deleted. This is the recommended option as it will ensure that your resulting configuration state is consistent with the importing solution including removal of components that are no longer part of the solution.
52+
This is the default option and upgrades your solution to the latest version and rolls up all previous patches in one step. Any components associated to the previous solution version that are not in the newer solution version will be deleted. This option will ensure that your resulting configuration state is consistent with the importing solution including removal of components that are no longer part of the solution.
5453

5554
- **Stage for Upgrade**
5655
This option upgrades your solution to the higher version, but defers the deletion of the previous version and any related patches until you apply a solution upgrade later. This option should only be selected if you want to have both the old and new solutions installed in the system concurrently so that you can do some data migration before you complete the solution upgrade. Applying the upgrade will delete the old solution and any components that are not included in the new solution.
5756

5857
- **Update**
59-
This option replaces your solution with this version. Components that are not in the newer solution won't be deleted and will remain in the system. This option is not recommended as your destination environment will differ in configuration from your source environment and could cause issues that are difficult to reproduce and diagnose.
58+
This option replaces your solution with this version. Components that are not in the newer solution won't be deleted and will remain in the system. Be aware that this option might result in your destination environment differing in configuration from your source environment and could cause issues that are difficult to reproduce and diagnose.
6059

6160
8. Decide whether to enable the following option for post import actions:
6261
- **Enable plug-in steps and flows included in the solution**

0 commit comments

Comments
 (0)