Skip to content

Commit 712b75d

Browse files
committed
Merge branch 'main' into pr/5866
2 parents 8f13210 + 2488a41 commit 712b75d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+280
-170
lines changed

CODEOWNERS

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33

44
/powerapps-docs/ @KumarVivek
55
/powerapps-docs/administrator/ @jimholtz @KumarVivek
6-
/powerapps-docs/developer/ @PHecke @Nkrb @KumarVivek
7-
/powerapps-docs/maker/ @Mattp123 @tapanm-msft @KumarVivek
6+
/powerapps-docs/developer/ @PHecke @KumarVivek
7+
/powerapps-docs/maker/canvas-apps @tapanm-msft @KumarVivek
8+
/powerapps-docs/maker/data-platform @Mattp123 @KumarVivek
9+
/powerapps-docs/maker/model-driven-apps @Mattp123 @KumarVivek
10+
/powerapps-docs/maker/common @Mattp123 @tapanm-msft @KumarVivek
11+
/powerapps-docs/maker/portals @nickdoelman @KumarVivek
812
/powerapps-docs/user/ @mduelae @KumarVivek
13+
/powerapps-docs/teams/ @tapanm-msft @KumarVivek
Loading

powerapps-docs/developer/component-framework/reference/DataProviderCapabilities.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,10 @@ keywords:
55
ms.author: nabuthuk
66
author: Nkrb
77
manager: kvivek
8-
ms.date: 12/13/2021
8+
ms.date: 02/11/2022
99
ms.service: "powerapps"
10-
ms.suite: ""
11-
ms.tgt_pltfrm: ""
12-
ms.topic: "article"
13-
ms.assetid: 8907f07a-ad45-47e4-a503-8eaae9bba5f7
10+
ms.subservice: "pcf"
11+
ms.topic: "reference"
1412
---
1513

1614
# DataProviderCapabilities
@@ -51,6 +49,18 @@ If the dataset records can be paged.
5149

5250
Whether adding new records is supported or not.
5351

52+
**Type**: `boolean`
53+
54+
### hasRecordNavigation
55+
56+
Whether the dataset supports record navigation for lookup and primary fields.
57+
58+
**Type**: `boolean`
59+
60+
### hasCellImageInfo
61+
62+
Whether image info for record columns can be retrieved.
63+
5464
**Type** `boolean`
5565

5666
## Related topics

powerapps-docs/developer/component-framework/reference/dataset/opendatasetitem.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ Model-driven and canvas apps
2323

2424
## Syntax
2525

26-
`context.parameters.dataset.openDatasetItem(entityreference)`
26+
`context.parameters.dataset.openDatasetItem(entityReference)`
2727

28-
## Return Value
28+
## Parameters
2929

30-
**Type**: [Entityreference](../entityreference.md)
30+
| Parameter Name | Type | Required | description |
31+
| --------------- | ------------------------------------------ | -------- | ------------------------------ |
32+
| entityReference | `[Entityreference](../entityreference.md)` | Yes | Reference that will be opened. |
3133

3234
### Related topics
3335

