{"id":18217,"date":"2019-05-06T12:11:03","date_gmt":"2019-05-06T12:11:03","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=18217"},"modified":"2021-06-30T16:56:12","modified_gmt":"2021-06-30T16:56:12","slug":"import-export-records-from-powerapps-for-dynamics-365-ce","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2019\/05\/import-export-records-from-powerapps-for-dynamics-365-ce\/","title":{"rendered":"Import or Export Records from PowerApps for Dynamics 365 CE"},"content":{"rendered":"<h2><strong>Introduction<\/strong><\/h2>\n<p>In this blog, we will explore more on how to import and export records from one PowerApps application to another PowerApps application just like import\/export functionality of Dynamics 365 CE.<\/p>\n<p>Import and Export controls are controls used for importing and exporting data from the local file in PowerApps application.<\/p>\n<p>Let\u2019s just start exploring this control by first simply creating a default App for contact entity. For more information you can refer the blog <a href=\"https:\/\/www.inogic.com\/blog\/2018\/07\/create-records-in-dynamics-365-with-canvas-powerapp\/\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>.<\/p>\n<p>Now follow the steps given below to import and export records in PowerApps:<\/p>\n<p><strong>1.<\/strong> Select \u201cExport\u201d control from the given list of controls and add on the rectangle provided in Browse Gallery of the app as shown in below screenshot:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-18218\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE.png\" alt=\"Import or Export Records from PowerApps for Dynamics 365 CE\" width=\"969\" height=\"537\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE.png 969w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE-300x166.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE-768x426.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/1Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE-660x366.png 660w\" sizes=\"(max-width: 969px) 100vw, 969px\" \/><\/p>\n<p style=\"padding-left: 120px;\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-18219\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/2Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE.png\" alt=\"Import or Export Records from PowerApps for Dynamics 365 CE\" width=\"439\" height=\"786\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/2Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE.png 439w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/2Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE-168x300.png 168w\" sizes=\"(max-width: 439px) 100vw, 439px\" \/><\/p>\n<p><strong>2.<\/strong> Now on \u201cData\u201d property of \u201cExport\u201d control, add the data source name as \u201cContact\u201d as shown in the below screenshot:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-18220\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/3Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE.png\" alt=\"Import or Export Records from PowerApps for Dynamics 365 CE\" width=\"1090\" height=\"690\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/3Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE.png 1090w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/3Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE-300x190.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/3Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE-768x486.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/3Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE-1024x648.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/3Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE-660x418.png 660w\" sizes=\"(max-width: 1090px) 100vw, 1090px\" \/><\/p>\n<p><strong>3.<\/strong> Let\u2019s run the app. Click on the Export button. After clicking on Export button you will see that the zip files have been downloaded in your phone memory.<\/p>\n<p>Please see the screenshot below:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-18221\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/4Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE.png\" alt=\"Import or Export Records from PowerApps for Dynamics 365 CE\" width=\"800\" height=\"570\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/4Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE.png 800w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/4Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE-300x214.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/4Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE-768x547.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/4Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE-660x470.png 660w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><strong>4.<\/strong> Now let\u2019s import the contacts.zip file in another app. Create a screen and add import control as shown in the below screenshot:<\/p>\n<p style=\"padding-left: 160px;\"><img decoding=\"async\" class=\"aligncenter wp-image-18222\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/5Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE.png\" alt=\"Import or Export Records from PowerApps for Dynamics 365 CE\" width=\"349\" height=\"613\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/5Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE.png 442w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/5Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE-171x300.png 171w\" sizes=\"(max-width: 349px) 100vw, 349px\" \/><\/p>\n<p><strong>5.<\/strong> Now on \u201cOnSelect\u201d property of Import control add the formula given below:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-18223\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/6Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE.png\" alt=\"Import or Export Records from PowerApps for Dynamics 365 CE\" width=\"1045\" height=\"704\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/6Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE.png 1045w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/6Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE-300x202.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/6Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE-768x517.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/6Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE-1024x690.png 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/6Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE-660x445.png 660w\" sizes=\"(max-width: 1045px) 100vw, 1045px\" \/><\/p>\n<p>The above formula will create a collection as \u201cImportedContacts\u201d using Collect function and add the records in the collection which are imported through Import Control using \u201cImport.Data\u201d.<\/p>\n<p><strong>6.<\/strong> Now let\u2019s run the app and import the contact.zip file by selecting the import control.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-18224\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/7Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE.png\" alt=\"Import or Export Records from PowerApps for Dynamics 365 CE\" width=\"826\" height=\"620\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/7Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE.png 826w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/7Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE-300x225.png 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/7Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE-768x576.png 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/7Import-or-Export-Records-from-PowerApps-for-Dynamics-365-CE-660x495.png 660w\" sizes=\"(max-width: 826px) 100vw, 826px\" \/><\/p>\n<p><strong>7.<\/strong> Now after importing the contact records using import controls you can see the 230 contact in the app. The columns exported in the contact.zip are now added in another collection in the app using \u201cExport\u201d control. So, \u201cImportedContacts\u201d collection will have all the columns present in the \u201cContact\u201d collection.<\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>Using Import and Export controls we can import or export records in PowerApps just like Dynamics365 CE.<\/p>\n<p><a href=\"https:\/\/www.inogic.com\/product\/development\/dynamics-365-common-data-service-microsoft-powerapps\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-18606\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2019\/05\/PowerApps-2.png\" alt=\"PowerApps\" width=\"800\" height=\"200\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction In this blog, we will explore more on how to import and export records from one PowerApps application to another PowerApps application just like import\/export functionality of Dynamics 365 CE. Import and Export controls are controls used for importing and exporting data from the local file in PowerApps application. Let\u2019s just start exploring this\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2019\/05\/import-export-records-from-powerapps-for-dynamics-365-ce\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":18225,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[18,19,38,44],"tags":[1170],"class_list":["post-18217","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dynamics-365-v9-2","category-dynamics-crm","category-microsoft-powerapps","category-power-apps","tag-microsoft-powerapps"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/18217","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=18217"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/18217\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media\/18225"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=18217"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=18217"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=18217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}