Skip to content

Commit 05806fc

Browse files
authored
Live publish
2 parents 81fa8d5 + 8798cba commit 05806fc

12 files changed

+83
-9
lines changed

powerapps-docs/user/export-excel-dynamic-worksheet.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ You can’t export data to a dynamic worksheet in Excel for all record types. If
4848

4949
6. If you see the security warning **External Data Connections have been disabled**, select **Enable Content**.
5050

51-
7. To refresh data in the file, on the **Data** tab, select **Refresh from Power Apps**.
51+
7. To refresh data in the file, on the **Data** tab, select **Refresh All**.
5252

5353
> [!NOTE]
54-
> If you have a phone number that starts with **+** or **** (for example +1-123-456-7890), when you refresh the dynamic worksheet, the phone number field will not display the number correctly.
55-
>
54+
> - If you have a phone number that starts with **+** or **** (for example +1-123-456-7890), when you refresh the dynamic worksheet, the phone number field will not display the number correctly.
5655
> To avoid the issue, use a space or parentheses **()**, like this: +1 123-456-7890 or +1 (123)-456-7890.
56+
>- If you have any issues with dynamic worksheet, see [Troubleshoot export to Excel](ts-export-to-excel.md).
5757
5858
## Tips
5959

powerapps-docs/user/import-data.md

Lines changed: 79 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ manager: kvivek
66
ms.service: powerapps
77
ms.component: pa-user
88
ms.topic: conceptual
9-
ms.date: 11/16/2018
9+
ms.date: 08/11/2020
1010
ms.author: mduelae
11-
ms.custom: ""
1211
ms.reviewer: ""
1312
ms.assetid:
1413
search.audienceType:
@@ -25,6 +24,7 @@ Whether your data is stored in a spreadsheet, on your phone, or in an email prog
2524
First, export your data into an Excel file. These file formats are supported:
2625
- Excel workbook (.xlsx)
2726
- Comma-separated values (.csv)
27+
- XML Spreadsheet 2003 (.xml)
2828

2929
The maximum file size allowed for .zip files is 32 MB. For the other file formats, the maximum file size allowed is 8 MB.
3030

@@ -69,10 +69,10 @@ Use a USB cable or an app to export your data such as contacts from your phone t
6969
To find specific steps to export contacts for your brand of phone, search for “export contacts from my phone” in your favorite search engine (like Bing).
7070

7171
To find an app, search your phone’s online store.
72-
72+
7373
## Step 2: Import the file
7474

75-
1. On the command bar, select **Import from Excel** or **Import from CSV**.
75+
1. On the command bar, select **Import from Excel**, **[Import from CSV](#import-from-xml-or-csv-file)**, or **[Import from XML](#import-from-xml-or-csv-file)**.
7676

7777
> [!div class="mx-imgBorder"]
7878
> ![Main menu in Power Apps](media/import.png "Main menu in Power Apps")
@@ -83,7 +83,78 @@ To find an app, search your phone’s online store.
8383
> You can import only one file at a time. To bring in more files, run the wizard again later.
8484
8585
3. Review the file name and verify that the field and data delimiters are correct using the **Review Mapping** option. If everything looks good, select **Finish Import**.
86-
86+
87+
### Import from XML or CSV file
88+
89+
>[!NOTE]
90+
>In the below process, we are importing an XML file. Similarly, you can follow the process to import CSV file.
91+
92+
1. On the **Import from XML** pane, select **Choose file** and browse to the folder where you saved the file that contains the export of your data. Select the file and then select **Open**.
93+
94+
> [!div class="mx-imgBorder"]
95+
> ![Import selected XML file](media/import-xml.png "Import selected XML file")
96+
97+
2. Select **Next**.
98+
99+
3. (Optional) If you have to update the existing records in Dynamics 365 through import XML file, use the alternate key. Select it from the **Alternate Key** drop-down list. This option is available only when an alternate key is defined for the entity.
100+
101+
The alternate key is used to uniquely identify and update records during import. More information: [Define alternate keys to reference Dynamics 365 records](https://docs.microsoft.com/previous-versions/dynamicscrm-2016/administering-dynamics-365/dn949335(v=crm.8)?redirectedfrom=MSDN).
102+
103+
> [!div class="mx-imgBorder"]
104+
> ![Select the alternate key](media/import-xml-alternate-key.png "Select the alternate key")
105+
106+
4. Select **Review Mapping** option and then on the **Review Mapping** page, review how your column headings are mapped to the fields in Dynamics 365.
107+
108+
> [!div class="mx-imgBorder"]
109+
> ![Map XML columns with Dynamics 365](media/import-xml-mapping.png "Map XML columns with Dynamics 365")
110+
111+
- On the left side, by default the **Primary Fields** section of the **Review Mapping** page shows all the required fields for the entity that must be mapped for the data to be imported successfully.
112+
- If you've selected an alternate key, all the fields of the alternate key also become required fields and must be mapped.
113+
- If the column headings of your source file match the field display names, these fields will be automatically mapped. All the mapped fields will be shown with a green check mark.
114+
- If the column headings don't match, the unmapped fields will be shown with a red exclamation point. Select a Dynamics 365 field to map to the unmapped column heading of your file.
115+
- To quickly filter on only the unmapped fields, select **Unmapped** from the **Map Attributes** drop-down list.
116+
117+
5. In the **Optional Fields** section of the **Review Mapping** page, the left side shows the column headings in your source file. If the column headings match the field display names, the fields will be automatically selected in the corresponding drop-down lists.
118+
119+
- If the column headings don't match, the unmapped fields will be shown with a red exclamation point.
120+
- Select a Dynamics 365 field to map to the unmapped column heading of your file.
121+
- You can also choose **Ignore** from the drop-down list for one or more optional fields. Data from ignored columns won't be imported into Dynamics 365 Sales.
122+
- A field set to be ignored during import.
123+
124+
> [!div class="mx-imgBorder"]
125+
> ![Ignore optional fields](media/import-csv-ignore.png "Ignore optional fields")
126+
127+
6. If any column in your source file includes a fixed set of values, you must map the column to a field of type **Option Set**. A column of this type has values such as "Yes" or "No," or "Hot," "Warm," or "Cold." To do this, select the ![The Option Set button](media/import-option-set-button.png "The Option Set button") button next to the option set field. The **Option set mapping** section opens:
128+
129+
> [!div class="mx-imgBorder"]
130+
> ![The option-set value mapping menu](media/import-option-set-values.png "The option-set value mapping menu")
131+
132+
- For each **Source Option Values** item, select an item from the **Dynamics 365 Option Values** list to map it, and then select **OK**.
133+
- The Dynamics 365 Option Values drop-down list combines the values available in the incoming file with those already in the Dynamics 365 database. For example:
134+
- **Values in import file**: Low, High
135+
- **Values already in Dynamics 365**: Cold, Warm, Hot
136+
- **Resulting target values**: Cold, Warm, Hot, Low, High
137+
- After import, the import wizard will add all mapped values to Dynamics 365, but will drop unmapped values from the import file that aren't yet in Dynamics 365. For example, you could map the "Low" source value to the "Cold" target value, but map the "High" source value to the (new) "High" target value. Based on these mappings, the import wizard creates "High" as a Dynamics 365 target value. It does not create "Low" as a Dynamics 365 target value because you didn't map any source to this target value.
138+
139+
>[!NOTE]
140+
>You can also map a column in your source file to a field of type "Two Options" and "Multiselect Option Set" (where a field can have multiple values). You must map each **Source Option Values** to the items in the **Dynamics 365 Option Values** list. When mapping to a field of type "Multiselect Option Set," if your source file includes values that aren't available in Dynamics 365 Sales, new values won't be created in Dynamics 365 Sales.
141+
142+
7. If some data in your source file references other existing records in Dynamics 365 Sales, you must map the column in the source file to a lookup field of Dynamics 365 Sales.
143+
144+
For example, you might want to import a file named Leads.csv, which contains customer records. The **Customer** column in Leads.csv contains the associated account or contact data. To map this, select the **Lookup Reference** button next to the lookup field. The **Lookup Reference** section opens and lists the entities related to the current entity.
145+
146+
> [!div class="mx-imgBorder"]
147+
> ![The Lookup Reference section](media/import-lookup-reference-section.png "The Lookup Reference section")
148+
149+
For each entity, select the fields to search during import to retain the relationships between the records, and then select **OK**.
150+
151+
8. To save your mapping settings for next time, enter a name in the **Name your data map** box. This way, the next time you need to import a similar set of data, you'll be able to use this mapping again.
152+
153+
> [!div class="mx-imgBorder"]
154+
> ![Name your data map here](media/import-save-settings.png "Name your data map here")
155+
156+
9. When you're ready to continue, select **Finish Import** to import that data by using your mappings.
157+
87158
## Step 3: Check that the import is successful
88159

89160
After the wizard finishes, check your data (for example, list of contacts) to make sure they imported correctly.
@@ -92,6 +163,9 @@ After the wizard finishes, check your data (for example, list of contacts) to ma
92163

93164
2. Scroll through the contact list. Check that each person is listed and verify the contents of the fields for accuracy.
94165

166+
>[!NOTE]
167+
>To verify the status of the imported records, view import logs. To view the import logs, go to **Settings** > **System** > **Data management** > **Imports**.
168+
95169
## Import double-byte characters
96170

97171
If you are importing data that includes double-byte characters for east asian languages, make sure the file is encoded as UTF-8 BOM. Plain UTF-8 may not be enough.
9.72 KB
Loading
Loading
Loading
Loading
Loading
Loading
36.4 KB
Loading
8.26 KB
Loading

powerapps-docs/user/media/import.png

7.13 KB
Loading

powerapps-docs/user/ts-export-to-excel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ manager: shujoshi
1212

1313
# Troubleshoot export to Excel
1414

15-
## Data disappears after I refresh the imported Excel file
15+
## Data disappears after I refresh the exported dynamic Excel file
1616

1717
**Problem**
1818

0 commit comments

Comments
 (0)