Manage fragments manage-fragments
Access fragments access-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:
- Add it to a package for export. Learn more
- If a live fragment is being edited, open the draft version of this fragment. Learn more
- Duplicate the fragment.
- Use the Explore references option to see the journeys, campaigns or templates where it is used. Learn more
- Archive the fragment. Learn more
- Edit the fragment’s tags. Learn how to work with Unified tags
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
Edit a fragment edit-fragments
To edit a fragment, follow the steps below.
-
Click the desired fragment from the Fragments list. The fragment properties screen opens with a preview of its content.
-
You can check the list of journeys, campaigns and content templates where the fragment is currently being used. To do so, select the Explore references option from the More action button. Learn more
-
If the fragment being edited has the Live status, click the Modify button to create a draft version of the fragment. Click Confirm.
note note NOTE The current version of the fragment will continue to be live, until you publish the new updated version. -
Make the desired changes to the fragment details if needed.
-
To modify the fragment’s content, click the Edit button and update your content as you would do when creating a fragment from scratch. Learn how to create a fragment
note note NOTE When editing a published fragment, you can remove any personalization field, but you cannot add new ones to the fragment content. If you want to add personalized attributes, you must duplicate the fragment. Learn more -
Once your changes are ready, save them and click the Publish button to make your modifications live. Learn more
When you edit a fragment, the changes are automatically propagated to all contents using that fragment, including live journeys and campaigns - except for contents where you have broken inheritance from the original fragment.
Add new attributes to a live fragment adding-new-attributes
Once a fragment is published, the set of personalized or contextual attributes is locked for all campaigns and journeys that reference it.
To incorporate additional attributes to a live fragment, follow the steps below.
-
Duplicate the existing fragment using the More actions button.
-
Select the duplicated fragment to open it and click the Edit button.
-
Add the new desired attributes to the duplicated fragment, such as personalization fields.
-
Save your changes and publish the new fragment. Learn how
-
Update any campaigns or journeys to reference the updated fragment where the new attributes were added.
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 from the More actions menu either in the fragment list or in 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.
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.
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.
Export fragments to another sandbox export
Journey Optimizer allows you to copy a fragment from one sandbox to another. For example, you can copy a fragment from your Stage sandbox environment to your Production sandbox.
The copy process is carried via a package export and import between the source and target sandboxes. Detailed information on how to export objects and import them into a target sandbox are available in this section: Copy objects to another sandbox.