Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

PPM Support Tip: PPM kMigratorImport.sh command flags

Highlighted
jsalass
Frequent Visitor

PPM Support Tip: PPM kMigratorImport.sh command flags

Knowledge Base Article: KM1438303

 

The Product and Portfolio Management (PPM) kMigratorImport sh command is a script that allows the application to import some entities like request types, workflows, object types, etc into the PPM database. The command creates the new entity in the PPM server, so it can be used by the users using the application.

 

Example of the import command:

bin/kMigratorImport.sh -username "youradminuser" -password #!#*****#!# -action import -filename   transfers/WORKFLOW_30107_1.zip -i18n none -flags NNNNNYNNNNNNNNNNNNY -unescapeUnicode Y

 

This is the meaning of the flags (same order in the command above):

 

FLAG_REPLACE_OBJECT_TYPE=N
FLAG_REPLACE_REQUEST_TYPE=N
FLAG_REPLACE_REQUEST_HEADER_TYPE=N
FLAG_REPLACE_SPECIAL_COMMAND=N
FLAG_REPLACE_VALIDATION=N
FLAG_REPLACE_WORKFLOW=Y
FLAG_REPLACE_WF_STEP_SOURCE=N
FLAG_ADD_ENVIRONMENT=N
FLAG_ADD_SECURITY_GROUP=N
FLAG_ADD_REQUEST_STATUS=N
FLAG_REPLACE_REPORT_TYPE=N
FLAG_REPLACE_WORKPLAN_TEMPLATE=N
FLAG_REPLACE_PORTLET=N
FLAG_REPLACE_USER_DATA_CONTEXT=N
FLAG_REPLACE_PORTLET_DEF=N
FLAG_REPLACE_MODULE=N
FLAG_REPLACE_DATA_SOURCE=N
FLAG_REPLACE_PROJECT_TYPE=N
FLAG_REPLACE_SUB_WORKFLOW=Y

//Add this to "OnDomLoad" event