Expand my Community achievements bar.

Fragment ID

Avatar

Level 3

How can I locate the Fragment ID And Content Template ID for a visual fragment / Content template in Adobe Journey Optimizer?

 

5 Replies

Avatar

Level 5

To locate the Fragment ID and Content Template ID for a visual fragment or content template in Adobe Journey Optimizer, follow these steps:

For Content Templates

  1. Access Adobe Journey Optimizer: Log in to Adobe Journey Optimizer.

  2. Navigate to Content: Go to the "Content" section from the main navigation menu. This is where you'll find content templates.

  3. Find the Template: Look through the list of content templates or use the search functionality to find the one you're interested in.

  4. Open the Template: Click on the content template to open it.

  5. Locate the Template ID:

    • In the URL of your browser, you might find a URL pattern that includes the Content Template ID. For example, the URL might look something like https://<your-instance>.adobe.com/content-template/<TemplateID>.
    • The Template ID is typically included in the URL string.
  6. Check Template Details: Sometimes, the ID might also be found in the template's properties or settings.

For Visual Fragments

  1. Access Adobe Journey Optimizer: Log in to Adobe Journey Optimizer.

  2. Navigate to Visual Fragments: Go to the "Visual Fragments" section.

  3. Find the Fragment: Browse through the list of visual fragments or use the search functionality to locate the specific visual fragment.

  4. Open the Fragment: Click on the visual fragment to view its details.

  5. Locate the Fragment ID:

    • Similar to content templates, the Fragment ID might be visible in the URL of your browser. For example, the URL might look something like https://<your-instance>.adobe.com/visual-fragment/<FragmentID>.
    • The Fragment ID can be found in this URL string.
  6. Check Fragment Details: Sometimes, the ID might also be available in the fragment's properties or metadata.

Alternative Method Using APIs

If you have access to Adobe's APIs, you can also use them to retrieve IDs:

  1. API Documentation: Check Adobe’s API documentation for the endpoints related to content templates and visual fragments.

  2. Make API Calls: Use the relevant API endpoints to fetch details about content templates and visual fragments. The response usually includes the IDs you're looking for.

By following these steps, you should be able to locate the Fragment ID and Content Template ID you need in Adobe Journey Optimizer.

 

 

Best regards,

MEIT MEDIA (https://www.meitmedia.com)

Find us on LinkedIn

Contact Us: infomeitmedia@gmail.com

 

Avatar

Employee

You will find it in the browser URL when you open the respective fragment or content template.

 

Fragment

Example - https://experience.adobe.com/#/@<tenant>/sname:dev/journey-optimizer/fragments/<fragmentId>/publications/99489f31-20ee-4bee-b4a5-969f20955d4b

 

Content Template

Example - https://experience.adobe.com/#/@<tenant>/sname:dev/journey-optimizer/content-templates/details/<templateId>/email

Avatar

Level 3

Thanks @MeitMedia @dugganab 

 

 

@dugganab @MeitMedia I want to include an this  ID in my email template using personalization. How can I do that?

Avatar

Employee

You can include it from the WSYWIG editor or use it on the following lines for Fragments

{{!-- [acr-start-fragment] --}}{{ fragment id="ajo:99a6c063-511c-4871-87a8-00516a3a40b5" name="Luma Newsletter" mode="inline" }}{{!-- [acr-end-fragment] --}}

Reference - https://experienceleague.adobe.com/en/docs/journey-optimizer/using/email/design-email/add-content/us...

 

dugganab_0-1725284892003.png

 

In case of content templates, you can refer to the WSYWIG way of doing it.

Reference 

https://experienceleague.adobe.com/en/docs/journey-optimizer/using/content-management/content-templa...