When importing code templates/libraries, either in the Edit Code Templates View or when importing a channel containing libraries, you are presented with a confirmation dialog.
All libraries and code templates contained in the import file/channel appear in the dialog. From here you can choose to import everything, or individually select specific entries to import. Once you have made your selections, select the Import button to actually perform the import operation.
- If a code template or library already exists in your Mirth® Connect server, the Overwrite column displays a checkbox. If checked, the entry will overwrite the current code template / library rather than creating a new one. If there are multiple entries with such conflicts, you can easily choose to overwrite all or none of them with the All / None links at the top-right of the dialog.
- If the library or code template has a name that conflicts with another entry in your current table, the Conflicts column displays a red error icon. In this case, you must choose to either overwrite the current entry, or update its name by double-clicking on the Name column.
- If a code template already exists in a different library than the one you are trying to import into, you will see a yellow warning icon. In this case, you can choose to overwrite the current template, ignore the warning and continue, or simply cancel the operation.
When importing only code templates by themselves, you must first select a library to import them into.