Import / Export Models via Utility

You can import and export the models between Sandbox to Production or vice versa using the Utility.
Prerequisite:
Before you import, ensure the Model artifacts are available in the <installed path>/ftpshare.
To import the models:
  1. Navigate to <MMG_PACK>OFS_MMG/bin and execute in the following format:
    ./model_export_import_utility.sh IMPORT WORKSPACE LOGIN_USER LOCALE FILE_NAME Y/N
    Example:
    ./model_export_import_utility.sh IMPORT CS SAUSER en_US CS_1638105398036_0.zip Y

    Table 8-21 Fields and icons on the Sandbox Summary page

    Field Description
    Import Command to import the Model into Workspace
    Workspace The name of the Workspace to which you are importing the Model
    Login_User The logged in user name.
    Locale The application language preferences

    For example: en_US

    File_name The file name with the following format:

    Workspace name_Model ID_Model version.zip

    For example: CS_1638105398036_0.zip

    Note:

    If you enter input as Y, the utility imports the models in the approved status.

    If you enter as N, the models are imported but not in the approved status.

    To export the models, perform the following steps:
    Prerequisite:
    Before you export, ensure the Models and Drafts are available in the UI / setup.
    1. Navigate to <MMG_PACK>OFS_MMG/bin and execute in the following format:

      ./model_export_import_utility.sh EXPORT WORKSPACE LOGIN_USER LOCALE MODELID MODEL_VERSION

      Example:

      ./model_export_import_utility.sh EXPORT CS SAUSER en_US 1638105398036 0

      Table 8-22 Fields and icons on the Sandbox Summary page

      Field Description
      Export Command to export the Model from the Workspace
      Workspace The name of the Workspace from which the model is exported
      Login_User The logged in user name.
      Locale

      The application language preferences.

      For example: en_US

      Model ID The Model ID
      Model Version The version of the Model