Skip to content

Commit b6e4472

Browse files
committed
Typo
1 parent a798c25 commit b6e4472

File tree

1 file changed

+2
-2
lines changed
  • powerapps-docs/developer/model-driven-apps/clientapi/reference/Xrm-WebApi

1 file changed

+2
-2
lines changed

powerapps-docs/developer/model-driven-apps/clientapi/reference/Xrm-WebApi/updateRecord.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,13 +167,13 @@ Xrm.WebApi.offline.updateRecord("account", "5531d753-95af-e711-a94e-000d3a11e605
167167

168168
To update association to the related entities of type Activity, set the value of single-valued navigation properties using the `@odata.bind` annotation to another record.
169169

170-
**Update Opportunity field on task**
170+
**Update related opportunity field on task**
171171

172172
```JavaScript
173173
// define the data to update a record
174174
var data =
175175
{
176-
"new_realtedopportunities_task@odata.bind": "/opportunities(61a0e5b9-88df-e311-b8e5-6c3be5a8b200)"
176+
"new_relatedopportunities_task@odata.bind": "/opportunities(61a0e5b9-88df-e311-b8e5-6c3be5a8b200)"
177177
}
178178
// update the record
179179
Xrm.WebApi.updateRecord("task", "5531d753-95af-e711-a94e-000d3a11e605", data).then(

0 commit comments

Comments
 (0)