9.5.14 Export/Import Models via Utility
- 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 9-23 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.- 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 9-24 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
Note:
Currently, if the user gives Production Workspace name during the import of model dump through the utility, the utility migrates the dump to the Production Workspace as well. This should be restricted, as the models in sandbox may or may not be promoted, and the invalid status will be shown in the Production Workspace. - Navigate to <MMG_PACK>OFS_MMG/bin and execute in the
following format: