MMS3 to MMS4 migration [Draft]
Step | Description |
---|---|
Ensure you have “writer” permissions for MMS3 and MMS4 project |
|
Ensure MMS3 and TWC are in sync
| **Note: Make sure you are using CSM/MDK version 4.5.3 or earlier for all of the steps in the "Prep for Migration" phase.
***Note: Updating project usages before completing these steps may reduce validation errors.
|
Export View Editor HTML or PDF documents on MMS3 |
|
Delete “__MMSSync__” Folder |
|
Remove MMS Stereotype from root “Model” Package |
|
Commit Changes to TWC | Expected outcome: notification window doesn't print element validation summary |
Close TWC project |
|
run ID migration scripts as jython macros one by one _OpenMBEE-Documentation/migration/crush2donbot/TWC at master · Open-MBEE/_OpenMBEE-Documentation | when uploading/moving a project from local or from another TWC server, CSM changes the IDs which are not compatible with VE crossreferences. |
Open CSM with MDK with MMS Enabled | **Note: Make sure you are using MDK version 5.1.0 or later for all of the steps in the "Execute Migration" phase.
|
Configure MMS in project options | Set URLs for MMS4 and VE4
|
Login to MMS | Select "MMS" tab from top ribbon -> Login -> Enter username and password -> Ok |
Right Click Root Element → MMS → Validate Models | Right click the root "Model" package and select MMS -> Validate Models |
Wait for Validation Window to Print Errors/Warnings | **Note: Validation may take awhile if it is a bigger model. |
Right Click Error in Validation Window → Commit Project and Model | Note: Error will remain visible until validation window is closed |
Choose MMS Org | Wait for "Choose MMS Org" dialog to pop up -> Select desired Org -> Ok |
Again, Right Click Root Element → MMS → Validate Models | Right click the root "Model" package and select MMS -> Validate Models |
Wait for Validation Window to see “Holding bin missing in client” | Can skip if Holding bin exists, otherwise choose “update from MMS” |
Confirm that “__MMSSync__” folder has been created |
|
Save Project locally by “File->Save Project” |
|
Commit Changes to TWC |
|
Again, Right Click Root Element → MMS → Validate Models |
|
Run Presentation Element migration script | follow the readme here GitHub - Open-MBEE/mms3-to-mms4-json: Helper script for MMS3 to MMS4 JSON migration |
Log into VE and check that org and project exist |
|
Run Validation on CSM side | should see zero differences |
Check View Editor for Errors |
|
Generate Model views |
|
Confirm VE Content (Except Artifacts) |
|
Run Artifact Migration Script | for ve added images, follow this script mms3-to-mms4-json/images at master · Open-MBEE/mms3-to-mms4-json |
Again, Right Click Root Element → MMS → Validate Models |
|
Confirm VE Shows All Content |
|
Check that project cover page migrated correctly |
|
Run Csync by Committing to TWC |
|
Generate Model views |
|
Confirm VE Shows All Content |
|
Export VE HTML/PDF documents on MMS4 |
|
Diff HTML/PDF Documents MMS3 vs MMS4 |
|
Configure permissions for MMS4 project |
|