Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Packaging just 'assets' and below

Avatar

Level 3

Hi all,

Using AEM 6.2. Adaptive forms....but this is more of  a package manager question.

Trying to put together a solution to deploy the french assets after translation. Given: 

/content/forms/af/jt3/_jcr_content/guideContainer
/content/forms/af/jt3/_jcr_content/guideContainer/assets
/content/forms/af/jt3/_jcr_content/guideContainer/assets/dictionary
/content/forms/af/jt3/_jcr_content/guideContainer/assets/dictionary/fr.xml

I want everything below /content/forms/af, AND including assets and below. The localized content is below assets.

I don't want any sibling of assets or sibling of guideContainer.

Suggestions?

I tried //assets, but it didn't work. Also tried /af//assets. No go. 

Wondering if this is related to _jcr_content

Thanks

Joel

1 Accepted Solution

Avatar

Correct answer by
Level 10

Are you trying to dynamically build the package using Package Manager API as opposed to manually building the package and selecting the assets. When manually building the package - you can select the nodes that you want. For example:

View solution in original post

4 Replies

Avatar

Correct answer by
Level 10

Are you trying to dynamically build the package using Package Manager API as opposed to manually building the package and selecting the assets. When manually building the package - you can select the nodes that you want. For example:

Avatar

Level 3

To be honest I didn't consider using API. That could be an option if there's more available there.

I was just trying to do it manually and trying to figure our regex (etc) that the Package Manager UI would accept.

Avatar

Level 3

Actually let me confirm that we need this level of granularity. Maybe we can just ship everything below /content/forms/af.

-Joel

Avatar

Level 3

Hi Scott.

We are fairly sure that we won't need just assets. They will be needed for patches, but not in the general case. I'll ask another question if that changes.

Please mark this as answered.

-Joel