Skip to content

Commit ba7e1ed

Browse files
authored
Live publish for 21 January 2020.
2 parents 26695a8 + b052259 commit ba7e1ed

File tree

4 files changed

+48
-5
lines changed

4 files changed

+48
-5
lines changed

powerapps-docs/developer/common-data-service/view-download-developer-resources.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,15 @@ More information: [Azure integration](/powerapps/developer/common-data-service/a
7676

7777
Because people may have access to multiple Common Data Service environments, the discovery services allow for retrieving the available environments that a person can access based on their user credentials.
7878

79-
### Discovery Web API
79+
### Discovery RESTful API
8080

81-
This is the endpoint address for the RESTful OData v4 version of the discovery service to use for your instance. You can also download the service document here.
81+
This is the endpoint address for the RESTful OData v4 version of the Discovery Service to use for your instance. You can also download the service document here.
8282
More information: [Developer Documentation: Discover the URL for your organization using the Web API](/powerapps/developer/common-data-service/webapi/discover-url-organization-web-api)
8383

8484

8585
### Discovery Service
8686

87-
This is the endpoint address for the SOAP version of the discovery service to use for your instance. You can also download the service document here.
87+
This is the endpoint address for the SOAP version of the Discovery Service to use for your instance. You can also download the service document here.
8888
More information: [Developer Documentation: Discover the URL for your organization using the Organization Service](/powerapps/developer/common-data-service/org-service/discovery-service)
8989

9090

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

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,50 @@ Xrm.WebApi.retrieveMultipleRecords("account", "?$select=name&$top=3").then(
105105
);
106106
```
107107

108+
### Retrieve or filter by lookup properties
109+
For most single-valued navigation properties you will find a computed, read-only property that uses the following naming convention: `_<name>_value` where the `<name>` is the name of the single-valued navigation property. For filtering purposes, the specific value of the single-valued navigation property can also be used. However, for mobile clients in offline mode, these syntax options are not supported, and the single-value navigation property name should be used for both retrieving and filtering. Also, the comparison of navigation properties to null is not supported in offline mode.
108110

111+
More information: [Lookup properties](../../../../common-data-service/webapi/web-api-types-operations.md#bkmk_lookupProperties)
112+
113+
Here are code examples for both the scenarios:
114+
115+
#### For online scenario (connected to server)
116+
117+
This example queries the accounts entity set and uses the `$select` and `$filter` system query options to return the name and primarycontactid property for accounts that have a particular primary contact:
118+
119+
```JavaScript
120+
Xrm.WebApi.retrieveMultipleRecords("account", "?$select=name,_primarycontactid_value&$filter=primarycontactid/contactid eq a0dbf27c-8efb-e511-80d2-00155db07c77").then(
121+
function success(result) {
122+
for (var i = 0; i < result.entities.length; i++) {
123+
console.log(result.entities[i]);
124+
}
125+
// perform additional operations on retrieved records
126+
},
127+
function (error) {
128+
console.log(error.message);
129+
// handle error conditions
130+
}
131+
);
132+
```
133+
134+
#### For mobile offine scenario
135+
136+
This example queries the accounts entity set and uses the `$select` and `$filter` system query options to return the name and primarycontactid property for accounts that have a particular primary contact when working in the offline mode:
137+
138+
```JavaScript
139+
Xrm.WebApi.retrieveMultipleRecords("account", "?$select=name,primarycontactid&$filter=primarycontactid eq a0dbf27c-8efb-e511-80d2-00155db07c77").then(
140+
function success(result) {
141+
for (var i = 0; i < result.entities.length; i++) {
142+
console.log(result.entities[i]);
143+
}
144+
// perform additional operations on retrieved records
145+
},
146+
function (error) {
147+
console.log(error.message);
148+
// handle error conditions
149+
}
150+
);
151+
```
109152
### Specify the number of entities to return in a page
110153

111154
The following example demonstrates the use of the `maxPageSize` parameter to specify the number of records (3) to be displayed in a page.
131 KB
Loading

powerapps-docs/maker/common-data-service/solutions-overview.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Work with solutions in Power Apps | MicrosoftDocs"
33
description: "Learn how solutions are distributed"
44
ms.custom: ""
5-
ms.date: 12/04/2019
5+
ms.date: 01/21/2020
66
ms.reviewer: ""
77
ms.service: powerapps
88
ms.suite: ""
@@ -36,7 +36,7 @@ More information: [Whitepaper: Solution Lifecycle Management](https://www.micros
3636

3737
<a name="BKMK_SolutionComponents"></a>
3838
## Components
39-
A component represents something that you can potentially customize. Anything that can be included in a solution is a component. To view the components included in a solution, in solution explorer go to **Settings** > **Solutions** and then open the solution you want. The components are listed in the **Components** list.
39+
A component represents something that you can potentially customize. Anything that can be included in a solution is a component. To view the components included in a solution, in solution explorer go to **Settings** > **Solutions** and then open the solution you want. The components are listed in the **Components** list. Notice that you can't edit components contained in a managed solution.
4040

4141
> [!div class="mx-imgBorder"]
4242
> ![Components in solution](media/components-in-solution.png "Components in solution")

0 commit comments

Comments
 (0)