Skip to content

Commit ff0ad46

Browse files
committed
Updated per github pull request 2110
1 parent 9052d80 commit ff0ad46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

powerapps-docs/maker/model-driven-apps/embedded-canvas-app-properties-actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ This topic explains the properties and actions available on the ModelDrivenFormI
3535
|:--------------|:-------------------------|
3636
|**DataSource** | Should be set to the data source connected to the parent table of the host model-driven form. <br />Automatically set when [embedding a new canvas app](embedded-canvas-app-add-classic-designer.md). |
3737
|**Item** | Read-only property that enables the embedded canvas app to access the row from the host model-driven form. <br />As an example, to get the value of a column with the name accountnumber and display name Account Number, you can use ModelDrivenFormIntegration.Item.accountnumber or ModelDrivenFormIntegration.Item.'Account Number'. |
38-
|**OnDataRefresh** | The formula in this property is evaluated when the host model-driven form saves data. <br />Use it to refresh the data source connected to the parent table of the host model-driven form and to perform other actions like setting or updating variables. <br /> As an example, setting it to the formula below will refresh the Accounts data source and set a variable named CurrentAccountNumber to the value of the Account Number column of the current row. <br /> Refresh(Accounts); Set(CurrentAccountNumber, ModelDrivenFormIntegration.Item.'Account Number') <br /> The OnDataRefresh action should only be used to refresh data within the embedded canvas app. We don’t recommend that you use the OnDataRefresh action to save changes within the embedded canvas app. More information: [Saving data in an embedded canvas app](embedded-canvas-app-guidelines.md) |
38+
|**OnDataRefresh** | The formula in this property is evaluated when the host model-driven form saves data. <br />Use it to refresh the data source connected to the parent table of the host model-driven form and to perform other actions like setting or updating variables. <br /> As an example, setting it to the formula below will refresh the Accounts data source and set a variable named CurrentAccountNumber to the value of the Account Number column of the current row. <br /> Refresh(Accounts); Set(CurrentAccountNumber, ModelDrivenFormIntegration.Item.'Account Number') <br /> The OnDataRefresh action should only be used to refresh data within the embedded canvas app. We don’t recommend that you use the OnDataRefresh action to save changes within the embedded canvas app. More information: [Saving data in an embedded canvas app](embedded-canvas-app-guidelines.md#saving-data-in-an-embedded-canvas-app) |
3939
|**RefreshForm** | Refreshes the data on the host model-driven form. <br />See [Perform predefined actions on the host form](embedded-canvas-app-actions.md#refreshformshowprompt) for details. |
4040
|**SaveForm** | Saves the data on the host model-driven form. <br />See [Perform predefined actions on the host form](embedded-canvas-app-actions.md#saveform) for details. |
4141
|**NavigateToMainForm** | Navigates the host model-driven form to a main form and displays the specified row. <br />See [Perform predefined actions on the host form](embedded-canvas-app-actions.md#navigatetomainformentityname-mainformname-recordid) for details. |

0 commit comments

Comments
 (0)