Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Activate user

Avatar

Level 2

Hi,

I have created a new user and entered all the user properties such as First Name, Last Name, Email. WhenI acivate the user by right click the user and select Activate, all these properties are not replicated at the published instance.

However, when I use the Activate Tree to activate the path /home/users, unchecking the Only Modified, the user properties are replicated properly to the publish instance.

Why can't I right click the user and activate the user?

I am using CQ5.3.

1 Accepted Solution

Avatar

Correct answer by
Level 10

In 5.3 the nodes of type nt:hierarchyNode (e.g. sling:Folder or nt:folder) are not replicated per default. The profile and preferences nodes are of type sling:Folder thus do not get replicated.  As a workaround create a package & activate it.

Though it is possible to change the default nodetype for profile nodes to be used under http://<host>:<port>/system/console/configMgr/com.day.cq.security.CqProfileProvider
 Note:- changing the node type gets effective for new created user only.

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10

In 5.3 the nodes of type nt:hierarchyNode (e.g. sling:Folder or nt:folder) are not replicated per default. The profile and preferences nodes are of type sling:Folder thus do not get replicated.  As a workaround create a package & activate it.

Though it is possible to change the default nodetype for profile nodes to be used under http://<host>:<port>/system/console/configMgr/com.day.cq.security.CqProfileProvider
 Note:- changing the node type gets effective for new created user only.

Avatar

Level 10

This question is being followed up with the AEM Eng team. The answer will be posted ASAP. 
 

Avatar

Level 2

Sham HC wrote...

In 5.3 the nodes of type nt:hierarchyNode (e.g. sling:Folder or nt:folder) are not replicated per default. The profile and preferences nodes are of type sling:Folder thus do not get replicated.  As a workaround create a package & activate it.

Though it is possible to change the default nodetype for profile nodes to be used under http://<host>:<port>/system/console/configMgr/com.day.cq.security.CqProfileProvider
 Note:- changing the node type gets effective for new created user only.

 

I tried changing the node type to nt:unstructured in both author and publish instance. Now the profile node is 

      
jcr:primaryType
Name
nt:unstructured

But still can't activate the profile properties when right click user and select Activate. Only way I can activate is by using Activate Tree.