Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Copying Models and Elements

PhixFlow provides for copying models and model elements, both internally, in the current PhixFlow instance, and externally (via export), to another PhixFlow Instance.

Internal Copy

There are a number of ways of copying models and model elements within a single instance of PhixFlow.

  • In the Analysis Model Panel, right-click on the model to copy and select "Copy Model" from the menu.
  • Open any model and select the elements to copy. Right-click on the model view pane and select "Copy Selected Objects" from the menu (or "Copy Object" if you want to copy a single element).
  • Drag and drop the elements you want to copy to the Export Configuration Panel and click on the Image Removed button.

When you copy a subset of a Model (i.e. not the entire model), the following elements are created :

  • A copy of the elements with the suffix "_2" appended to the names (or "_3" if "_2" already exists).
  • Pipes connecting copied elements to elements that the originals were connected to. note : pipe names will be duplicates of the originals except for input pipes to non copied elements. Pipes connected to non copied elements are created as Not Enabled.
  • Pipes connecting copied elements to each other where the originals were linked.

External Copy (Export)

There are a number of ways of exporting models and model elements for import into another instance of PhixFlow.

  • In the Analysis Model Panel, right-click on the model to copy and select "Export Model" from the menu.
  • Open any model and select the elements to copy. Right-click on the model view pane and select "Export Selected Objects" from the menu.
  • Drag and drop the elements you want to copy to the Export Configuration Panel and click on the Image Removed button.

When you export elements of a Model (i.e. not the entire model), the export creates :

  • A copy of the elements you selected.
  • A copy of the pipes linking those elements.
  • A stub or empty element representing any (non-copied) model element that is linked by pipe to any of the copied elements.
  • Pipes connecting all copied elements to those stubs.

When you import a Model that you have previously exported (for example, if you have exported some elements, made some changes and now want to bring your changes back into your original) the import creates :

...

Insert excerpt
_Banners
_Banners
nameAppAdmin
nopaneltrue

Overview

PhixFlow provides the option for creating copies of objects or application in your current instance. These items can be moved to a separate instance of PhixFlow via the Export facility.

Copy Configuration

  1. Open
    Insert excerpt
    _administration
    _administration
    nopaneltrue
    Insert excerpt
    _copy
    _copy
    nopaneltrue
    .
  2. Drag the required objects from the repository onto the 
    Insert excerpt
    _copy
    _copy
    nopaneltrue
     window.
  3. Click Copy Configuration.


Note
  1. Copying an Analysis Model will only copy the model and not the modelling objects held within it. These must be copied separately.
  2. Copying a Screen will copy the screen and use the existing shared styles. Copying a Screen and its shared styles will create a new screen and new styles.

Moving Configuration Between Instances

You may have several instances of PhixFlow running, for example one for developing and one for production. To move objects between different instances, export them from one instance (the source instance) and import them to another (the target instance); see Export Configuration and Import Configuration.

Moving Configuration Behaviour

  • If the target instance has an object that matches one in the import, PhixFlow overwrites it with the imported object.
  • If an object has been explicitly deleted from the source instance, when the configuration is imported into the target instance, PhixFlow permanently deletes the object from the target instance also.
  • If an object has been added to the source instance it will be added to the target system.
    • For this reason when performing an export it is only necessary to take the items that have changed, 

Learn More