Tutorial: Create your first Interactive Communication
Learn to create your first Interactive Communication.
Interactive Communications centralizes and manages the creation, assembly, and delivery of secure, personalized, and interactive correspondences such as business correspondence, documents, statements, marketing mails, bills, and welcome kits. Interactive Communications can be delivered using two channels: Print and Web. The Print channel is used to create PDFs and paper communications, while the Web channel is used to deliver online experiences.
This tutorial provides an end-to-end framework to create an Interactive Communication. The tutorial is organized into a use case and multiple guides. Each guide helps you to create features that are used as building blocks to create an Interactive Communication.
The following image illustrates the building blocks that are required to create an Interactive Communication.
At the end of this tutorial, you will be able to:
- Create building blocks (form data model, document fragments, and templates)
- Create an Interactive Communication
- Test and publish an Interactive Communication
The journey starts with learning the use case:
A telecom operator sends monthly bills to the customers over the email. The bill is an Interactive Communication. The email includes:
- A password-protected PDF, referred to as Print channel in this tutorial. It includes customer details, bill details, summary of charges, convenient modes of paying the bill, and usage details.
- A link to the web version of bill, referred to as Web channel in this tutorial. The web version of the bill, in addition to the details covered in the PDF version, provides a graphical representation of the usage details and personalized offers based on Adobe Target. The web version also contains an online payment form. It helps to make online payments without leaving the IC.
- A link to value-added services, such as online storage, music subscriptions, and on-demand video subscriptions.
Step 1: Plan the Interactive Communication
The first step in planning an Interactive Communication is to finalize the content of the Interactive Communication. After the content is finalized, you must analyze it to identify the various asset types that are required to create the Interactive Communication.
To create an anatomy for the Interactive Communication with the following modes of data input:
- Static text
- Form data model
- Agent UI
- Conditional data
Step 2: Create form data model
A form data model allows you to connect an Interactive Communication to disparate data sources. For example, AEM user profile, RESTful web services, SOAP-based web services, OData services, and relational databases. A form data model is a unified data representation schema of business entities and services available in connected data sources. You can use the form data model with an Interactive Communication to retrieve data from connected data sources. For more information about form data model, see AEM Forms Data Integration .
- Configure database instance (MySQL database) as a data source
- Create the form data model using MySQL database as a data source
- Add data model objects to form data model
- Configure read and write services for the form data model
- Create associations between the data model objects
- View auto-generated sample data
- Edit sample data
- Test form data model and configured services with test data
Step 4: Create templates
To create an Interactive Communication, you must have templates available on the AEM server for Print and Web Channels.
The templates for the Print channel are created in Adobe Forms Designer and uploaded to the AEM server. These templates are then available for use while creating an Interactive Communication.
The templates for the Web channel are created in AEM. Template authors and administrators can create, edit, and enable web templates. Once created and enabled, these templates are available for use while creating an Interactive Communication.
- Create XDP templates for Print channel using Adobe Forms Designer
- Upload the XDP templates to the AEM Forms Server
- Create and enable templates for the Web channel
Step 5: Create an Interactive Communication
Once you create all the building blocks such as form data model, document fragments, and templates for the web version, you can start creating an Interactive Communication.
Interactive Communications can be delivered through two channels: Print and Web. You can also create an Interactive Communication with Print channel as the master. Print as master option for Web channel ensures the content, inheritance, and data binding of the web channel is derived from the Print channel.
- Create Interactive Communication for the Print channel
- Create Interactive Communication for the Web channel
- Create Print and Web Interactive Communications with Print as Master
- Create a dynamic table in Web version of Interactive Communication
- Create a chart in Web version of Interactive Communication
- Create hyperlinks in Web version of Interactive Communication
Step 6: Test your Interactive Communication
Once you have created an Interactive Communication, it is important that you test every change that you make in them. Testing every field of an Interactive Communication is tedious. AEM Forms provide an SDK (Calvin SDK) to automate testing of Interactive Communications in web browser.
- Create test suite
- Create test cases
- Run the test cases
Step 7: Publish your Interactive Communication
Once you create and test Interactive Communications using Print and Web channels, you can publish these assets. The use case described in this tutorial focuses on integrating these assets with an email client. The email client serves as a bridge to send the Interactive Communications to multiple email addresses.
- Integrate Interactive Communications with an email client to be able to send a communication to the customers
- Include a PDF document as an attachment (Interactive Communication created in Print channel)
- Include a link to the Web version of the Interactive Communication