Overview & Best Practices

Config Port is a powerful tool for developing and transferring screens, email templates, and system settings between systems; however if used incorrectly problems may occur.

This topic contains an overview explaining the basic principles behind Config Port, as well as recommended best practices to avoid the common pitfalls. A detailed explanation of Config Port is available in the Configuration Portability topic.

Terms Used

  • The Production (PROD) system is the master target system - the final destination for all the changes being developed

  • The Development (DEV) system is the source system - where all the changes are developed

  • The Test system is the target system - where the import is tested priority to import into Production

How Config Port Works

Export

  • On the Config Port Source (DEV) environment the elements to export are selected

    • Config Port is run and the data exported to file

  • Where there is a null CONFIG_PORT_GUID the value is allocated

    • Static records are allocated static GUIDs during install and patch

    • User-created records are allocated GUIDs during export, the GUIDs are created by an algorithm

    • User-created records are allocated GUIDs a record at a time, and then all are exported to file

Import

  • On the Target system areas to import are selected from export file

    • Config Port is run and the data imported

  • GUIDs from the Config Port Source (DEV) are matched to GUIDs on the Target environment

    • If there is no match on GUID, various properties of the item are looked up, generally name and partition

    • When matching on properties, the Config Port excludes all items with a GUID

    • If a match on properties is identified:

      • the GUID is set so the items are always in sync in the future (between the Source and Target environments)

      • other properties are updated (i.e. status)

    • If there is no match on GUID and no match on defined properties, a new record is created on the Target environment with the GUID set from the Source environment (DEV)

Best Practice

Best Practice

Best Practice

Best Practice

Best Practice

Best Practice

Typical Mistakes

That can cause data corruption

  • Config Port Source (DEV) and other Targets are not synced with the Master Target (PROD) before development starts

  • Config file from Target (TEST) is imported into Master Target (PROD), instead of the Config file from Source (DEV)

  • Importing Config files from multiple environments into Master Target (PROD)

  • No Test environment

  • Exporting from an environment that has partitioning enabled, and importing into a system that does not (and vice versa) may result in errors in the export and/or import process. In addition, partition names must be unique across Source and Target(s) for the process to be successful

That confuse Administrators

  • Expectation that Workflow Templates are ported as part of Config Port

  • Not running Config Port and Workflow Port in the correct sequence, which is:

    • Config Port -> Workflow Port -> Config Port (if Workflow Port log has warnings)

  • Expectation that exporting a child item (e.g. email template) also exports the parent item (e.g. screen set)

Was this helpful?