Skip to content

Commit 4f64cdb

Browse files
authored
Live publish
2 parents 2253cad + dfdde5f commit 4f64cdb

File tree

1 file changed

+54
-4
lines changed

1 file changed

+54
-4
lines changed

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

Lines changed: 54 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22
title: Attachments control in Power Apps
33
description: Learn about the details, properties and examples of the attachments control in Power Apps.
44
author: chmoncay
5-
65
ms.topic: reference
76
ms.custom: canvas
8-
ms.date: 08/06/2021
7+
ms.date: 02/17/2022
98
ms.subservice: canvas-maker
109
ms.author: chmoncay
1110
ms.reviewer: tapanm
@@ -25,10 +24,13 @@ A control that allows users to download files to their device, as well as upload
2524
## Limitations
2625

2726
The attachment control has these limitations:
27+
2828
1. Attachments are supported with SharePoint lists and Dataverse tables.
2929

3030
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.
3131

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+
3234
## Description
3335
An **Attachments** control lets you open, add, and delete files from a SharePoint list or a Dataverse table.
3436

@@ -56,22 +58,70 @@ An **Attachments** control lets you open, add, and delete files from a SharePoin
5658

5759
**[BorderThickness](properties-color-border.md)** – The thickness of a control's border.
5860

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+
5969
**[DisplayMode](properties-core.md)** – Whether the control allows adding and deleting files (**Edit**), only displays data (**View**), or is disabled (**Disabled**).
6070

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+
6183
**[FocusedBorderColor](properties-color-border.md)** – The color of a control's border when the control is focused.
6284

6385
**[FocusedBorderThickness](properties-color-border.md)** – The thickness of a control's border when the control is focused.
6486

6587
**[Height](properties-size-___location.md)** – The distance between a control's top and bottom edges.
6688

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+
67101
**MaxAttachmentsText** – The text that replaces the "Attach file" link when the control contains the maximum number of files allowed.
68102

69103
**NoAttachmentsText** – Informational text shown to the user when there are no files attached.
70104

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+
71113
**Reset** – Reverts all changes to the attachments control returning to the previously saved state.
72114

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+
73119
**[TabIndex](properties-accessibility.md)** – Keyboard navigation order in relation to other controls.
74120

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+
75125
**[Visible](properties-core.md)** – Whether a control is visible or hidden.
76126

77127
**[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:
110160
* **MaxAttachmentsColor** and **Fill**
111161
* **NoAttachmentsColor** and **Fill**
112162

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).
114164

115165
### Screen reader support
116166
The following properties must be present:
@@ -121,7 +171,7 @@ The following properties must be present:
121171

122172
### Keyboard support
123173
* **[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.
125175

126176

127177
[!INCLUDE[footer-include](../../../includes/footer-banner.md)]

0 commit comments

Comments
 (0)