Hi,
I have the requirement to create a JCR package of a single page, the package must not contain subpages but the order of the subpages must be included in the package.
I tried to create a package with a filter (e.g. /content/myProject/myPage) and added two rules (exclude /content/myProject/myPage/*.* and include /content/myProject/myPage/jcr:content). After importing this package on an other aem instance the page itself (inlcuding jcr:content) will be installed but the order of subpages will not be changed.
Has anybody an idea how to solve this problem?
regards
Reinhard
Views
Replies
Total Likes
Hi,
when you have the chance to modify the package manually, you can set the order of the childs of that page in the respective .content.xml file.
Jörg
Views
Replies
Total Likes
Hi Jörg,
the problem is not the package itself, because .content.xml file contains name of subpages in the right order, but when I run an import on a system with not order subpages, the order in .content.xml does not get respected with my filter/rule settings.
regards
Reinhard
Views
Replies
Total Likes
Have you already played with the different modes, especially "update"?
Jörg
Views
Replies
Total Likes
Hi Jörg,
yes I did, but I can't find any difference in the behavior in my case if I change mode to update or whatever.
Maybe I can explain my problem once again with an simple example using we-retail (this is only an example to explain the problem but is not my usecase because I know I can solve this problem e.g. by publishing /content/we-retail/language-masters):
Result is that order on publish was not changed and it doesn't matter which modes I used. You can find used packages at [1] (package with default mode replace) and [2] (package with mode update).
regards
Reinhard
[1] .. we-retail-order.zip - Box
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies