AEM Communities Forum Post and Activity Stream
Hello,
I am using a custom implementation of forums where "social/forum/components/hbs/forum" is extended. When making a forum post I see that the related 'activity' entry
is created with id as "id": "/content/usergenerated/asi/mongo/content/project/en/root/activitystreams/activities/community/b8554901-55af-4cd8-a698-a944aa1c7fac"
However when I test the same in we retail or geometrixx I see that the related "activity" entry looks like "id": "/content/usergenerated/asi/mongo/content/sites/activitystreams/activities/community/c9a103b5-8491-40a6-84f7-c4bd9187541d"
How can this be controlled? Why does the activity entry for custom implementation pick the stream path as "/content/project/en/root" instead of "/content/sites"?
I have tried extending com.adobe.cq.social.forum.client.endpoints.ForumOperationExtension to see if I can set something in the beforeAction(Operation operation, Session session, Resource resource, Map<String, Object> properties) method, but doesn't look like.
Please update if something is missed or any other way to achieve this.
The reason I am looking in specified way is because I am looking to have these activities in activity stream and the activities are only displayed if the id is as mentioned above with "/content/sites/"
Regards,
Shubham
Using AEM 6.2 FP3 SP1
