Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

kevingtan
kevingtan
Offline

Badges

Badges
16

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
33

Posts & Comments

Posts & Comments
67

Discussions

Discussions
0

Questions

Questions
0

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by kevingtan
Customize the badges you want to showcase on your profile
Re: AEM 6.0 query issue on cq:tags - Adobe Experience Manager 09-06-2022
Tags are the same on both author and publisher.

Views

79

Like

1

Replies

0
AEM 6.0 query issue on cq:tags - Adobe Experience Manager 08-06-2022
Hi All, We started seeing a weird issue about query optimization a few months ago. When we issue a query as:/jcr:root/content/site//element(*,cq:PageContent)[@sling:resourceType='site/components/page/news-detail' and (@cq:tags = 'department:drama')] order by @date descendingWe will see a warning message about traversing too many nodes, org.apache.jackrabbit.oak.plugins.index.property.strategy.ContentMirrorStoreStrategy Traversed 60000 nodes (212558 index entries) using index cq:tags with filter ...

Views

107

Likes

0

Replies

2
Re: AEM CRX Event Listener - Adobe Experience Manager 18-05-2022
Hi @arunpatidar Yes, this works, thank you! I am getting the session from loginService instead of getting it from the resource resolver. -k

Views

174

Like

1

Replies

0
Re: AEM CRX Event Listener - Adobe Experience Manager 17-05-2022
By the way, when I say onEvent is not called means after I create a node in the path defined in the add listener function.

Views

186

Like

1

Replies

1
Re: AEM CRX Event Listener - Adobe Experience Manager 17-05-2022
Hi @arunpatidar , Thanks for your code. Mine almost exactly the same as yours, except that ours listens to Event.NODE_ADDED, and the code works on our current AEM 6.0 instances. As the debugging perspective, I am looking at the event specification changes, if there is any, or my content migration because I migrated partial contents from AEM 6.0, which might affect the underlying system config. I have two services on AEM 6.5, they are all involved with the system user permissions.First one, it's ...

Views

187

Like

1

Replies

4
Re: AEM CRX Event Listener - Adobe Experience Manager 16-05-2022
HI @lukasz-m , Thanks for your reply. Yes, cq:Page is the node I need to create, and it is working on AEM 6.0. I actually toggled it from cq:Page to null on AEM 6.5 but got no luck. The service user is mapped correctly because there is another module using it to write something on jcr:content. Further more, my understanding is that it's not even an issue reaching the user permission yet because it needs to fire the onEvent first. -k

Views

205

Like

1

Replies

0
Re: AEM CRX Event Listener - Adobe Experience Manager 16-05-2022
Hi Santosh,Thanks for your suggestion.We used to have loginAdministrative(), but it's deprecated (https://sling.apache.org/apidocs/sling7/org/apache/sling/jcr/api/SlingRepository.html#loginAdministrative-java.lang.String-). So we changed it to use resourceResolver to get the session. I can see the session is live in the log. -k

Views

225

Like

1

Replies

1
AEM CRX Event Listener - Adobe Experience Manager 16-05-2022
Hi All, I have a crx event listener been working all time in AEM 6.0. After migrating to AEM 6.5, it stops working. I basically want to observe a node created under /crx/de, then it will trigger something. Here is the code: // -- component & service definition herepublic class CRXObservation implements EventListener { @activate public void activate(ComponentContext context) throws Exception { log.info("Activating crx observation"); try { String[] nodetypes = {"cq:Page"}; ResourceResolver resolve...

Views

238

Likes

0

Replies

11
Re: User/Group Migration issues - Adobe Experience Manager 08-04-2022
@JeevanRaj thanks for all your help!

Views

161

Like

1

Replies

0
Re: User/Group Migration issues - Adobe Experience Manager 08-04-2022
I almost did the same thing as you did. With an exception that the "Package ACL handling" is "overwrite". Also another question, do we have to put all the users in the "Principle names"? I wonder what if we have a few hundred or even thousands?

Views

167

Like

1

Replies

2