Adobe CQ Package Manager (using "include" rule) | Community
Skip to main content
New Participant
October 16, 2015
Solved

Adobe CQ Package Manager (using "include" rule)

  • October 16, 2015
  • 6 replies
  • 1581 views

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

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 BrijeshYadav

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

6 replies

Sham_HC
New Participant
October 16, 2015
smacdonald2008
New Participant
October 16, 2015

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

BrijeshYadav
BrijeshYadavAccepted solution
New Participant
October 16, 2015

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

smacdonald2008
New Participant
October 16, 2015

See: http://dev.day.com/docs/en/crx/current/how_to/package_manager.html#Commonly Used Patterns. Make sure you use proper pattern syntax. 

New Participant
October 16, 2015

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.

October 16, 2015

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