How do I get a list of pages/folders created/modified by a user? | Community
Skip to main content
jayv25585659
New Participant
January 7, 2019
Solved

How do I get a list of pages/folders created/modified by a user?

  • January 7, 2019
  • 2 replies
  • 1740 views

As above. I want to export the content and put it on our test environment. Thanks

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 Ravi_Pampana

Hi,

You can use query builder to fetch the pages which are created by a specific user and write a service to create content package which can be used to install in other instances.

path=/content/we-retail/language-masters/en

1_property=@jcr:content/jcr:createdBy

1_property.operation=equal

1_property.value=rpampana

p.limit=-1

Creating content package:

Adobe Experience Manager Help | Creating Adobe Experience Manager Packages using the JcrPackageManager.API

Similarly we can write query for modified data

2 replies

Gaurav-Behl
New Participant
January 8, 2019

After creating the query, use Query Packager

Ravi_Pampana
Ravi_PampanaAccepted solution
New Participant
January 7, 2019

Hi,

You can use query builder to fetch the pages which are created by a specific user and write a service to create content package which can be used to install in other instances.

path=/content/we-retail/language-masters/en

1_property=@jcr:content/jcr:createdBy

1_property.operation=equal

1_property.value=rpampana

p.limit=-1

Creating content package:

Adobe Experience Manager Help | Creating Adobe Experience Manager Packages using the JcrPackageManager.API

Similarly we can write query for modified data