How to: Export Objects

You can export one or more application objects to one of the following formats:

  • Microsoft Dynamics NAV Object format (.fob)

  • Text format (.txt)

You can export objects either by using the development environment UI or by running finsql.exe with the ExportObjects command.

Note

To export objects to .txt format, you must have a developer license. To export objects to .fob format, you can have either an end-user license or a developer license.

To export objects by using the development environment UI

  1. In the development environment, on the Tools menu, choose Object Designer.

  2. In Object Designer, select the object type that you want to export, or select All if you want to export different types of objects to the same file.

  3. Select one or more objects that you want to export. To select multiple objects, hold down the Ctrl key when you select objects.

  4. On the File menu, choose Export.

  5. In the Export Objects window, locate the folder where you want to create the exported objects file, enter a file name, select the file type, and then choose the Save button.

To export objects by running finsql.exe with the ExportObjects command

  1. At a command prompt, move to the location of finsql.exe. By default, finsql.exe is located at C:\Program Files (x86)\Microsoft Dynamics NAV\90\RoleTailored client\.

  2. Run finsql.exe with the parameter "command=exportobjects". You must specify the following parameters:

    • file

    • servername

    • database

    All other parameters are optional.

    For more information about the ExportObjects command, see ExportObjects.

See Also

Concepts

Importing and Exporting Objects