Skip to content

Commit 0ba3500

Browse files
authored
Merge pull request #7330 from MicrosoftDocs/jdaly-main-3833
Jdaly main 3833
2 parents accdb36 + 3c42d92 commit 0ba3500

File tree

8 files changed

+21
-8
lines changed

8 files changed

+21
-8
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

0 commit comments

Comments
 (0)