This functionality requires the application of AEM 6.4 Service Pack 2 (18.104.22.168) or later.
You can export Experience Fragments, created in Adobe Experience Manager (AEM), to Adobe Target. They can then be used as offers in Target activities, to test and personalize experiences at scale. This lets you combine the ease-of-use and power of AEM, with the powerful Automated Intelligence (AI) and Machine Learning (ML) capabilities in Target.
Various actions are required:
Before exporting a fragment you need to add the Cloud Configuration for Adobe Target to the fragment, or folder:
Navigate to the Experience Fragments console.
Open Page Properties for the appropriate folder or fragment.
If you add the cloud configuration to the Experience Fragment parent folder, the configuration is inherited by all the children.
If you add the cloud configuration to the Experience Fragment itself, the configuration is inherited by all varations.
Select the Cloud Services tab.
Under Cloud Service Configuration, select Adobe Target from the drop down list.
Under Adobe Target, select the appropriate configuration.
Save & Close.
For media assets, such as images, only a reference is exported to Target. The asset itself remains stored in AEM Assets and is delivered from the AEM publish instance.
Due to this the Experience Fragment, with all related assets, needs to be published before exporting to Target.
To export an experience fragment from AEM to Target (after specifying the Cloud Configuration):
Navigate to the Experience Fragment console.
Select the Experience Fragment you would like to export to target.
It has to be an Experience Fragment Web variation.
Tap/click Export to Adobe Target.
If the Experience Fragment has already been exported, select Update in Adobe Target.
Tap/click Export without publishing or Publish as required.
Selecting** Publish** will publish the experience fragment right away and send it to Target.
Tap/click OK in the confirmation dialog.
Your experience fragment should now be in Target.
Alternatively, you can perform the export from the page editor, using comparable commands in the Page Information menu.
After performing the preceding tasks, the experience fragment displays on the Offers page in Target. Please have a look at the specific Target documentation to learn about what you can achieve there.
Deleting an Experience Fragment that has already been exported to Target may cause problems if the fragment is already being used in an offer in Target. Deleting the fragment would render the offer unusable as the fragment content is being delivered by AEM.
To avoid such situations:
If the Experience Fragment is not being currently used in an activity, AEM allows the user to delete the fragment without a warning message.
If the Experience Fragment is currently in use by an activity in Target, an error message warns the AEM user about possible consequences that deleting the fragment will have on the activity.
The error message in AEM does not prohibit the user from (force-)deleting the Experience Fragment. If the Experience Fragment is deleted:
The Target offer with AEM Experience Fragment may show undesired behavior
Of course, any further modifications to the Experience Fragment are impossible as the Experience Fragment does not exist anymore in AEM.