Manage fragments manage-fragments

To manage your fragments, access the fragment list from the Content Management > Fragments left menu.

All the fragments that were created on the current sandbox - either from the Fragments menu, either using the Save as fragment option - are displayed.

You can filter fragments on their:

  • Status (Draft or Live)
  • Type (visual or expression)
  • Creation or modification date
  • State (archived or not)
  • Tags

You can also choose to show all fragments, or only the items that the current user created or modified.

From the More actions button next to each fragment, you can:

Fragments’ statuses

Fragments can have multiple statuses:

  • Draft: The fragment is being edited and has not been approved.

  • Live: The fragment has been approved and is live. Learn how to publish a fragment

    When a live fragment is being edited, a specific icon next to its status displays. Click this icon to open the draft version of the fragment.

  • Publishing: The fragment has been approved and is being published.

  • Archived: The fragment has been archived. Learn how to archive fragments

CAUTION
Since Draft and Live statuses have been introduced with Journey Optimizer June release, all fragments created before this release have the “Draft” status, even if they are used in a journey or campaign. If you make any change to these fragments, you need to publish them to make them “Live” and propagate the changes to the associated campaigns and journeys. You also need to create a new journey/campaign version and publish it. Publishing requires the Publish Fragment user permission.

Edit fragments edit-fragments

To edit a fragment, follow the steps below.

  1. Click the desired fragment from the Fragments list.

  2. The fragment properties opens with a preview of its content.

  3. If the fragment being edited has the Live status, click the Modify button to create a draft version of the fragment. The current version of the fragment will continue to be live, until you publish the draft version.

  4. Make the desired changes to the fragment. To edit its content, click the Edit button then edit your content as you would do when creating a fragment from scratch. Learn how to create a fragment

    note note
    NOTE
    When editing an expression fragment, you can remove any personalization field but cannot add new ones to the fragment content. If you want to add personalization fields, duplicate the fragment in order to create a new one.

    You can also check the list of the journeys, campaigns and content templates where the fragment is currently being used by selecting the Explorer references option. Learn more

  5. Once your changes are ready, click the Publish button to make your modifications live.

When you edit a fragment, the changes are automatically propagated to all contents using that fragment, including live journeys and campaigns, excepted for contents where you have broken inheritance from the original fragment. Learn how to break inheritance in the Add visual fragments to your emails and Leverage expression fragments sections.

Explore references explore-references

You can display the list of the journeys, campaigns and content templates that are currently using a fragment. To do so, select Explore references either from the More actions menu in the fragment list or from the fragment properties screen.

Select a tab to toggle between journeys, campaigns, templates and fragments. You can see their status and click a name to be redirected to the corresponding item where the fragment is referenced.

NOTE
If the fragment is used in a journey, campaign or template that has a label preventing you from accessing it, you will see an alert message on top of the selected tab. Learn more on Object Level Access Control (OLAC)

Archive fragments archive-fragments

You can clean the fragment list from the items that are no longer relevant to your brand.

To do so, click the More actions button next to the desired fragment and select Archive. It will disappear from the fragment list, which prevents users from using it in future emails or templates.

NOTE
If you archive a fragment that is used in a content, that content will not be affected.

To unarchive a fragment, filter on the Archived items and select Unarchive from the More actions menu. It is now again accessible from the fragment list, and can be used in any email or template.

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