Expand my Community achievements bar.

Never miss an update of the Adobe Journey Optimizer Community Lens! Subscribe now to get the latest updates, insights, and highlights delivered straight to your inbox every time a new edition drops.
SOLVED

how to add multiple fragments in a Package

Avatar

Level 2

Hi Community,

 

I have to move almost 140 fragments from one env. to another. Is there any way I can select all of them instead of adding it one by one in the package?

 

Thanks,

Akram Husain

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@AkramH Unfortunately this option not available at this point. We can achieve this by API's which may ease you little bit.

 

First API to get list of Fragments with filtering: https://developer.adobe.com/journey-optimizer-apis/references/content/#operation/getFragments

Second API to create a package with API: https://experienceleague.adobe.com/en/docs/experience-platform/sandbox/sandbox-tooling-api/packages#...

   Artifacts Array sample for fragments:

 

 

"artifactsList": [
 {
           "id": "Fragment ID",
            "type": "AJO_FRAGMENT",
            "title": "Fragment Name"
        },
{
           "id": "Fragment ID 2",
            "type": "AJO_FRAGMENT",
            "title": "Fragment Name2"
        }
]

 

 

 Let me know if you need more help on this and also mark this thread accordingly.

 

~cheers,

NN.

 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

@AkramH Unfortunately this option not available at this point. We can achieve this by API's which may ease you little bit.

 

First API to get list of Fragments with filtering: https://developer.adobe.com/journey-optimizer-apis/references/content/#operation/getFragments

Second API to create a package with API: https://experienceleague.adobe.com/en/docs/experience-platform/sandbox/sandbox-tooling-api/packages#...

   Artifacts Array sample for fragments:

 

 

"artifactsList": [
 {
           "id": "Fragment ID",
            "type": "AJO_FRAGMENT",
            "title": "Fragment Name"
        },
{
           "id": "Fragment ID 2",
            "type": "AJO_FRAGMENT",
            "title": "Fragment Name2"
        }
]

 

 

 Let me know if you need more help on this and also mark this thread accordingly.

 

~cheers,

NN.