Delta movement in package manager

manikanthar1295

07-05-2019

Hi Team,

How to move delta change from one instance to another instance using package manager.

I am able to move entire from one instance to another instance using package manager but how we can do   delta movement in package manager.

For Example--> if have added one java script in client Lib same as to be moved to another instance.should not override entire code only js as to be moved.

Regards

Manikantha R

Accepted Solutions (1)

Accepted Solutions (1)

berliant

Employee

08-05-2019

In order to find all that has been modified in Assets and Pages during a particular time frame you can employ teh folwing queries:

path=/content

type=cq:PageContent

group.p.or=true

group.1_daterange.property=cq:lastModified

group.1_daterange.upperBound=2017-04-21T23:59:59.000-04:00

group.1_daterange.lowerBound=2017-04-21T00:00:00.000-04:00

group.2_daterange.property=jcr:created

group.2_daterange.upperBound=2017-04-21T23:59:59.000-04:00

group.2_daterange.lowerBound=2017-04-21T00:00:00.000-04:00

p.limit=-1

path=/content/dam

type=dam:AssetContent

daterange.property=jcr:lastModified

daterange.upperBound=2017-04-21T23:59:59.000-04:00

daterange.lowerBound=2017-04-21T00:00:00.000-04:00

p.limit=-1

/jcr:root/content//element(*,cq:PageContent)[(@cq:lastModified >= xs:dateTime('2015-11-03T04:00:00.000-05:00') and

@cq:lastModified <= xs:dateTime('2015-11-03T20:00:00.000-05:00')) or (@jcr:created >= xs:dateTime('2015-11-03T04:00:00.000-05:00')

and @jcr:created <= xs:dateTime('2015-11-03T20:00:00.000-05:00')) ]

/jcr:root/content//element(*,dam:AssetContent)[(@jcr:lastModified >= xs:dateTime('2015-11-03T04:00:00.000-05:00') and

@jcr:lastModified <= xs:dateTime('2015-11-03T20:00:00.000-05:00')) or (@jcr:created >= xs:dateTime('2015-11-03T04:00:00.000-05:00')

and @jcr:created <= xs:dateTime('2015-11-03T20:00:00.000-05:00')) ]

You can then create packages using ACS Query Packager tool.

Answers (2)

Answers (2)

Ravi_Pampana

MVP

07-05-2019

Hi,

You can achieve this by using query builder to find the content modified recently by giving time frame and create a service which runs the query and creates a package in package manager

Query Builder API

Also, if you have acs-commons installed, adobe has option to run the query and create a content package in the instance

Go to

1) http://localhost:4502/miscadmin#/etc/acs-commons/packagers

2) Create a new page using Query Packager template

3) Open the page and click on Edit which opens a console

4) Enter required details as necessary and in query section, enter the query to find the last modified content like below

path=/content/we-retail/

daterange.property=cq:lastReplicated

daterange.lowerBound=2019-02-29T14:21:46.087-05:00

daterange.upperBound=2019-04-13T14:21:46.087-05:00

p.limit=-1

which creates a content package in package manager and also you can verify the results

Hope this helps !