Skip to content

Commit 7ed31d3

Browse files
authored
Live publish
2 parents ec9ac3c + bc0e129 commit 7ed31d3

File tree

7 files changed

+33
-8
lines changed

7 files changed

+33
-8
lines changed

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ search.app:
1515
---
1616
# Controls (Client API reference)
1717

18-
19-
2018
A control represents an HTML element present on the form. Some controls are bound to a specific attribute, whereas others may represent unbound controls such as an IFRAME, Web resource, or a sub grid that has been added to the form.
2119

2220
The **control** object provides methods to change the presentation or behavior of a control and identify the corresponding attribute. You access controls using one of the following collections:
@@ -330,6 +328,13 @@ The Sliverlight web resource has these additional methods:
330328
</tr>
331329
</table>
332330

331+
> [!TIP]
332+
> If you want to modify all the controls bound to an attribute on a form, use the controls collection inside the attribute type. For example, to add notification to each control bound to the `name` attribute, you can do the following:
333+
> ```JavaScript
334+
> const notification = { messages: ['Sample Notification on Name Controls'], notificationLevel: 'RECOMMENDATION', uniqueId: 'my_unique_id'};
335+
> formContext.getAttribute("name").controls.forEach(control => control.addNotification(notification));
336+
> ```
337+
333338
334339
### Related topics
335340

powerapps-docs/developer/model-driven-apps/clientapi/reference/controls/getControl.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,16 @@ When the `arg` value is not provided, it returns an array of all the controls on
3737

3838
**Description**: Object if you use the method with parameter; object collection if you use the method without any parameters.
3939

40+
> [!TIP]
41+
> If you want to modify the all the controls bound to an attribute on a form, use the controls collection inside the attribute type.
42+
For example, to add notification to each control bound to the `name` attribute, you can do the following:
43+
> ```JavaScript
44+
> const notification = {
45+
> messages: ['Sample Notification on Name Controls'],
46+
> notificationLevel: 'RECOMMENDATION',
47+
> uniqueId: 'my_unique_id'};
48+
> formContext.getAttribute("name").controls.forEach(control => control.addNotification(notification));
49+
> ```
4050
4151
4252
### Related topics

powerapps-docs/developer/model-driven-apps/clientapi/reference/controls/setVisible.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ search.app:
1616
---
1717
# setVisible (Client API reference)
1818

19-
20-
2119
Sets a value that indicates whether the control is visible.
2220

2321
## Control types supported
@@ -34,6 +32,9 @@ All
3432
|--|--|--|--|
3533
|bool|Boolean|Yes|Specify **true** to show the control; **false** to hide the control.|
3634

35+
>[!NOTE]
36+
> If a control is set to false and is in a section that is hidden and if you set the control to true, the section will be visible.
37+
3738
### Related topics
3839

3940
[getVisible](getVisible.md)

powerapps-docs/maker/canvas-apps/controls/control-camera.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ manager: kvivek
66
ms.service: powerapps
77
ms.topic: reference
88
ms.custom: canvas
9-
ms.date: 06/12/2020
9+
ms.date: 11/05/2020
1010
ms.author: chmoncay
1111
ms.reviewer: tapanm
1212
search.audienceType:
@@ -39,6 +39,10 @@ Images generated by the camera control aren't usually in the full resolution of
3939
> [!NOTE]
4040
> The camera control is only supported on Microsoft Edge, Chrome, Firefox, and Opera browsers; and Android and iOS devices. All other browsers and platforms will show a warning that some features of the app won't work.
4141
42+
## Considerations for Teams Mobile
43+
44+
The Camera control is not supported in Teams Mobile. If you're creating a Power Apps app for use inside Teams, use the [Add picture](control-add-picture.md) control instead.
45+
4246
## Key properties
4347

4448
**AvailableDevices** – Table of the available cameras on the device.

powerapps-docs/maker/canvas-apps/controls/control-new-barcode-scanner.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ manager: kvivek
66
ms.service: powerapps
77
ms.topic: reference
88
ms.custom: canvas
9-
ms.date: 06/12/2020
9+
ms.date: 11/05/2020
1010
ms.author: chmoncay
1111
ms.reviewer: tapanm
1212
search.audienceType:
@@ -25,6 +25,10 @@ The control opens a native scanner on an Android or iOS device. The scanner auto
2525
> [!NOTE]
2626
> The barcode scanner control is only supported on Android and iOS devices. All other platforms will show a warning that some features of the app won't work.
2727
28+
## Considerations for Teams Mobile
29+
30+
The barcode scanner control is not supported in Teams Mobile.
31+
2832
## Key properties
2933

3034
**Value** – Output property that contains the text value of the code that was scanned most recently.

powerapps-docs/maker/canvas-apps/controls/control-power-bi-tile.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ The parameter will filter a value in the dataset of the report where the tile or
5353
- Only one filter can be applied.
5454
- Only the `eq` operator is supported.
5555
- Field type must be string.
56+
- Filtering is only available on pinned visualizations.
5657

5758
You can use computed fields in the Power BI report to convert other value types to string or combines multiple fields into one.
5859

@@ -80,7 +81,7 @@ You can use computed fields in the Power BI report to convert other value types
8081

8182
**[OnSelect](properties-core.md)** – How the app responds when the user taps or clicks a control. By default, the Power BI report that's associated with the tile opens.
8283

83-
**TileUrl** – The URL by which the tile is requested from the Power BI service. You can pass a single parameter into the Power BI tile by appending the parameter to the URL (for example: … & "&$filter=Town/Province eq '" & ListBox1.Selected.Abbr & "'"). You can use only the equals operator in the parameter.
84+
**TileUrl** – The URL by which the tile is requested from the Power BI service. You can pass a single parameter into the Power BI tile by appending the parameter to the URL (for example: … & "&$filter=Town/Province eq '" & ListBox1.Selected.Abbr & "'"). You can use only the equals operator in the parameter. Filtering is only available on pinned visualizations.
8485

8586
**[Visible](properties-core.md)** – Whether a control appears or is hidden.
8687

powerapps-docs/user/navigation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ It's easy to get around and get back to your favorite or most-used records. The
6060

6161
Legend
6262

63-
1. **Click to change app**: Select the current app name to change a differ app.
63+
1. **Click to change app**: Select the current app name to change to a different app.
6464
2. **Collapse/expand button**: Select this to collapse the navigator to allow more room for the main part of the page. If the navigator is already collapsed, select this button to expand it again.
6565
3. **Recent records**: Expand this entry to view a list of records you were recently using. Select a record here to open it. Select the push-pin icon next to a record listed here to add it to your favorites (pinned records).
6666
4. **Favorite records**: Expand this entry to view and open your favorite (pinned) records. Use the **Recent records** list to add records here. Select the remove-pin icon next to a record listed here to remove it from this list.

0 commit comments

Comments
 (0)