Importing and Exporting Objects
You can import objects into Microsoft Dynamics NAV and export objects from Microsoft Dynamics NAV in the development environment or by using development environment commands. The following table describes when you can use each method.
Method | Recommended uses | For more information |
---|---|---|
Import and Export from the File menu in the development environment. |
To move, copy, or share objects from Object Designer. |
|
ImportObjects and ExportObjects commands. |
To move, copy, or share objects at a command prompt. Use the commands if you want to automate the import or export. |
When you export an object, you export the design object, but not the data, from the database.
Warning
When you import objects to Microsoft Dynamics NAV from a .txt file, and the file contains syntax errors, the objects are not imported. You must correct the error and import the .txt file again.
To translate strings for customized objects in a multilanguage environment, you can import and export text strings. For more information, see How to: Add Translated Strings By Importing and Exporting Multilanguage Files. Alternatively, you can export your application objects into text files and then use Windows PowerShell cmdlets to export and import languages. For more information, see Working with Application Objects as Text Files.
To view or troubleshoot a report on a computer that does not have Microsoft Dynamics NAV installed, you can export the dataset of a report as an .xml file. This exports the structure of the dataset and the data from the report. For more information, see Walkthrough: Running a Report Offline.
See Also
Tasks
How to: Import Objects
How to: Export Objects
How to: Add Translated Strings By Importing and Exporting Multilanguage Files
Reference
ImportObjects
Import Worksheet