This chapter describes how to use the Online Marketing Dialog Mover, and includes the following sections:
Understanding Dialog Mover.
Exporting Dialogs.
Importing Dialogs.
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:
Dialog Export, which copies the dialog and saves it to a file that can be transferred between the two systems.
Dialog Import, which reads the file and translates it back into the form of an Online Marketing dialog.
Dialog Mover moves the following dialog components:
Web documents.
Email documents.
Dialog flow.
Dialog Mover does not move shared objects, such as:
Business units.
SetIDs.
Profiles.
Audiences.
Templates.
Mailboxes.
Custom extensions.
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.
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.
Dialog export consists of five steps, some of which are optional:
Select a dialog to export.
Run Dialog Check (optional).
Run the Dialog Dependency Report (optional).
Export the select Dialog and Save the export file.
View any messages about the export.
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. |
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. |
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.
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.
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).
You can view the status of the dialog export using the Control Center's Dialog Mover Status Report page.
See Viewing Dialog Mover Status.
The dialog import process includes five steps:
Select the XML file to import.
Check for version and name conflicts.
Check dialog dependencies.
View the dialog post import checklist.
Confirm the import and view status.
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.
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. |
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.
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:
CRM release version.
Database type.
Database version.
PeopleTools version.
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:
Dialog
Document
VCObject
Merge Content – Document Field
Merge Content – WebLink
Merge Content – Dynamic Content
Dynamic Content sections
Custom Extension
Temporary Link
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.
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:
Cross-dialog links: If the dialog contains a link to another dialog, then the cross-dialog link will search (via Dialog Name and Action Name) for the other dialog to link to. If the other dialog action exists, then the link will point to it. If the target action does not exist, the link will point to nothing, and this will be noted on the Dialog Checklist.
External links in variable content: If the dialog contains any external links, they will be listed in the Dialog Checklist so you can check the URLs and verify that they are still valid.
Audiences: A list of all the audiences used in the dialog will appear along with a note reminding you to check them and verify whether they need to be regenerated or whether their queries must be changed.
Templates: You might need to modify the URLs of any web templates used in the dialog.
Mailboxes: You might need to modify the values of the mailboxes used with the dialog.
Submit button: If the Submit button is pointing to an image, you might need to verify that the image URL is still correct.
You can save the Dialog Checklist to a file for reference by clicking the Download icon.
Verify the selected Dialog and click Import button to start import the Dialog.
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.