Making a Template Available
Before being able to create forms that are specific to Adobe Campaign, you must make the different templates available in your AEM application.
To do this, see the Templates documentation.
First of all, check the connection between the author and publish instances and Adobe Campaign is working. See Integrating with Adobe Campaign Standard or Integrating with Adobe Campaign 6.1.
Creating a Form
-
Start in siteadmin.
-
Scroll through the tree structure to get to the place you would like to create the form in your chosen website.
-
Select New > New page….
-
Select either Adobe Campaign Profile (AC 6.1) or Adobe Campaign Profile (ACS) template and enter the page properties.
NOTE
If the template is not available, see the Making a template available section. -
Click Create to create the form.
You can then edit and configure your form’s content.
Editing Form Content
Forms dedicated to Adobe Campaign have specific components. These components have an option to let you link each field of the form to a field in the Adobe Campaign database.
This section only details specific links to Adobe Campaign. For more information on a more general overview of how to use forms in Adobe Experience Manager, see Editmode components.
-
Navigate to the form you want to edit.
-
In the toolbox, select Page > Page Properties… then go to the Cloud Services tab of the pop-up window.
-
Add the Adobe Campaign service by clicking Add service, and then selecting the configuration that corresponds to your Adobe Campaign instance in the service’s drop-down list. This configuration is carried out when setting up the connection between your instances. For more information, see Connecting AEM to Adobe Campaign.
NOTE
If necessary, unlock the configuration by clicking the padlock icon to be able to add the Adobe Campaign service. -
Access the form’s general parameters using the Edit button found at the start of the form. The Form tab lets you select a thank you page to which the user will be redirected after having validated the form.
The Advanced form lets you select the type of form. The Post Options field gives you the choice between three types of Adobe Campaign forms:
- Adobe Campaign: Save profile: lets you create or update a recipient in Adobe Campaign (default value).
- Adobe Campaign: Subscribe to Services: lets you manage the subscriptions of a recipient in Adobe Campaign.
- Adobe Campaign: Unsubscribe from Services: lets you cancel the subscriptions of a recipient in Adobe Campaign.
The Action Configuration field lets you specify whether or not you would like to create the recipient profile in the Adobe Campaign database if it does not yet exist. To do this, check the Create user if not existing option.
-
Add your selected components by dragging them from the toolbox and dropping them into the form. For more information on the available Adobe Campaign specific components, see Adobe Form Components.
-
Configure the added fields by double-clicking them. The Adobe Campaign tab lets you link the field to a field in the Adobe Campaign recipient table. You can also specify whether the field is part of the reconciliation key which allows recipients that are already present in the Adobe Campaign database to be recognized.
CAUTION
The Element Name must be different for each form field. Change it if necessary.Each form must contain an Encrypted Primary Key component to correctly manage recipients in the Adobe Campaign database. -
Activate the page by selecting Page > Activate Page in the toolbox. The page is activated on your site. You can view it by going to your AEM publication instance. The data in the Adobe Campaign database is updated once a form is validated.
Testing a Form
After you create a form and edit form content, you may want to manually test that the form is working as expected.
To do this, you need to manually get the EPK of an Adobe Campaign profile and then append it to the URL:
-
To get the encrypted primarly key (EPK) of an Adobe Campaign profile:
- In Adobe Campaign Standard - Navigate to Profiles and Audiences > Profiles, which lists the existing profiles. Make sure the table displays the Main Resource Identifier field in a column (This can be configured by clicking/tapping Configure list). Copy the main resource identifier of the desired profile.
- In Adobe Campaign 6.11, go to Profiles and Targets > Recipients, which lists the existing profiles. Make sure the table displays the Encrypted identifier field in a column (This can be configured by right-clicking on an entry and selecting Configure list…). Copy the encrypted identifier of the desired profile.
-
In AEM, open the form page on the publish instance and append the EPK from step 1 as a URL parameter: use the same name that you previously defined in the EPK component when authoring the form (for example:
?epk=...
) -
The form can now be used to modify the data and subscriptions associated to the linked Adobe Campaign profile. After you modify some fields and submit the form, you can verify inside Adobe Campaign that the appropriate data has been updated.
The data in the Adobe Campaign database is updated once a form is validated.
Experience Manager
Adobe Experience Manager Sites at Summit
Register for these user sessions:
- Adobe Experience Manager Sites: Top Innovations (attend online)
- Put the Customer at the Center and Build Relationships That Last a Lifetime (attend online)
- Elevate and Empower Teams with Agentic AI for Exceptional Experiences (attend online)
- Rapid Feature Releases with AEM Cloud: Telegraph Media Group’s RDE Strategy (attend online)
- B2B Reimagined: Transforming Go-to-Market Strategies for Profitable Growth (attend online)
Connect with Experience League at Summit!
Get front-row access to top sessions, hands-on activities, and networking—wherever you are!
Learn more