Creating and Backing Up a Diagram Configuration
Configuration of diagrams is not ensured by MEGA, unlike standard customizations (metamodel extensions, shape customizations). It is an advanced configuration that requires:
• validation of configurations by compiling the metamodel in HOPEX Administration
• configuration backup
• repeat of the previous steps after each HOPEX version update. Diagram configurations are reinitialized at environment updates
Given the complexity of the diagram configuration procedure, configurations should be carried out in an environment other than the production environment.
The simplest method of backing up a diagram configuration is to export it.
Example: if you have modified organizational chart configuration, you should export the "Organizational Chart" DiagramTypeParam.
To apply your configuration to a Diagram Type after updating the environment:
1. In HOPEX Administration, connect to the environment concerned with a user having rights to modify HOPEX data.
2. Import the exported file containing your customized configurations.
3. Connect the DiagramTypeParam to the corresponding DiagramType.
4. Compile the metamodel.
5. Copy the image files used by your configuration in the Mega_std folder of the HOPEX installation.
To view in your working sessionthe result of changes in configuration of diagrams and navigation trees:
1. In the HOPEX Start page, click MetaStudio Console.
2. In the dialog box that opens, click Refresh Context.
You can get the same result with the script editor: enter the CurrentEnvironment.refreshcontext command and click Execute.