Share via


Importing and Exporting Objects

You can import objects into Dynamics NAV and export objects from 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. How to: Import Objects

How to: Export Objects

Import Worksheet
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. Development Environment Commands

How to: Import Objects

How to: Export Objects

When you export an object, you export the design object, but not the data, from the database.

Warning

When you import objects to 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 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

How to: Import Objects
How to: Export Objects
ImportObjects
Objects
How to: Add Translated Strings By Importing and Exporting Multilanguage Files
Import Worksheet
Working with Application Objects as Text Files