Importing and Exporting Dialogs

This chapter describes how to use the Online Marketing Dialog Mover, and includes the following sections:

 

Click to jump to parent topicUnderstanding Dialog Mover

When running Online Marketing as a standalone application, developing and deploying an Online Marketing dialog in a single location is a viable option, but customers running integrated applications that need to access other CRM data need to be able to develop the dialog in one location and then move it to their production environment once it has been completed and tested.

The Dialog Mover allows you to develop a dialog and then export it to an XML file, which you can then import to another location. It consists of two utilities:

Click to jump to top of pageClick to jump to parent topicWhat Dialog Mover Moves

Dialog Mover moves the following dialog components:

Click to jump to top of pageClick to jump to parent topicWhat Dialog Move Does Not Move

Dialog Mover does not move shared objects, such as:

These items will need to be moved manually from the original system to the target before the dialog is exported. If these items are not in place prior to the export, Dialog Mover displays an error message and the dialog will not be moved.

Furthermore, Dialog Mover does not update dialogs in any way.

Click to jump to top of pageClick to jump to parent topicHow Dialog Mover Works

Because the source and target databases in some cases are not accessible at the same time due to firewalls, security issues, or other reasons, Dialog Mover is split into two steps for moving dialogs and other related objects. The first step, Dialog Export, translates the dialog's components into an XML document that is portable from one machine to another. The second step, Dialog Import, translates the XML document back to a dialog format (provided that its attendant shared components have already been manually moved to the new machine first).

Dialog Mover does not require that dialog components (such as web and email documents) retain the same ID numbers across systems. Since there is no way to know whether the IDs are in use by other objects on the target system, Dialog Mover ensures that the links are synced up correctly across each system by matching on object name rather than ID number. Shared objects are referenced primarily by name, but can also be referenced by other properties such as type or status.

Imported dialogs are created in the new system in an In Design state. They must be activated before they can be ready for production. Users can use an In Test state to verify the imported dialog before moving it to a Live state.

Only users with Dialog Administrator permission can use the Dialog Mover to import and export documents. Only one dialog can be exported at a time.

Note. Dialog Mover will only support moving dialogs between databases that have the same A. You cannot use Dialog Mover to move a dialog from a source database with one base language to a target database with a different base language.

Dialog Mover Memory Allocation

When moving large dialogs, Dialog Mover can experience errors if sufficient memory is not allocated to it in both the host and the target systems. It is recommended that the maximum heap size be set to at least 500 megabytes if you will be moving large dialogs.

Click to jump to parent topicExporting Dialogs

Dialog export consists of five steps, some of which are optional:

  1. Select a dialog to export.

  2. Run Dialog Check (optional).

  3. Run the Dialog Dependency Report (optional).

  4. Export the select Dialog and Save the export file.

  5. View any messages about the export.

Click to jump to top of pageClick to jump to parent topicPages Used to Export Dialogs

Page Name

Object Name

Navigation

Usage

Dialog Export Page

RY_EX_DIALOG

Marketing, Dialog Mover, Dialog Export

Select a dialog to export

Dialog Check

RY_DM_DIALOG_CHECK

Click the Check Dialog button on the Dialog Export page.

Check the dialog for errors and warnings before exporting it. This step is optional.

Dialog Dependency Report

RY_EX_DEPENDENCY

Click the Dialog Dependency Report button on the Dialog Export page.

View the profile fields, audiences, mailboxes, custom extensions, templates, and so forth used within the documents.

Click to jump to top of pageClick to jump to parent topicSelecting a Dialog to Export

Access the Dialog Export page.

Only the current In Design version can be accessed; if the dialog has both a Live and In Design version, you may want to select Revert to Live in the In Design version so that the In Design and Live versions are the same.

Business Unit

You must include a business unit for the dialog to be exported.

Status

The Status list displays all dialogs that are not in Archived or Completed state. It is not necessary for the dialog to be in a state that can pass Dialog Check in order to export it—you can export incomplete dialogs that aren't Live or that do not even have the ability to become Live in their current states.

Check Dialog

Click this button to run Dialog Check on the selected dialog. This step is optional.

