Expand my Community achievements bar.

SOLVED

User administration in AEM - persisting user properties.

Avatar

Level 2

1. I'm using the AEM User admin (http://localhost:4502/libs/granite/security/content/userEditor.html) and I'm trying to change some user properties (Gender for example). Problem is my changes are not getting persisted.

After saving, I get the green SUCCESS notification however when I load the user again the gender field is blank again.

2. If I use the CQ5 User Admin (http://localhost:4502/useradmin) I see a different set of properties (login/firstname/lastname/mail/about/path).

However, when I try to change a property I don't see a save button, and I get a notification when leaving the page that my updates will be lost.

So how do I save my changes in this admin interface ?

Also, why am I seeing a lot more properties in the AEM user admin (job title , address, about , ......)

3. When creating / configuring Segments based on user properties in the configuration console (http://localhost:4502/miscadmin)  I again see a different set of user properties (gender,age,country,language).

Where are all these properties coming from, why can't I change them in the user admin screens, how are they stored and why do I get a different set in all these different scenarios ?

1 Accepted Solution

Avatar

Correct answer by
Level 2

I did a quick search on this .. the users are stored in /home/users/v/venu.gummadala/profile (e.g.) ..

Also I found that there is no (corresponding) node defined  for 'gender' along the lines of 'familyname', 'givenName', 'email' etc ..

However, if I search on 'gender' in crxde, I do get results for gender, which are defined in the profile I guess .. which explains why it is shown & not saved ..

I'm also attaching the screenshot for your reference ..

There can be another reason why your data doesn't get saved, that is, if you have timed out, you can still edit & save data (without persisting it to the repository).

But when you revisit, you wont find your data saved. A simple re-login will establish your session.

-Venu Gummadala

View solution in original post

4 Replies

Avatar

Correct answer by
Level 2

I did a quick search on this .. the users are stored in /home/users/v/venu.gummadala/profile (e.g.) ..

Also I found that there is no (corresponding) node defined  for 'gender' along the lines of 'familyname', 'givenName', 'email' etc ..

However, if I search on 'gender' in crxde, I do get results for gender, which are defined in the profile I guess .. which explains why it is shown & not saved ..

I'm also attaching the screenshot for your reference ..

There can be another reason why your data doesn't get saved, that is, if you have timed out, you can still edit & save data (without persisting it to the repository).

But when you revisit, you wont find your data saved. A simple re-login will establish your session.

-Venu Gummadala

Avatar

Level 2

Where is user getting authenticated?  do you have an ID provider ? if yes .. change one property value by a suffix like ..x and verify ..

- Venu Gummadala

Avatar

Level 2

Logged in as admin. Using AEM quickstart

Users were created in http://localhost:4502/  -  Tools - Granite Operations -  Users - Add user

Country / Gender / About field are not getting persisted (a bug ? the 3 fields are dropdown / textareas as opposed to regular input fields)

Avatar

Level 2

For the existing pre-defined users that came with AEM quickstart the gender is properly set. However it cannot be changed.

For new users the gender is not set and cannot be changed.

I was trying out some gender-specific campaigns and couldn't get them to work with the users I created. (I tried setting the gender on my users through the user profile screen and there it got persisted, but it always showed up blank on the  AEM User admin )

I now see that the gender-specific campaigns work with the pre-defined existing users.

Guess this is a bug....