Create a fragment create-fragments

Fragments can be created from scratch from the Fragments left menu. In addition, you can also save a portion of existing content as fragment when designing content. Learn how

Once saved, your fragment is available for use in a journey, a campaign or a template. You can use this fragment when building any content within journeys and campaigns. See Add visual fragments and Leverage expression fragments

To create a fragment, follow the steps below.

Define the fragment’s properties properties

  1. Access the fragment list through the Content Management > Fragments left menu.

  2. Select Create fragment and fill in the fragment name and description (if needed).

  3. Select or create Adobe Experience Platform tags from the Tags field to categorize your fragment for improved search. Learn how to work with Unified Tags

  4. Select the fragment type: Visual fragment or Expression fragment. Learn more on visual and expression fragments

    note note
    NOTE
    For now, visual fragments are available for the Email channel only.
  5. If you are creating an expression fragment, select the type of code you want to use: HTML, JSON or Text.

  6. To assign custom or core data usage labels to the fragment, click the Manage access button in the upper section of the screen. Learn more on Object Level Access Control (OLAC).

  7. Click Create to design the content of your fragment.

Design the fragment content content

After you have configured the fragment’s properties, the Email Designer or the personalization editor opens, depending on the type of fragment you are creating.

  • For visual fragments, edit your content as needed, the same way you would do for any email inside a journey or a campaign. Learn more

  • For expression fragments, leverage the Journey Optimizer personalization editor with all its personalization and authoring capabilities to build your fragment content. Learn more

When your content is ready, click the Save button. The fragment is created and added to the fragment list with the Draft status. You can preview it and publish it to make it available in journeys and campaigns.

Preview and publish the fragment publish

NOTE
To publish a fragment, you must have the Publish Fragment user permission.

If your fragment is ready to go live, You can preview and publish it to make it available in your journeys and campaigns. To do so, follow these steps:

  1. Go back to the fragment creation screen after designing its content, or open it from the list of fragments.

  2. A preview of the fragment is available under the Tags field, allowing to check its rendering. If you need to make any change, click the Edit button in the upper section of the screen to open the Email Designer or the personalization editor depending on the fragment type.

  3. Click the Publish button in the upper-right corner to publish the fragment.

    If the fragment is being used in a live journey or campaign, a messages opens to inform you. Click the See more link to access the list of journeys and/or campaigns where it is referenced. Learn how to explore references of a fragment

    Click Confirm to publish the fragment and update it in the live journeys/campaigns that are using it.

    {align="center" width="70%"}

The fragment is now Live, and becomes available when building any content within the Journey Optimizer Email Designer or personalization editor:

recommendation-more-help
b22c9c5d-9208-48f4-b874-1cefb8df4d76