Dialog Dependency Report

Click this button to run the Dialog Dependency Report on the selected dialog. This step is optional.

Export to File

Click this button to export the dialog to a XML file that can be imported to another system.

Click to jump to top of pageClick to jump to parent topicRunning Dialog Check

Access the Dialog Check page.

This step is optional; it is not necessary to run Dialog Check before exporting a dialog. The Dialog Check page is described in the documentation on creating a dialog.

Click the Return link to return to the Dialog Export page.

See Designing Online Dialogs.

Click to jump to top of pageClick to jump to parent topicRunning the Dialog Dependency Report

Access the Dialog Dependency Report.

The Dialog Dependency Report lists all the profile fields, audiences, mailboxes, custom extensions, templates, and so forth used within the documents. You must make sure that all of these items exist on the target database before you can import this dialog (after the export file is generated), or the import operation will fail.

You can save the Dialog Dependency Report to a file by clicking the Download icon.

Click to jump to top of pageClick to jump to parent topicSaving the Export File

After you have verified that all necessary shared objects exist on the target system, click the Export to File button on the Dialog Export page. If you haven't selected a dialog, an error message will appear asking you to select one before exporting.

Note. You should disable any pop-up blockers prior to clicking the Export to File button, or the file download window might not appear.

Dialog Mover prompts you to open the file or to choose a location in which to save it. Click Save and save the file to your local machine. The default name for the file is dialog_<original dialog id>.xml (for example, a dialog with the Dialog ID of 20001in the source system will be saved as dialog_20001.xml), but you can change this name. The default save location is the browser's default.

