Skip to content

Commit d017629

Browse files
authored
Merge pull request #8257 from MicrosoftDocs/main
pushing to live
2 parents 53fa9db + 5c04af4 commit d017629

File tree

5 files changed

+51
-111
lines changed

5 files changed

+51
-111
lines changed

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8644,6 +8644,11 @@
86448644
"source_path": "powerapps-docs/maker/common/wrap/how-to.md",
86458645
"redirect_url": "/power-apps/maker/common/wrap/wrap-how-to",
86468646
"redirect_document_id": false
8647+
},
8648+
{
8649+
"source_path": "powerapps-docs/maker/common/formula-repair.md",
8650+
"redirect_url": "/power-apps/maker/canvas-apps/working-with-formulas",
8651+
"redirect_document_id": false
86478652
}
86488653
]
86498654
}

powerapps-docs/developer/data-platform/configure-entity-relationship-cascading-behavior.md

Lines changed: 45 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ suite: powerapps
55
author: NHelgren
66
ms.author: nhelgren
77
ms.topic: article
8-
ms.date: 04/25/2023
8+
ms.date: 06/01/2023
99
ms.subservice: dataverse-developer
1010
search.audienceType:
1111
- developer
@@ -27,7 +27,7 @@ More information: [Create a One-to-Many relationship using Web API](webapi/creat
2727

2828
## Using Organization Service to configure cascading behavior
2929

30-
When you use <xref:Microsoft.Xrm.Sdk.Messages.CreateOneToManyRequest> or <xref:Microsoft.Xrm.Sdk.Messages.UpdateRelationshipRequest> you include an instance of a <xref:Microsoft.Xrm.Sdk.Metadata.OneToManyRelationshipMetadata> class in the body of the request. In the <xref:Microsoft.Xrm.Sdk.Metadata.OneToManyRelationshipMetadata.CascadeConfiguration> property of that class you use the <xref:Microsoft.Xrm.Sdk.Metadata.CascadeConfiguration> class.
30+
When you use <xref:Microsoft.Xrm.Sdk.Messages.CreateOneToManyRequest> or <xref:Microsoft.Xrm.Sdk.Messages.UpdateRelationshipRequest>, you include an instance of a <xref:Microsoft.Xrm.Sdk.Metadata.OneToManyRelationshipMetadata> class in the body of the request. In the <xref:Microsoft.Xrm.Sdk.Metadata.OneToManyRelationshipMetadata.CascadeConfiguration> property of that class you use the <xref:Microsoft.Xrm.Sdk.Metadata.CascadeConfiguration> class.
3131

3232
The `CascadeConfiguration` (<xref:Microsoft.Xrm.Sdk.Metadata.CascadeConfiguration> class or <xref:Microsoft.Dynamics.CRM.CascadeConfiguration?text=CascadeConfiguration ComplexType>) contains the properties representing actions that may be performed on the referenced table in the one-to-many relationship. Each property can be assigned one of the values of the <xref:Microsoft.Dynamics.CRM.CascadeType?text=CascadeType EnumType>.
3333

@@ -42,7 +42,7 @@ The `CascadeConfiguration` (<xref:Microsoft.Xrm.Sdk.Metadata.CascadeConfiguratio
4242

4343
**Active Records considered for Cascading action**
4444

45-
Cascading actions on active records will only include records that have a state code of "Active". The following State Codes for these tables, are considered Active for Cascade actions. Different labels (other than Active) may be used for this state code in different tables. Any custom state or status code with values other than below will not be processed as an active record for cascading purposes.
45+
Cascading actions on active records only include records that have a state code of "Active". The following State Codes for these tables, are considered Active for Cascade actions. Different labels (other than Active) may be used for this state code in different tables. Any custom state or status code with values other than below won't be processed as an active record for cascading purposes.
4646

4747
| Table Name | State Code 0 | State Code 1 | State Code 2 | State Code 3 |
4848
| :--------------------------------| :----------------: | :----------------: | :----------------: | :-----------------: |
@@ -79,7 +79,7 @@ The `CascadeConfiguration` (<xref:Microsoft.Xrm.Sdk.Metadata.CascadeConfiguratio
7979
|------------|-----------------|-------------------|
8080
|Assign|The referenced table record owner and/or business unit is changed.|Active<br />Cascade<br />NoCascade<br />UserOwned|
8181
|Delete|The referenced table record is deleted. **Note:** The options for this action are limited.|Cascade<br />RemoveLink<br />Restrict|
82-
|Merge|The record is merged with another record. **Note:** For referenced tables that can be merged, Cascade is the only valid option. In other cases use NoCascade.|Cascade<br />NoCascade|
82+
|Merge|The record is merged with another record. **Note:** For referenced tables that can be merged, Cascade is the only valid option. In other cases, use NoCascade.|Cascade<br />NoCascade|
8383
|Reparent|See [About the reparent action](#about-the-reparent-action) later.|Active<br />Cascade<br />NoCascade<br />UserOwned|
8484
|Share|When the referenced table record is shared with another user.|Active<br />Cascade<br />NoCascade<br />UserOwned|
8585
|Unshare|When sharing is removed for the referenced table record.|Active<br />Cascade<br />NoCascade<br />UserOwned|
@@ -97,10 +97,11 @@ The `CascadeConfiguration` (<xref:Microsoft.Xrm.Sdk.Metadata.CascadeConfiguratio
9797
> if they want to continue using it.
9898
9999
### About the assign action
100-
The assign action allows the owner, the Owning Business Unit or both owner and business unit updates to be cascaded down to all child records when the parent record is updated.
100+
101+
The assign action allows the owner, the Owning Business Unit, or both owner and business unit updates to be cascaded down to all child records when the parent record is updated.
101102

102103
#### Allowed record ownership across business units not enabled
103-
When the [allow record ownership across business units](/power-platform/admin/wp-security-cds#to-enable-this-matrix-data-access-structure-preview) is not enabled, the Owning Business Unit column can't be explicitly updated when changing the record's owner. The following lists the cascading behaviors when the parent's record owner is updated.
104+
When the [allow record ownership across business units](/power-platform/admin/wp-security-cds#to-enable-this-matrix-data-access-structure-preview) isn't enabled, the Owning Business Unit column can't be explicitly updated when changing the record's owner. The following lists the cascading behaviors when the parent's record owner is updated.
104105

105106
If you update the owner:
106107

@@ -112,10 +113,11 @@ If you update the owner:
112113
- Cascade assign set to None
113114
- Record owner is updated to the new owner
114115
- Record business unit is updated to new owner's business unit
115-
- Child records' owner is not updated (no cascade)
116-
- Child records' business unit is not updated (no cascade)
116+
- Child records' owner isn't updated (no cascade)
117+
- Child records' business unit isn't updated (no cascade)
117118

118119
#### Allowed record ownership across business units is enabled
120+
119121
When [allow record ownership across business units](/power-platform/admin/wp-security-cds#to-enable-this-matrix-data-access-structure-preview) is enabled,
120122
the Owning Business Unit column can be explicitly updated when changing the record's owner. The following lists the cascading behaviors when the parent's record owner and/or the business unit is updated.
121123

@@ -133,23 +135,23 @@ the Owning Business Unit column can be explicitly updated when changing the reco
133135
- Cascade assign set to None
134136
- Record owner is updated to the new owner
135137
- Record business unit is updated to new owner's business unit
136-
- Child records' owner is not updated (no cascade)
137-
- Child records' business unit is not updated (no cascade)
138+
- Child records' owner isn't updated (no cascade)
139+
- Child records' business unit isn't updated (no cascade)
138140

139141
2. If you update the business unit:
140142

141143
**AlwaysMoveRecordToOwnerBusinessUnit** = true (default)
142144

143145
- Default cascade assign behavior (cascade all)
144-
- Record owner is not updated
146+
- Record owner isn't updated
145147
- Record business unit is updated to new business unit
146-
- Child records' owner is not updated
148+
- Child records' owner isn't updated
147149
- Child records' business unit is updated to new business unit
148150
- Cascade assign set to None
149-
- Record owner is not updated
151+
- Record owner isn't updated
150152
- Record business unit is updated to new business unit
151-
- Child records' owner is not updated
152-
- Child records' business unit is not updated
153+
- Child records' owner isn't updated
154+
- Child records' business unit isn't updated
153155

154156
3. If you update the owner and business unit:
155157

@@ -163,11 +165,12 @@ the Owning Business Unit column can be explicitly updated when changing the reco
163165
- Cascade assign set to None
164166
- Record owner is updated to the new owner
165167
- Record business unit is updated to new business unit
166-
- Child records' owner is not updated
167-
- Child records' business unit is not updated
168+
- Child records' owner isn't updated
169+
- Child records' business unit isn't updated
168170

169171
#### Change the cascade behaviors with the OrgDBSettings AlwaysMoveRecordToOwnerBusinessUnit
170-
You can set **AlwaysMoveRecordToOwnerBusinessUnit** to false; the user owned records' Business unit is not moved to the new user's business unit.
172+
173+
You can set **AlwaysMoveRecordToOwnerBusinessUnit** to false; the user owned records' Business unit isn't moved to the new user's business unit.
171174

172175
**AlwaysMoveRecordToOwnerBusinessUnit** can be set in [environment database settings](/power-platform/admin/environment-database-settings) and can also be set using the [OrgDBOrgSettings tool for Microsoft Dynamics CRM](https://support.microsoft.com/help/2691237/orgdborgsettings-tool-for-microsoft-dynamics-crm).
173176

@@ -177,29 +180,29 @@ You can set **AlwaysMoveRecordToOwnerBusinessUnit** to false; the user owned rec
177180

178181
- Default cascade assign behavior (cascade all)
179182
- Record owner is updated to the new owner
180-
- Record business unit is not updated
183+
- Record business unit isn't updated
181184
- Child records' owner is updated to the new owner
182-
- Child records' business unit is not updated
185+
- Child records' business unit isn't updated
183186
- Cascade assign set to None
184187
- Record owner is updated to the new owner
185-
- Record business unit is not updated
186-
- Child records' owner is not updated
187-
- Child records' business unit is not updated
188+
- Record business unit isn't updated
189+
- Child records' owner isn't updated
190+
- Child records' business unit isn't updated
188191

189192
2. If you update the business unit:
190193

191194
**AlwaysMoveRecordToOwnerBusinessUnit** = false
192195

193196
- Default cascade assign behavior (cascade all)
194-
- Record owner is not updated
197+
- Record owner isn't updated
195198
- Record business unit is updated to new business unit
196-
- Child records' owner is not updated
199+
- Child records' owner isn't updated
197200
- Child records' business unit is updated to new business unit
198201
- Cascade assign set to None
199-
- Record owner is not updated
202+
- Record owner isn't updated
200203
- Record business unit is updated to new business unit
201-
- Child records' owner is not updated
202-
- Child records' business unit is not updated
204+
- Child records' owner isn't updated
205+
- Child records' business unit isn't updated
203206

204207
3. If you update the owner and business unit:
205208

@@ -213,8 +216,8 @@ You can set **AlwaysMoveRecordToOwnerBusinessUnit** to false; the user owned rec
213216
- Cascade assign set to None
214217
- Record owner is updated to the new owner
215218
- Record business unit is updated to new business unit
216-
- Child records' owner is not updated
217-
- Child records' business unit is not updated
219+
- Child records' owner isn't updated
220+
- Child records' business unit isn't updated
218221

219222
> [!NOTE]
220223
> When **AlwaysMoveRecordToOwnerBusinessUnit** = false
@@ -233,12 +236,15 @@ You can set **AlwaysMoveRecordToOwnerBusinessUnit** to false; the user owned rec
233236
234237
<a name="BKMK_ReparentAction"></a>
235238

236-
### About the reparent action
237-
The reparent action is very similar to the share action except that it deals with the inherited access rights instead of explicit access rights. The reparent action is when you change the value of the referencing column in a parental relationship. When a reparent action occurs, the desired scope of the inherited access rights for related tables might change for ReadAccess, WriteAccess, DeleteAccess, AssignAccess, ShareAccess, AppendAccess and AppendToAccess. It will not change for CreateAccess. The cascade actions related to the reparent action refer to changes to access rights indicated above for the table record and any table records related to it.
239+
### About the reparent action
240+
241+
The reparent action is similar to the share action except that it deals with the inherited access rights instead of explicit access rights. The reparent action is when you change the value of the referencing column in a parental relationship. When a reparent action occurs, the desired scope of the inherited access rights for related tables might change for ReadAccess, WriteAccess, DeleteAccess, AssignAccess, ShareAccess, AppendAccess and AppendToAccess. It doesn't change for CreateAccess. The cascade actions related to the reparent action refer to changes to access rights indicated above for the table record and any table records related to it.
242+
243+
<a name="BKMK_MergeAction"></a>
244+
245+
### About the merge action
238246

239-
<a name="BKMK_MergeAction"></a>
240-
### About the merge action
241-
The merge action can sometimes have problems completing if a record that is part of the operation set is deleted while the merge system job is running. Often this will result in an error indicating that the record will be "differently parented" or the child record "might lose its parenting". If this occurs, and you would prefer the merge continue forward even if the record is missing, you can choose to disable the parent check when you select the columns to merge.
247+
The merge action can sometimes have problems completing if a record that is part of the operation set is deleted while the merge system job is running. Often this results in an error indicating that the record will be "differently parented" or the child record "might lose its parenting". If this occurs, and you would prefer the merge continue forward even if the record is missing, you can choose to disable the parent check when you select the columns to merge.
242248

243249

244250
> [!NOTE]
@@ -250,8 +256,10 @@ You can use two cascade async notification helper messages to provide notificati
250256

251257
The two notification messages are:
252258

253-
- ``cascadeAsync_FailureAPI`` <br/>This message is processed (executed) when an asynchronous cascade job is paused due to multiple failures. This can be used to inform users they need to review their dataset for issues with existing plug-ins, data issues, or workflow problems.
254-
- ``cascadeAsync_SuccessAPI`` <br/>This message is processed (executed) when the asynchronous cascade job is successfully completed. This is helpful to let users know when longer running jobs are finished.
259+
|Name|Description|
260+
|---------|---------|
261+
|`cascadeAsync_FailureAPI`|This message is processed (executed) when an asynchronous cascade job is paused due to multiple failures. This can be used to inform users they need to review their dataset for issues with existing plug-ins, data issues, or workflow problems.<br />**InputParameters**:<br />`casadeAsyncExceptionDetails`: Details of the exception causing cascade async job failure.<br />`casadeAsyncJobName`:Name of the cascade async job.|
262+
|`cascadeAsync_SuccessAPI`|This message is processed (executed) when the asynchronous cascade job is successfully completed.<br />**InputParameters**:<br />`casadeAsync_JobName`: Name of the cascade async job.|
255263

256264
The custom plug-in must be registered during the post-operation stage and must be set to asynchronous mode. The following figure shows an example plug-in registration using the Plug-in Registration tool.
257265

powerapps-docs/maker/TOC.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -684,8 +684,6 @@
684684
href: ./canvas-apps/show-current-user.md
685685
- name: Connect lists using lookups
686686
href: ./canvas-apps/sharepoint-lookup-fields.md
687-
- name: Formula repair in canvas apps (preview)
688-
href: common/formula-repair.md
689687
- name: Working with flows
690688
items:
691689
- name: Use Power Automate pane
@@ -1384,8 +1382,6 @@
13841382
href: ./model-driven-apps/model-app-page-issues.md
13851383
- name: Use monitor to troubleshoot custom pages
13861384
href: ./model-driven-apps/monitor-page-checker.md
1387-
- name: Formula repair in custom pages (preview)
1388-
href: common/formula-repair.md
13891385
- name: Create, add, or remove forms and views
13901386
href: ./model-driven-apps/create-add-remove-forms-views-dashboards.md
13911387
- name: Work with views

powerapps-docs/maker/common/formula-repair.md

Lines changed: 0 additions & 70 deletions
This file was deleted.

powerapps-docs/maker/model-driven-apps/form-editor-user-interface-legacy.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: Overview of the model-driven app form editor user interface for Power App
33
description: Know the form editor user interface to edit forms in Power Apps
44

55
ms.topic: overview
6+
ms.date: 10/12/2021
67
author: Mattp123
78
applies_to:
89
- "Dynamics 365 (online)"

0 commit comments

Comments
 (0)