Packaging just 'assets' and below | Community
Skip to main content
Level 3
December 7, 2016
Solved

Packaging just 'assets' and below

  • December 7, 2016
  • 4 replies
  • 1916 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

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:

4 replies

smacdonald2008
smacdonald2008Accepted solution
Level 10
December 7, 2016

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:

Level 3
December 7, 2016

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.

Level 3
December 7, 2016

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

-Joel

Level 3
December 8, 2016

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