Skip to content

Commit 6e0d551

Browse files
committed
Updating file data type info since it now supports model apps
1 parent 0c1651e commit 6e0d551

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed
80.1 KB
Loading

powerapps-docs/maker/common-data-service/types-of-fields.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ search.app:
1919
---
2020
# Types of fields
2121

22-
The names used for types depends on the designer used. [Power Apps portal](https://make.powerapps.com/?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc) uses a convention that includes the way the data is formatted. The solution explorer type uses a name aligned with the database data type with a format modifier. The following table includes the corresponding `AttributeTypeDisplayName` API type.
22+
The names used for types depend on the designer used. [Power Apps portal](https://make.powerapps.com/?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc) uses a convention that includes the way the data is formatted. The solution explorer type uses a name aligned with the database data type with a format modifier. The following table includes the corresponding `AttributeTypeDisplayName` API type.
2323

2424
|Portal Data type |Solution Explorer type| API type|
2525
|--|--|--|
@@ -52,7 +52,7 @@ The names used for types depends on the designer used. [Power Apps portal](https
5252
|**URL**|**Single Line of Text**<br />*URL* Format|`StringType`|
5353
|**Whole Number**|**Whole Number**<br />*None* Format|`IntegerType`|
5454

55-
For more descriptions for each type you can add or edit, see the topic for the corresponding designer:
55+
For more descriptions for each type you can add or edit, see the article for the corresponding designer:
5656
- [Create and edit fields for Common Data Service using Power Apps portal: Field Data types](create-edit-field-portal.md#field-data-types)
5757
- [Create and edit fields for Common Data Service using Power Apps solution explorer: Field Data types](create-edit-field-solution-explorer.md#field-data-types)
5858

@@ -98,7 +98,7 @@ You can use global option sets that are defined in your organization to configur
9898

9999
## Using the right type of number
100100

101-
When choosing the correct type of number field to use, the choice to use a **Whole Number** or **Currency** type should be pretty straightforward. The choice between using **Floating Point** or **Decimal** numbers requires more thought.
101+
When choosing the correct type of number field to use, the choice to use a **Whole Number** or **Currency** type should be straightforward. The choice between using **Floating Point** or **Decimal** numbers requires more thought.
102102

103103
Decimal numbers are stored in the database exactly as specified. Floating point numbers store an extremely close approximation of the value. Why choose extremely close approximation when you can have the exact value? The answer is that you get different system performance.
104104

@@ -237,13 +237,16 @@ More information for developers working with image data:
237237
## File fields
238238
[!INCLUDE [cc-beta-prerelease-disclaimer](../../includes/cc-beta-prerelease-disclaimer.md)]
239239

240-
Currently, the file data type is only available to canvas apps and flows.
241-
242240
The **File** field is used for storing binary data. The primary intended use of this field is to store a single image, note, or attachment. However, storage of other forms of binary data is also possible. One or more fields of this data type can be added to an existing standard customizable entity or a custom entity.
243241

244242
The default **Maximum file size** is 32 MB and the largest size you can set is 128 MB. The file size limit can be set individually for each field of file type added to an entity.
245243

246244
>[!NOTE]
247245
> Once the maximum file size has been saved, it can't be changed.
248246
247+
To create a file field, on the left pane in Power Apps select **Solutions**, open the solution you want, open the entity you want, on the **Fields** tab select **Add Field**, and then in the **Field properties** pane, select **File** as the **Data type**.
248+
249+
> [!div class="mx-imgBorder"]
250+
> ![File data type](media/file-data-type.png)
251+
249252
More information for developers working with file data: [File attributes](/powerapps/developer/common-data-service/file-attributes)

0 commit comments

Comments
 (0)