ATG Outreach includes a Preview feature that campaign creators can use before deploying a an e-mail campaign to see how the message body will be rendered for a sample user profile. Note that the ATG Outreach feature is thus significantly different from the preview function provided with ATG Content Administration, which allows you to see the effect on a Web page of changes to personalization and scenario assets (segments, targeters, slots, or scenarios) that you are editing in an active project. ATG Outreach can only be used to preview how a message is rendered.

The ATG Outreach preview feature is accessed through a Preview button at the bottom of the HTML e-mail editor, as shown below:

When the user clicks the Preview button, a dialog box appears that shows the profiles available for previewing.

The ATG Outreach preview feature uses an atg.epub.file.WebAppMirroringCheckinListener instance to mirror content from the e-mail VFS to a running Web application on the ATG Outreach server. By default, it uses the /atg/campaign/communication/OutreachWebAppMirror component, which points to the default OutreachWebAppFileSystem:

sourceVFS=/atg/epub/file/OutreachWebAppFileSystem

The /atg/campaign/communication/WebAppPreview component (an instance of atg.epub.file.WebAppPreviewServlet) includes OutreachWebAppMirror in its webAppMirrors list:

webAppMirrors+=OutreachWebAppMirror
Adding Preview Profiles

The source for the profiles used by the preview feature is the preview profile repository, which is an instance of a ProfileAdapterRepository on the asset management (ATG Outreach) server. You can add profiles to this repository through the Personalization > Preview Users option in the ATG Business Control Center or by copying them from the external user profile repository. The profiles then appear for selection when the campaign creator clicks the Preview button. For more information on configuring and populating the preview profile repository, refer to the ATG Business Control Center Administration and Development Guide.

Creating the Preview Pages for ATG Outreach

Create a Web application containing the pages you want to use in the preview. Include the application as a module when you assemble the EAR file, and run the EAR file on the asset management (ATG Outreach) server. For ATG Outreach, the Web application used for previewing must include the following tag libraries: campaignRuntimeTaglib1_0.jar, dspjspTaglib1_0.jar, jstl-1_0.jar, and jstl-standard-1_0.jar. For reference, see the <ATG9dir>\ACO9.3\ACO\communication\common\j2ee-apps\Outreach.ear\Outreach.war\WEB-INF\lib directory.

Starting the ATG Outreach Server with the Preview Config Layer

To enable preview, you must start the ATG Outreach server with the –layer Preview switch. (If you do not do so, the Preview button in the HTML editor is not enabled.) See Starting ATG Outreach on Your Application Server for more information.

 
loading table of contents...