When users upgrade their OpenPlant versions then workspace and schema upgrades are required. With earlier versions this task was done manually through schema differencing tool in class editor. But with Schema Upgrade tool provided with OpenPlant Project Administrator (SS6), it is just a matter of few minutes and the whole process is automatic. It compares all the schemas and upgrades them to latest version. In this example, we will upgrade a project in OpenPlant Modeler workspace from 08.11.09.568 version to the latest version 08.11.11.87 or higher.
Before you begin
For Local Project
Launch OpenPlant Project Administrator.
Select OPM_Metric project from Workspace-568.
On the Projects tab click Schema Upgrade icon in tool bar.
Select the base version of your workspace in the next dialog. Note: In case you are using any priority build, pick the closest build (like for 08.11.09.447 base version should be 08.11.09.440 and for 08.11.09.581 select base version 08.11.09.564)
Click ‘Process Schema’ button to proceed further.
If there are any changes in the schema, below message will appear. Click OK.
After clicking OK, you will be directed to Summary tab. Review the errors, if any, and resolve them before switching to User Configurations tab.
Switch to User Configurations tab to see all the changes. By default all the changes are selected but you can de-select the changes that you don’t need to add in the upgraded schemas. In this dialog, Symbol denotes that a property, class or relationship has been added by user. Symbol denotes that property, class or relationship has been modified by user. Symbol denotes that property, class or relationship has been deleted by user.
Switch to New Changes tab to see all the changes made to the default schemas. Note: This may take several minutes depending on the number of changes. However, this is an optional step. If you don’t wish to see the changes you can proceed to upgrade.
Click Upgrade to start the process of schema upgrade to merge all the changes into new schemas.
Once schemas are upgraded, below message will appear on the screen. Click OK and restart OpenPlant Project Administrator.After successful upgrade of schema files a log file is generated inside C:\ProgramData\Bentley\OpenPlantModeler V8i\WorkSpace-568\Projects\OPM_Metric\Dataset\schemas named as SchemaUpgrade.log.
Navigate to the project folder and you will see that it creates a new folder ‘Upgraded_Schemas’ inside dataset folder which has the upgraded schemas.Location of the schema folders in PCF file is automatically updated with this information as shown below.
Additional Changes Required:
For Managed Project
NOTE: This process only upgrades the schema files. Other changes in the workspace like isometric styles, PCF, Configuration files will have to be done manually like before.
Bentley's Product Advantage Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!