AEM Communities Profile (Follower/Following)
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