Hitachi

JP1 Version 12 JP1/Navigation Platform Setup and Operations Guide


6.4.4 Exporting and importing access permission groups

You can export to the execution environment access permission groups created in an editing environment or import them to another editing environment. There are two ways of exporting access permission groups, one that exports only access permission groups and one that exports access permission groups together with the Operational Contents. The following explains these two methods.

Organization of this subsection

(1) How to export and import only access permission groups

To export and import only access permission groups:

  1. Log in to the machine in the editing environment.

  2. From the command prompt, execute the npaclexport command (export access permission groups).

    Example:

    Navigation-Platform-installation-directory\bin\npaclexport C:\work\accessgroup.zip

    When this command is executed exactly as shown in the example, information about all access permission groups is exported to the accessgroup.zip file and stored in the work directory.

  3. Log in to the machine in the import target execution environment or editing environment.

  4. Store the file acquired by the npaclexport command in a desired directory.

  5. From the command prompt, execute the npimport command (import Operational Contents).

    Example:

    Navigation-Platform-installation-directory\bin\npimport -f C:\work\accessgroup.zip

    When this command is executed exactly as shown in the example, information about the access permission groups in the accessgroup.zip is imported. If an access permission group with the same name already exists at the import destination, its definition will be overwritten.

(2) Exporting and importing access permission groups together with Operational Contents

To export and import access permission groups together with Operational Contents:

  1. Log in to the machine in the editing environment.

  2. From the command prompt, execute the npexport command (export Operational Contents).

    Example:

    Navigation-Platform-installation-directory\bin\npexport C:\work\contents.zip

    When this command is executed exactly as shown in the example, information about all Operational Contents and access permission groups is exported to the contents.zip file and stored in the work directory.

  3. Log in to the machine in the import target execution environment or editing environment.

  4. Store the file acquired by the npexport command in a desired directory.

  5. From the command prompt, execute the npimport command (import Operational Contents).

    Example:

    Navigation-Platform-installation-directory\bin\npimport -f C:\work\contents.zip

    When this command is executed exactly as shown in the example, information about the Operational Contents and access permission groups in the contents.zip is imported. If an Operational Content with the same ID or an access permission group with the same name already exists at the import destination, its contents will be overwritten.