Skip to content

Commit c61a935

Browse files
authored
Merge pull request #5828 from MicrosoftDocs/matp-2596417
Matp 2596417
2 parents 4eefd24 + a14d43f commit c61a935

File tree

5 files changed

+53
-64
lines changed

5 files changed

+53
-64
lines changed

powerapps-docs/maker/data-platform/data-platform-excel-addin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ For more information about preventing Office Store Add-in downloading from the O
118118
## Other ways to export and view table row data
119119

120120
For more information about ways to export and view table row data, see these articles.
121-
- [Export data to CSV](./data-platform-import-export.md#export-data-to-csv)
121+
- [Export data to CSV](./data-platform-import-export.md#export-data)
122122
- [Export your data to Excel Online](../../user/export-to-excel-online.md)
123123
- [Export table data to Azure Data Lake Storage Gen2](./export-to-data-lake.md)
124124
- [Self-service data prep with dataflows](./self-service-data-prep-with-dataflows.md)

powerapps-docs/maker/data-platform/data-platform-import-export.md

Lines changed: 52 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: sabinn-msft
55
ms.service: powerapps
66
ms.topic: how-to
77
ms.component: cds
8-
ms.date: 08/27/2020
8+
ms.date: 02/06/2021
99
ms.subservice: dataverse-maker
1010
ms.author: sabinn
1111
search.audienceType:
@@ -14,82 +14,74 @@ search.app:
1414
- PowerApps
1515
- D365CE
1616
---
17-
# Import or export data from Microsoft Dataverse
17+
# Import or export data from Dataverse
1818

19+
To get (import) data into Microsoft Dataverse tables, use an Excel worksheet file, a comma-separated values (CSV) file, or one of the many connectors available.
1920

21+
When you export Dataverse table data, it's exported as a CSV file.
2022

21-
To bulk import and export data from Microsoft Excel or CSV files, use the Get Data from Excel file and Export Data features for updated Dataverse environments.
23+
## Import using a connector
2224

23-
There are two ways that you can import files into tables from Excel or CSV files.
25+
Use a connector to import data from a selection of many different sources, such as Microsoft Excel, Azure, SQL Server database, SharePoint, Access, OData, and more.
2426

25-
## Option 1: Import by creating and modifying a file template
27+
1. Sign into [Power Apps](https://make.powerapps.com/?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc).
28+
1. On the left navigation pane expand **Data**, and then select **Tables**.
29+
1. Select **Data** > **Get data** > **Get data**.
30+
1. From the **Data sources** list, select the connector that you want to import data from.
2631

27-
Every table has required columns that must exist in your input file. We recommend that you create a template. First, export data from the table. Use the same file (modified with your data) to import data into the table. This template saves time and effort. You won't have to account for the required columns for each table.
32+
For information about the connector you want to use as your data source, see [List of all Power Apps connectors](/connectors/connector-reference/connector-reference-powerapps-connectors) and [List of all connectors published by Microsoft](/connectors/connector-reference/connector-reference-microsoft-connectors).
2833

29-
1. Prepare the file template.
34+
## Import from an Excel or CSV file
3035

31-
a. Export the table data to the CSV file. Follow the steps in **Export data to CSV**.
32-
b. Define a plan to make sure data is unique. Use either **primary keys** or **Alternate Keys**.
33-
c. Refer to the next section for instructions to make sure data is unique before you import it into a table.
36+
There are two ways to import data from Excel.
37+
- [Option 1: Import by creating and modifying a file template](#option-1-import-by-creating-and-modifying-a-file-template)
38+
- [Option 2: Import by bringing your own source file](#option-2-import-by-bringing-your-own-source-file)
3439

35-
1. Modify the file with your data.
40+
### Option 1: Import by creating and modifying a file template
3641

37-
- Copy data from your Excel or CSV file into the template that you just created.
42+
Every table has required columns that must exist in your input file. We recommend that you create a template. To do this, export data from the table. Then, use the same file and modify it with your data. Finally, import the modified file back into the table. Using a template can save you time because you won't have to specify the required columns for each table.
3843

39-
1. Import the file.
40-
a. On [powerapps.com](https://make.powerapps.com/), expand the **Data** section. Select **Tables** in the left navigation pane.
41-
b. Select the table that you want to import data into.
42-
c. Select the ellipsis or menu at the top. Select **Get Data**. Select **Get data from Excel**.
44+
#### Prepare the file template
4345

44-
> [!NOTE]
45-
> To import data into more than one table, in the top menu, select **Get Data**. Select **Get data from Excel**. Then you can choose multiple tables and select **Next**.
46-
47-
> [!div class="mx-imgBorder"]
48-
> ![Example of importing data to an **Account** table.](./media/data-platform-import-export/import-data-to-account.png)
46+
1. [Export the table data](#export-data).
47+
1. Define a plan to make sure data is unique before you import it. Use either primary keys or alternate keys. More information: [Ensure uniqueness when you import data into a table from Excel or CSV](#ensure-uniqueness-when-you-import-data-into-a-table-from-excel-or-csv)
4948

50-
d. On the **Import data** screen, choose whether to import data from an Excel or a CSV file.
51-
e. Select **Upload**.
52-
f. Choose your file. Follow the prompts to upload your file.
49+
#### Modify the file with your data
5350

54-
<!-- > [!div class="mx-imgBorder"]
55-
> ![Example of uploading a file to an **Account** table.](./media/data-platform-import-export/upload-account.png) -->
51+
Copy data from your Excel or CSV file into the template that you created in the previous step.
5652

57-
g. After the file is uploaded and **Mapping status** is green, select **Import** in the top-right corner. Refer to the next section to navigate and fix any mapping errors.
53+
#### Import the file
5854

59-
h. After the import finishes successfully, you'll see the total number of inserts and updates.
55+
1. On [powerapps.com](https://make.powerapps.com/), expand the **Data** section. Select **Tables** in the left navigation pane.
56+
1. Select **Get Data** > **Get data from Excel**.
57+
1. Select the tables where you want to import data, and then select **Next**.
58+
1. On the **Import data** page, select **Upload**, and choose your file. Follow the prompts to upload your file.
59+
1. After the file is uploaded and **Mapping status** indicates **Mapping was successful**, select **Import** from the top-right corner. Go to [Troubleshoot mapping errors with Excel](#troubleshoot-mapping-errors-with-excel) to navigate and fix any mapping errors.
60+
:::image type="content" source="media/data-platform-import-export/import-mapping-successful.png" alt-text="Import mapping successful":::
61+
After the import finishes successfully, you'll see the total number of inserts and updates.
6062

61-
> [!NOTE]
62-
> Use the Upsert (Update or Insert) logic to either update the row, if it already exists, or to insert a new row.
63-
64-
## Option 2: Import by bringing your own source file
63+
### Option 2: Import by bringing your own source file
6564

66-
If you're an advanced user and know the required columns for a given table for Dataverse tables, define your own Excel or CSV source file. Follow the steps in **Import the file**.
65+
If you're an advanced user and know the required columns for a given table for Dataverse tables, define your own Excel or CSV source file. Follow the steps in [Import the file](#import-the-file).
6766

68-
## Navigate mapping errors
67+
### Troubleshoot mapping errors with Excel
6968

7069
If you get mapping errors after you upload your file, select **Map status**. Take the following steps to inspect and rectify the column mapping errors.
7170

7271
1. Use the drop-down menu on the right, under **Show**, to walk through the **Unmapped columns**, **Fields with error**, or **Required Fields**.
7372

7473
> [!TIP]
75-
> Depending on whether you get a Warning or an Error, inspect **Unmapped columns** or **Fields with error** through the drop-down menu in **Column Mappings**.
76-
77-
<!-- > [!div class="mx-imgBorder"]
78-
> ![Example of a partial match due to warnings with column mappings.](./media/data-platform-import-export/partial-match.png)
74+
> - Depending on whether you get a **Warning** or an **Error**, inspect **Unmapped columns** or **Fields with error** through the drop-down menu in **Column Mappings**.
75+
> - Use the *upsert* (**Update** or **Insert**) logic to either update the row, if it already exists, or to insert a new row.
7976
80-
> [!div class="mx-imgBorder"]
81-
> ![Example of navigating column mapping issues.](./media/data-platform-import-export/navigate-mappings.png)
82-
83-
> [!div class="mx-imgBorder"]
84-
> ![Example of inspecting and rectifying warnings with column mappings.](./media/data-platform-import-export/inspect-warnings.png) -->
77+
1. After you resolve all the errors and warnings, select **Save Changes** in the top-right corner. You'll go back to the **Import Data** screen.
78+
1. When the **Mapping status** column shows **Mapping was successful**, select **Import** from the top-right corner.
8579

86-
2. After you resolve all the errors and warnings, select **Save Changes** in the top-right corner. You'll go back to the **Import Data** screen.
87-
3. When the **Mapping Status** column shows **Completed** in green, select **Import** in the top-right corner.
88-
4. When you get the **Import completed successfully** message, it shows the total inserts and updates.
80+
When the **Import completed successfully** message appears, the total inserts and updates are displayed.
8981

90-
## Ensure uniqueness when you import data into a table from Excel or CSV
82+
### Ensure uniqueness when you import data into a table from Excel or CSV
9183

92-
Dataverse tables use a primary key to uniquely identify rows within a Dataverse table table. The primary key for a Dataverse table is a globally unique identifier (GUID). It forms the default basis for row identification. Data operations, like importing data into Dataverse tables, surface the default primary keys.
84+
Dataverse tables use a primary key to uniquely identify rows within a Dataverse table. The primary key for a Dataverse table is a globally unique identifier (GUID). It forms the default basis for row identification. Data operations, like importing data into Dataverse tables, surface the default primary keys.
9385

9486
Example:
9587
The primary key for an **Account** table is **accountid**.
@@ -100,41 +92,38 @@ The primary key for an **Account** table is **accountid**.
10092
Sometimes, a primary key might not work when you integrate data from an external source. Use Dataverse to define alternate keys that uniquely identify a row in place of the primary key.
10193

10294
Example:
103-
For an **Account** table, you might set **transactioncurrencyid** as an alternate key by using a natural key-based identification. For example, use **US Dollar** instead of the GUID value **88c6c893-5b45-e811-a953-000d3a33bcb9** shown previously. You can also choose **currency symbol** or **currency name** as keys.
95+
For an **Account** table, you might set **transactioncurrencyid** as an alternate key by using a natural key-based identification. For example, use **US Dollar** instead of the GUID value **88c6c893-5b45-e811-a953-000d3a33bcb9** shown previously. You can also choose **currency symbol** or **currency name** as keys. More information: [Define alternate keys using Power Apps portal](define-alternate-keys-portal.md)
10496

10597
> [!div class="mx-imgBorder"]
10698
> ![Example of creating an alternate key on a **Currency** table.](./media/data-platform-import-export/create-ak.png)
10799
108100
> [!div class="mx-imgBorder"]
109101
> ![Sample export file from an **Account** table showing **currency name** as a natural key.](./media/data-platform-import-export/export-nk.png)
110102
111-
Users can still use primary keys as identifiers after they specify alternate keys. In the preceding sample, the first file is still valid if GUIDs are valid data.
103+
You can still use primary keys as identifiers after you specify alternate keys. In the preceding sample, the first file is still valid if GUIDs are valid data.
112104

113-
## Export data to CSV
105+
## Export data
114106

115-
You can do a one-time data export from a standard table or custom table. And you can export data from more than one table at a time. If you export data from more than one table, each table is exported into its own Microsoft CSV file.
107+
Export data from one or more tables. Exported data is in comma-separated value (CSV) format. When you export data from more than one table, each table is exported into its own CSV file.
116108

117-
1. On [powerapps.com](https://make.powerapps.com/), expand the **Data** section. Select **Tables** on the left navigation pane.
118-
1. Select the table that you want to export data from.
119-
1. Select the ellipsis or menu at the top. Select **Export data**.
109+
1. Sign into [Power Apps](https://make.powerapps.com/?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc), on the left navigation pane expand **Data**, and then select **Tables**.
110+
1. Select **Data** > **Export data**.
111+
1. Select the tables that you want to export data from, and then select **Export data**.
120112

121113
> [!div class="mx-imgBorder"]
122114
> ![Example of exporting data from an **Account** table.](./media/data-platform-import-export/export-account.png)
123115
124-
> [!NOTE]
125-
> To export data from multiple tables, in the top menu, select **Export**. Select **Data**. You can choose multiple tables.
126-
127-
1. After the export finishes successfully, you can **Download exported data**. This download gives you a link to the downloadable CSV file.
116+
1. After the export finishes successfully, select **Download exported data** to download the CSV file to the download folder specified in your web browser.
128117

129-
<!-- > [!div class="mx-imgBorder"]
130-
> ![Sample export that shows successful export with link downloadable file.](./media/data-platform-import-export/export-success.png) -->
118+
> [!div class="mx-imgBorder"]
119+
> ![Sample export that shows successful export with link downloadable file.](./media/data-platform-import-export/export-success.png)
131120
132121
## Unsupported data types
133122

134-
The following data types aren't currently supported.
123+
The following data types aren't currently supported for import or export.
135124

136125
- Timezone
137-
- Multiselect choice
126+
- Choices (multiselect)
138127
- Image
139128
- File
140129

-69.4 KB
Loading
19.4 KB
Loading
87 KB
Loading

0 commit comments

Comments
 (0)