Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Adobe CQ Package Manager (using "include" rule)

Avatar

Level 4

Hi Everyone,

I am trying creating a package out of my CRX. I have data node in below pattern. I need to create package out of only "Season_2013" node. Tried following filter but its not working:

---------------------------------------------------------------------

Root Path : /content/data/Athlete/

Rules : Include:.*/Season_2013/.*

---------------------------------------------------------------------

I was reading the documentation on package manager and saw that someone commented on it that this might be existing package manager issue

http://dev.day.com/docs/en/crx/current/how_to/package_manager.html

 

For your reference below is the structure of my nodes:

/content/data/Athlete/J/Jimmie Johnson/Stats/Series_1/Seasons/Season_2010

/content/data/Athlete/J/Jimmie Johnson/Stats/Series_1/Seasons/Season_2011

/content/data/Athlete/J/Jimmie Johnson/Stats/Series_1/Seasons/Season_2012

/content/data/Athlete/J/Jimmie Johnson/Stats/Series_1/Seasons/Season_2013

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi Rohit,

See below pattern for your requirement:

Root Path : /content/data/Athlete/
Include: /J/Jimmie Johnson/Stats/Series_1/Seasons/Season_2013(/.*)?
            OR
Root Path : /content/data/Athlete/J/Jimmie Johnson/Stats/Series_1/Seasons
Include: /Season_2013(/.*)?

Regards

Brijesh Yadav

View solution in original post

6 Replies

Avatar

Level 10

So you issue only comes up when you use the filter?

Avatar

Correct answer by
Community Advisor

Hi Rohit,

See below pattern for your requirement:

Root Path : /content/data/Athlete/
Include: /J/Jimmie Johnson/Stats/Series_1/Seasons/Season_2013(/.*)?
            OR
Root Path : /content/data/Athlete/J/Jimmie Johnson/Stats/Series_1/Seasons
Include: /Season_2013(/.*)?

Regards

Brijesh Yadav

Avatar

Level 4

Yes my issue comes when I use "include" rules. If I use "Root Path" I donot have any issue but I cannot achieve my objective.

Avatar

Former Community Member

Thanks Rohit! Life saver, the pattern formats are really obscure!