Note. The Dialog ID will likely be different in the target system (following the dialog's import).

Warning! If you do not click Save, then the file is not saved to your machine, but Dialog Export will still treat the export as having completed successfully (assuming that it could be generated).

Click to jump to top of pageClick to jump to parent topicViewing Dialog Export Status

You can view the status of the dialog export using the Control Center's Dialog Mover Status Report page.

See Viewing Dialog Mover Status.

Click to jump to parent topicImporting Dialogs

The dialog import process includes five steps:

  1. Select the XML file to import.

  2. Check for version and name conflicts.

  3. Check dialog dependencies.

  4. View the dialog post import checklist.

  5. Confirm the import and view status.

Click to jump to top of pageClick to jump to parent topicUnderstanding Dialog Import

Dialog import creates a new dialog on the target system, using the data from a source XML file generated during the dialog export process. The new dialog is always saved in the In Design state, and it is not necessary that the dialog be in a state that will pass Dialog Check in order to allow the import.

After the dialog has been successfully exported, you must physically transfer the XML file to the target system (or a location that it can access) and then run the import process. Only Dialog Administrators have permission to run the import—users who do not have this permission will not see the Dialog Mover and Dialog Import links.

Warning! Modifying the XML file between the time it is exported and the time it is transferred to the target system is not supported and can cause errors in the import process and unexpected or unwanted behavior by the imported dialog. Further, you should not use Dialog Mover for upgrade purposes.

Click to jump to top of pageClick to jump to parent topicPages Used to Import Dialogs

Page Name

Object Name

Navigation

Usage

Dialog Import Wizard Step 1: Select Import File

RY_IM_STEP_1

Marketing, Dialog Mover, Dialog Import

Select an exported dialog XML file to import.

Dialog Import Wizard Step 2: Version and Name Check

RY_IM_STEP_2

Click the Next Step button on the Dialog Import Wizard Step 1: Select Import File page.

Determine whether there are any version or name conflicts between the source and target systems.

Dialog Import Wizard Step 3: Dialog Dependency Report

RY_IM_STEP_3

Click the Next Step button on the Dialog Import Wizard Step 2: Version and Name Check page.

Determine whether appropriate dependencies are in place before importing a dialog.

Dialog Import Wizard Step 4: Dialog Checklist

RY_IM_STEP_4

Click the Next Step button on the Dialog Import Wizard Step 3: Dialog Dependency Report page.

View a list of manual checks you must perform before continuing with the dialog import process.

Dialog Import Wizard Step 5: Confirmation

RY_IM_STEP_5

Click the Next Step button on the Dialog Import Wizard Step 4: Dialog Checklist page.

Verify your selection and confirm the import.

Dialog Import Wizard: Dialog Import Status

RY_IM_FINAL

Click the Import button on the Dialog Import Wizard Step 5: Confirmation page.

View final import status, including objects renamed due to conflicts.

Click to jump to top of pageClick to jump to parent topicSelecting an XML File to Import

Access the Select Import File page.

Select File

Click to display a File Upload page where you can select an XML file to import.

Process Overview

Click to display a page showing an overview of all the steps in the dialog import process.

After you have selected an XML file and click Next Step, Dialog Mover validates the file. If the file is corrupt or otherwise invalid, the process stops and an error message is displayed, otherwise continue to next step.

Click to jump to top of pageClick to jump to parent topicChecking for Version and Name Conflicts

Access the Version and Name Check page.

This page displays the environment version and duplicate names. If the source and target environments are different in the following respects, the differences are displayed:

Note. Importing dialogs when source and target versions are inconsistent is not supported, and can cause Dialog Import to behave unexpectedly. However, you can still continue the process if you wish.

If a dialog or document with the same name exists in the target database, or if the dialog or document had been imported before, the currently-imported dialog and documents are given new names and created as an entirely new dialog for the conflicts. The renaming convention is the same as that for clone dialogs: a space and a numeric suffix are appended to the name. If the name already ends in a space and a number, then the number is incremented. For example:

Old Name

New Name

My Dialog

My Dialog 1

My Dialog1

My Dialog1 1

My Document 99

My Document 100

Only the old names of conflicting dialogs and documents are shown on the Name and Version Check page; the new names will be shown at the end of the dialog import process.

The following names might be changed during the import process:

Click to jump to top of pageClick to jump to parent topicChecking Dialog Dependencies

Access the Dialog Import Wizard Step 3: Dialog Dependency Report page.

The following table shows the dependencies that all must be in place before the import can proceed.

Note. All name checks are case-sensitive.

Object Type

“Missing” Error

“Mismatched” Error

Dialog business unit

ID

n/a

Document SetID

ID

n/a

Dialog marketing role

Name

Individual and organization types

Referenced profile fields

Profile group (individual or organization)

Profile name

Profile field name

Status of field is not Activated

Field type (Choose One, Text, etc.)

Referenced audiences

Name

Status is not Approved or Committed

Source (Internal/External)

Referenced mailboxes

Name

Type (Bounce/Normal)

Referenced templates

Name

n/a

Referenced custom extensions

Name

n/a

Referenced custom variable content types

Name

n/a

Referenced cross dialog link

Name

n/a

If any of the dependencies are missing or mismatched, Dialog Import will display an error message and will not continue. Only if all the required dependencies are in the target system will the import process continue. In addition, a Relink warning message will be displayed for missing dialogs referenced by cross-dialog links—in this case, the cross-dialog link will still appear but it will not point to a dialog.

Regardless of whether the dependencies are missing, the Dependency Report will appear showing the overall status and a list of missing and/or matched dependencies. By default, the list is sorted by status. You can save this page to a file for reference by clicking the Download icon in the grid. Note that the Next Step button will not be accessible if there are any missing or mismatched dependencies.

Click to jump to top of pageClick to jump to parent topicChecking the Dialog

Access the Dialog Import Wizard Step 4: Dialog Checklist page.

The Dialog Checklist displays information about the steps that you might need to perform following the import. For example, some items you might have to do include:

You can save the Dialog Checklist to a file for reference by clicking the Download icon.

Click to jump to top of pageClick to jump to parent topicConfirming and Import Dialog

Verify the selected Dialog and click Import button to start import the Dialog.

Click to jump to top of pageClick to jump to parent topicViewing Status

When the import process finishes, Dialog Mover displays the Dialog Import Wizard: Dialog Import Status page.

If any objects (dialogs or documents) were renamed during the import process, the old and new names are displayed on this page. You can save the page for reference by clicking the Download icon.

Click the Dialog Mover Status Report link to display the Dialog Mover Status page in the Control Center. On this page, you can view the import's status as it runs.