Activate user | Community
Skip to main content
Level 2
October 16, 2015
Solved

Activate user

  • October 16, 2015
  • 3 replies
  • 1018 views

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.

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 Sham_HC

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.

3 replies

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

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.

smacdonald2008
Level 10
October 16, 2015

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

shin4649Author
Level 2
October 16, 2015

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.