KT.EXPORTSC


Syntax

KT.EXPORTSC integration_id{,integration_id} target.file.name {include_control}

Description

This program can be used to create a suitcase (i.e,. an archive) of all Kourier components in an account based upon one or more integration IDs. It will save all Kourier specifications from the following files:

 

note
WidgetNote

The suitcase can be restored into a new Kourier account by using the KT.IMPORTSC command. 

 

Options 

integration_id

Enter the integrations ID you would like to archive or an asterisk (*) to archive all integrations.  Multiple integrations may be specified by separating each integration ID by a comma.

target.file.name

Enter the name of the target suitcase file.  If the file does not exist, you will be asked if the file should be created.  Note:  By convention, a suitcase file name normally ends with the suffix _SC (i.e., KOURIER_COLLIVE_SC).

include_control

Enter a Y to include all control items from the KT_CONTROL file (i.e. EVENT-FILTER, SYSTEM-LITERALS, etc.)

Examples 

[{"id":"99e5097482ecae62759f3d751d055625","title":"Example 1"},{"id":"845cdc52b4dbf62ac5d0888f03680efd","title":"Example 2"}]
top

In this example, all components associated with the DEMO integration will be archived into a file named TEMP_SC.  The archive will include the control items from KT_CONTROL.  Note that no email templates were archived because they did not begin with the integration ID of DEMO.

>KT.EXPORTSC DEMO TEMP_SC Y

Collasping Kourier Specifications...

KT_CONTROL
   Items Read: 4 Items Written: 3
KT_EMAIL_TEMPLATES
   Items Read: 8 Items Written: 0
KT_EXPORTS
   Items Read: 15 Items Written: 15
KT_INTEGRATION
   Items Read: 9 Items Written: 9
KT_INTEGRATION_TYPE
   Items Read: 6 Items Written: 6
KT_INTEGRATION_XREF
   Items Read: 4 Items Written: 4
KT_QUEUES
   Items Read: 11 Items Written: 11
KT_SERVICES
   Items Read: 15 Items Written: 15

Process complete at 16:57:48 12 MAR 2007 

In this example, all components associated with the DEMO integration and the EVT integration will be archived into a file named TEMP_SC.  The archive will include the control items from KT_CONTROL.  Since the generic event email message templates begin with EVT those items will also be included in the archive.

>KT.EXPORTSC DEMO,EVT TEMP_SC Y

Collasping Kourier Specifications...

KT_CONTROL
   Items Read: 4 Items Written: 3
KT_EMAIL_TEMPLATES
   Items Read: 8 Items Written: 3
KT_EXPORTS
   Items Read: 15 Items Written: 15
KT_INTEGRATION
   Items Read: 9 Items Written: 9
KT_INTEGRATION_TYPE
   Items Read: 6 Items Written: 6
KT_INTEGRATION_XREF
   Items Read: 4 Items Written: 4
KT_QUEUES
   Items Read: 11 Items Written: 11
KT_SERVICES
   Items Read: 15 Items Written: 15

Process complete at 16:57:48 12 MAR 2007