Expand my Community achievements bar.

SOLVED

AEM Communities Profile (Follower/Following)

Avatar

Level 2

There are 2 social components - Followers/Following included in the profile page of an social user. The Followers component displays the count and list of users following the activities of logged in user and following component displays the count  of users followed by the logged in user. This count of both the components is always zero.

We enabled the logs to determine the query used to retrieve this value -

+provider_id:\/content/usergenerated/asi/mongo/content/sites/social/relationships/* +startid_s:<user_id> +rel_type_s:USER +type_s:following

  When the logged in user follow the forum, blog etc, the document in mongodb and solr is saved with relationship type as ‘RESOURCE’(rel_type_s:RESOURCE), so the above query will not pull the document since relationship type criteria is ‘USER’(rel_type_s:USER). I could not identify any community function which would allow to follow the user.

Which community function has the functionality enabled to follow another user?

Thanks,

Nirmal

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi Nirmal,

You should be able to see that option on the user's profile page.

For example , user A wants to follow user B for notifications . Then while logged in as User A - if you go to user B's profile page , you would see the Follow option just below the profile image.

To go to user B's profile , you can simply click on hyperlink of the user profile page on any of the UGC authored by user B.

Hope this answers your question .

View solution in original post

4 Replies

Avatar

Employee

Hi Nirmal,

This is used to get notifications. If you go to notification settings, you can select to receive notifications of activities of the user you are following.

I hope, that answers your questions.

-Rahul

Avatar

Level 2

Hi Rajul,

     The actual question is, how do logged in user follow another user. Notification setting is used to manage the notification of activities, however there is no option to follow another user. The logged user can follow activities of forum, QnA and blogs, but, where is the settings for following all activities of an user.

-Nirmal

Avatar

Correct answer by
Employee

Hi Nirmal,

You should be able to see that option on the user's profile page.

For example , user A wants to follow user B for notifications . Then while logged in as User A - if you go to user B's profile page , you would see the Follow option just below the profile image.

To go to user B's profile , you can simply click on hyperlink of the user profile page on any of the UGC authored by user B.

Hope this answers your question .