Skip to content

Commit 7911d13

Browse files
authored
Merge pull request MicrosoftDocs#2489 from MicrosoftDocs/Nava_updates
Nava updates
2 parents d51fa17 + a457ae7 commit 7911d13

File tree

5 files changed

+49
-3
lines changed

5 files changed

+49
-3
lines changed

powerapps-docs/developer/component-framework/add-custom-controls-to-a-field-or-entity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Code components let you transform fields that traditionally contain text into vi
2424

2525
Following the steps below will change the default label and text box field of the **Budget Amount** field to the slider code component on the Opportunity entity. You can use similar steps to replace an existing field with a code component or configure a code component for a custom field.
2626

27-
1. Open solution explorer.
27+
1. Navigate to **Settings** > **Customizations** > **Customize the System**.
2828

2929
2. Expand **Entities**, expand the entity that you want, such as the **Opportunity** entity, select **Forms**, and then open a form such as the **Main** form.
3030

powerapps-docs/developer/component-framework/community-resources.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ The following is the list of blogs created by Power Apps community.
6767
- [Power Apps component framework – Frosting on the Cake](https://stevemordue.com/powerapps-component-framework-frosting-on-the-cake/)
6868
- [Public availability of Power Apps component framework – An important milestone](https://crmindian.com/2019/04/24/public-availability-of-powerapps-component-framework-an-important-milestone-for-powerapps-and-d365/)
6969
- [Work with code components using Power Apps component framework](https://powermaverick.dev/2019/05/18/create-custom-controls-using-powerapp-component-framework)
70+
- [What happens when a web resource calls setVisible/setDisabled for that component](https://www.itaintboring.com/dynamics-crm/pcf-components-and-setvisible-setdisabled)
7071

7172
## Tools
7273

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

Lines changed: 45 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,51 @@ Xrm.WebApi.offline.updateRecord("account", "5531d753-95af-e711-a94e-000d3a11e605
163163
}
164164
);
165165
```
166-
166+
### Update associations to the related entities of type Activity
167+
168+
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.
169+
170+
**Update related opportunity field on task**
171+
172+
```JavaScript
173+
// define the data to update a record
174+
var data =
175+
{
176+
"[email protected]": "/opportunities(61a0e5b9-88df-e311-b8e5-6c3be5a8b200)"
177+
}
178+
// update the record
179+
Xrm.WebApi.updateRecord("task", "5531d753-95af-e711-a94e-000d3a11e605", data).then(
180+
function success(result) {
181+
console.log("Task updated");
182+
// perform operations on record update
183+
},
184+
function (error) {
185+
console.log(error.message);
186+
// handle error conditions
187+
}
188+
);
189+
```
190+
**Update Regarding field on task**
191+
192+
```JavaScript
193+
// define the data to update a record
194+
var data =
195+
{
196+
"[email protected]": "/accounts(61a0e5b9-88df-e311-b8e5-6c3be5a8b200)"
197+
}
198+
// update the record
199+
Xrm.WebApi.updateRecord("task", "5531d753-95af-e711-a94e-000d3a11e605", data).then(
200+
function success(result) {
201+
console.log("Task updated");
202+
// perform operations on record update
203+
},
204+
function (error) {
205+
console.log(error.message);
206+
// handle error conditions
207+
}
208+
);
209+
```
210+
167211
### Related topics
168212

169213
[Xrm.WebApi](../xrm-webapi.md)

powerapps-docs/developer/model-driven-apps/clientapi/reference/attributes/getValue.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ All
4040
| lookup | [Array](https://msdn.microsoft.com/library/k4h76zbx.aspx) <br/>An array of lookup objects.<br/><br/>NOTE: Certain lookups allow for multiple records to be associated in a lookup, such as the To: field for an email entity record. Therefore, all lookup data values use an array of lookup objects – even when the lookup attribute does not support more than one record reference to be added. <br/><br/>Each lookup has the following properties:<br/>- *entityType*: String. The name of the entity displayed in the lookup.<br/>- *id*: String: The string representation of the GUID value for the record displayed in the lookup.<br/>- *name*: String: The text representing the record to be displayed in the lookup.|
4141
| memo | [String](https://msdn.microsoft.com/library/ecczf11c.aspx) |
4242
| money| [Number](https://msdn.microsoft.com/library/dwab3ed2.aspx) |
43+
|multiselectoptionset|[Array](https://msdn.microsoft.com/library/k4h76zbx.aspx) <br/> An array of numbers.|
4344
| optionset | [Number](https://msdn.microsoft.com/library/dwab3ed2.aspx) |
4445
| string | [String](https://msdn.microsoft.com/library/ecczf11c.aspx) |
4546

powerapps-docs/developer/model-driven-apps/clientapi/reference/formContext-ui-tabs/setDisplayState.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ search.app:
2222

2323
## Syntax
2424

25-
`contextObj.setDisplayState(state);`
25+
`tabObj.setDisplayState(state);`
2626

2727
## Parameter
2828

0 commit comments

Comments
 (0)