You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: powerapps-docs/maker/canvas-apps/controls/control-attachments.md
+54-4Lines changed: 54 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,9 @@
2
2
title: Attachments control in Power Apps
3
3
description: Learn about the details, properties and examples of the attachments control in Power Apps.
4
4
author: chmoncay
5
-
6
5
ms.topic: reference
7
6
ms.custom: canvas
8
-
ms.date: 08/06/2021
7
+
ms.date: 02/17/2022
9
8
ms.subservice: canvas-maker
10
9
ms.author: chmoncay
11
10
ms.reviewer: tapanm
@@ -25,10 +24,13 @@ A control that allows users to download files to their device, as well as upload
25
24
## Limitations
26
25
27
26
The attachment control has these limitations:
27
+
28
28
1. Attachments are supported with SharePoint lists and Dataverse tables.
29
29
30
30
1. Upload and delete functionality work only inside a form. The Attachment control appears disabled when in Edit mode and not inside a form. To save file additions and deletions, the app user must save the form. Because of this limitation, the Attachment control isn't available from the **Insert** tab but appears in the form when the Attachment form field is enabled in a SharePoint or Dataverse form.
31
31
32
+
1. Attachments control on a web browser lets you select multiple files, and allows use of drag and drop functionality. However, when using attachments control on [Power Apps Mobile](https://powerapps.microsoft.com/downloads/), you can only add files one at a time.
33
+
32
34
## Description
33
35
An **Attachments** control lets you open, add, and delete files from a SharePoint list or a Dataverse table.
34
36
@@ -56,22 +58,70 @@ An **Attachments** control lets you open, add, and delete files from a SharePoin
56
58
57
59
**[BorderThickness](properties-color-border.md)** – The thickness of a control's border.
58
60
61
+
**[Color](properties-color-border.md)** – The color of a control's text.
62
+
63
+
**[DisabledBorderColor](properties-color-border.md)** – The color of a control's border if the control's **[DisplayMode](properties-core.md)** property is set to **Disabled**.
64
+
65
+
**[DisabledColor](properties-color-border.md)** – The color of text in a control if its **[DisplayMode](properties-core.md)** property is set to **Disabled**.
66
+
67
+
**[DisabledFill](properties-color-border.md)** – The background color of a control if its **[DisplayMode](properties-core.md)** property is set to **Disabled**.
68
+
59
69
**[DisplayMode](properties-core.md)** – Whether the control allows adding and deleting files (**Edit**), only displays data (**View**), or is disabled (**Disabled**).
60
70
71
+
**[DropTargetBackgroundColor]** – The color of the control's drop target background.
72
+
73
+
**[DropTargetBorderColor]** – The color of the control's drop target border.
74
+
75
+
**[DropTargetBorderStyle]** – Whether the control's drop target border is **Solid**, **Dashed**, **Dotted**, or **None**.
76
+
77
+
**[DropTargetBorderThickness]** – The thickness of the control's drop target border.
78
+
79
+
**[DropTargetTextColor]** – The color of the control's drop target text.
80
+
81
+
**[Fill](properties-color-border.md)** – The background color of a control.
82
+
61
83
**[FocusedBorderColor](properties-color-border.md)** – The color of a control's border when the control is focused.
62
84
63
85
**[FocusedBorderThickness](properties-color-border.md)** – The thickness of a control's border when the control is focused.
64
86
65
87
**[Height](properties-size-___location.md)** – The distance between a control's top and bottom edges.
66
88
89
+
**[Font](properties-text.md)** – The name of the family of fonts in which text appears.
90
+
91
+
**[FontWeight](properties-text.md)** – The weight of the text in a control: **Bold**, **Semibold**, **Normal**, or **Lighter**.
92
+
93
+
**[HoverBorderColor](properties-color-border.md)** – The color of a control's border when the user keeps the mouse pointer on that control.
94
+
95
+
**[HoverColor](properties-color-border.md)** – The color of the text in a control when the user keeps the mouse pointer on it.
96
+
97
+
**[HoverFill](properties-color-border.md)** – The background color of a control when the user keeps the mouse pointer on it.
98
+
99
+
**[Italic](properties-text.md)** – Whether the text in a control is italic.
100
+
67
101
**MaxAttachmentsText** – The text that replaces the "Attach file" link when the control contains the maximum number of files allowed.
68
102
69
103
**NoAttachmentsText** – Informational text shown to the user when there are no files attached.
70
104
105
+
**[Padding](properties-size-___location.md)** – The distance between the text on an import or export button and the edges of that button.
106
+
107
+
**[PressedBorderColor](properties-color-border.md)** – The color of a control's border when the user selects that control.
108
+
109
+
**[PressedColor](properties-color-border.md)** – The color of text in a control when the user selects that control.
110
+
111
+
**[PressedFill](properties-color-border.md)** – The background color of a control when the user selects that control.
112
+
71
113
**Reset** – Reverts all changes to the attachments control returning to the previously saved state.
72
114
115
+
**[Size](properties-text.md)** – The font size of the text that appears on a control.
116
+
117
+
**[Strikethrough](properties-text.md)** – Whether a line appears through the text that appears on a control.
118
+
73
119
**[TabIndex](properties-accessibility.md)** – Keyboard navigation order in relation to other controls.
74
120
121
+
**[Tooltip](properties-core.md)** – Explanatory text that appears when the user hovers over a control.
122
+
123
+
**[Underline](properties-text.md)** – Whether a line appears under the text that appears on a control.
124
+
75
125
**[Visible](properties-core.md)** – Whether a control is visible or hidden.
76
126
77
127
**[Width](properties-size-___location.md)** – The distance between a control's left and right edges.
@@ -110,7 +160,7 @@ There must be adequate color contrast between:
110
160
***MaxAttachmentsColor** and **Fill**
111
161
***NoAttachmentsColor** and **Fill**
112
162
113
-
This is in addition to the [standard color contrast requirements](../accessible-apps-color.md).
163
+
This requirement is in addition to the [standard color contrast requirements](../accessible-apps-color.md).
114
164
115
165
### Screen reader support
116
166
The following properties must be present:
@@ -121,7 +171,7 @@ The following properties must be present:
121
171
122
172
### Keyboard support
123
173
***[TabIndex](properties-accessibility.md)** must be zero or greater so that keyboard users can navigate to it.
124
-
* Focus indicators must be clearly visible. Use **[FocusedBorderColor](properties-color-border.md)** and **[FocusedBorderThickness](properties-color-border.md)** to achieve this.
174
+
* Focus indicators must be clearly visible. Use **[FocusedBorderColor](properties-color-border.md)** and **[FocusedBorderThickness](properties-color-border.md)** to achieve this clarity.
0 commit comments