cancel
Showing results for 
Search instead for 
Did you mean: 

how to retrieve the modified contents in a webproject

meetmrharish
Champ on-the-rise
Champ on-the-rise
Hi

Can anyone tell me how to retrieve the contents in a webproject which are recently modified and deployed within a specified time span.

Thanks in advance
Harish
4 REPLIES 4

jack_jin
Champ in-the-making
Champ in-the-making
If you just have lucene indexing enabled for your staging sandbox, you could run a lucene query to fetch the list.  I believe the properly you'll want to query for is cm:modified

Hopefully it helps

mrogers
Star Contributor
Star Contributor
Or you can look at the deployment logs.   Or compare snapshot versions. 

Comparing snapshot versions will tell you which files have been deleted, something you can't do with the Lucene query.

meetmrharish
Champ on-the-rise
Champ on-the-rise
Thanks for the reply friend.
Yes I got throught the modified contents through lucene query. to execute the query, we need the store object also.

Can anyone tell me how to filter the deployed contents from the modified contents. Because I need to retrieve only the modified contents which are deployed. Not the contents which are not deployed.

Regards
Harish

jack_jin
Champ in-the-making
Champ in-the-making
If you are deploying to ASR, you can run the query on the live store.

Alternatively, i think you can figure out what version's staging is "live", but I"m not sure if about running lucene on past versions.