powerapps-docs/developer/component-framework/reference/device.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ keywords:
55
ms.author: nabuthuk
66
author: Nkrb
77
manager: kvivek
8-
ms.date: 08/09/2021
8+
ms.date: 02/04/2022
99
ms.service: "powerapps"
1010
ms.suite: ""
1111
ms.tgt_pltfrm: ""
@@ -47,8 +47,12 @@ Model-driven and canvas apps
4747
}
4848
```
4949

50-
### Related topics
50+
## Sample controls
51+
52+
[Device API component](../sample-controls/device-api-control.md)
53+
[Image upload component](../sample-controls/image-upload-control.md)
5154

55+
### Related topics
5256
[Power Apps component framework API reference](../reference/index.md)<br/>
5357
[Power Apps component framework overview](../overview.md)
5458

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
title: "Device API component | Microsoft Docs"
3+
description: "This sample component showcases Device API capabilities of the Power Apps control framework."
4+
ms.custom: ""
5+
manager: kkaul
6+
ms.date: 02/02/2022
7+
ms.service: "powerapps"
8+
ms.topic: "article"
9+
ms.author: "vilesyk"
10+
author: lesyk
11+
---
12+
13+
# Implementing a Device API component
14+
15+
This sample component showcases Device API capabilities of the Power Apps control framework.
16+
17+
> [!div class="mx-imgBorder"]
18+
> ![Device API component](../media/device-api-control.png "Device API component")
19+
20+
> [!IMPORTANT]
21+
> If you want to use the device API methods, you need to declare the usage of these method in the [feature-usage](../manifest-schema-reference/feature-usage.md) node in the manifest file.
22+
23+
## Available for
24+
25+
Model-driven and canvas apps
26+
27+
## Code
28+
29+
You can download the complete sample component from [here](https://github.com/microsoft/PowerApps-Samples/tree/master/component-framework/DeviceApiControl).
30+
31+
### Related topics
32+
[Download sample components](https://github.com/microsoft/PowerApps-Samples/tree/master/component-framework)<br/>
33+
[How to use the sample components](../use-sample-components.md)<br/>
34+
[Image upload component](./image-upload-control.md)<br/>
35+
[Device API](../reference/device.md)<br/>
36+
[Power Apps component framework API reference](../reference/index.md)<br/>
37+
[Power Apps component framework manifest schema reference](../manifest-schema-reference/index.md)
38+
39+
[!INCLUDE[footer-include](../../../includes/footer-banner.md)]

powerapps-docs/developer/component-framework/sample-controls/image-upload-control.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: " Image Upload component| Microsoft Docs"
2+
title: "Image Upload component | Microsoft Docs"
33
description: "This sample component renders as an `Upload` button to upload the image and a default image when the component loads for the first time."
44
ms.custom: ""
55
manager: kvivek
@@ -18,7 +18,7 @@ This sample component renders as an `Upload` button to upload the image and a de
1818

1919
The selected image renders within the component. Meanwhile, the `Remove` button is shown if we need to reset. When you click on the `Remove` button, the default image is displayed.
2020

21-
> [!div class="mx-imgBorder"]
21+
> [!div class="mx-imgBorder"]
2222
> ![Image Upload component](../media/image-upload-control.png "Image Upload component")
2323
2424
## Available for
@@ -50,9 +50,10 @@ The `device.pickFile` method opens a dialog box to select files for the upload.
5050
> If the same form or table is used on the legacy web client, then the field will show out-of-box text component on legacy web client, where there might have UX issues.  To make it hidden on the legacy web client, we could uncheck the **Visibility** checkbox and check **Hide Default Control** checkbox together.
5151
5252
### Related topics
53-
5453
[Download sample components](https://github.com/microsoft/PowerApps-Samples/tree/master/component-framework)<br/>
5554
[How to use the sample components](../use-sample-components.md)<br/>
55+
[Device API component](./device-api-control.md)<br/>
56+
[Device API](../reference/device.md)<br/>
5657
[Power Apps component framework API reference](../reference/index.md)<br/>
5758
[Power Apps component framework manifest schema reference](../manifest-schema-reference/index.md)
5859

powerapps-docs/developer/component-framework/toc.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
href: code-components-model-driven-apps.md
1111
- name: Code components for canvas apps
1212
href: component-framework-for-canvas-apps.md
13-
- name: Code components for portals (Preview)
13+
- name: Code components for portals
1414
href: ../../maker/portals/component-framework.md
1515
- name: Get Microsoft Power Platform CLI
1616
href: get-powerapps-cli.md
@@ -68,6 +68,8 @@
6868
href: sample-controls/control-state-api.md
6969
- name: Data Set Grid component
7070
href: sample-controls/data-set-grid-control.md
71+
- name: Device API component
72+
href: sample-controls/device-api-control.md
7173
- name: Formatting API component
7274
href: sample-controls/formatting-api-control.md
7375
- name: IFRAME component

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

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,27 @@ For a successful OData query retrieveMultipleRecords operation, returns a promis
8787

8888
For a succesful FetchXML-based retrieveMultipleRecords operations the promise response will contain a **fetchXmlPagingCookie** (optional) attribute when the operation returns more records than the paging value. This attribute will contain the paging cookie string that can be included in a subsequent fetchXml request to fetch the next page of records.
8989

90+
## Supported Attribute Types for OData query options in Mobile Offline
91+
Only the following attribute types are supported when doing a `Xrm.WebApi.retrieveMultipleRecords` operation with OData query string options (`$select` and `$filter`) in mobile offline mode. You should use FetchXML if the attribute type you need to work with is not in this list of supported attribute types.
92+
93+
- BigInt
94+
- Boolean
95+
- Customer
96+
- DateTime
97+
- Decimal
98+
- Double
99+
- EntityName
100+
- Guid
101+
- Integer
102+
- Lookup
103+
- Memo
104+
- Money
105+
- Owner
106+
- PickList
107+
- State
108+
- Status
109+
- String
110+
90111
## Examples
91112

92113
Most of the scenarios/examples mentioned in [Query Data using the Web API](../../../../data-platform/webapi/query-data-web-api.md) can be achieved using the **retrieveMultipleRecords** method. Some of the examples are listed below.
@@ -512,4 +533,4 @@ For more examples of retrieving multiple records using Web API, see [Query Data
512533

513534

514535

515-
[!INCLUDE[footer-include](../../../../../includes/footer-banner.md)]
536+
[!INCLUDE[footer-include](../../../../../includes/footer-banner.md)]

powerapps-docs/developer/model-driven-apps/clientapi/reference/events/form-onsave.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ To use async onSave handlers you will need to enable it through an app setting:
7070
4. Select the app and then select **...** (ellipses). Select **Open in preview**.
7171
5. Select **Settings** from the command bar.
7272
6. When the dialog opens, select **Features**.
73-
7. Turn on **Async onload handler**.
73+
7. Turn on **Async onSave handler**.
7474
8. Select **Save**.
7575
7676
![Async OnSave app setting](../../../media/async_onSave_app_settings.png "Async OnSave app setting")

0 commit comments

Comments
 (0)