I am trying add subscription component i.e. Follow button in reply's toolbar (inside Forum post).
The Follow button should come before cancel and reply button in case of reply to a reply of a Post.
The follow button appears, but it does not display any options in it. Upon js debug, we found that the this variable has only id element and does not contain types, state etc.,
Steps followed:
{{include this.id path="subscriptions" resourceType="/apps/test/components/subscriptions"}}
2.Modified the custom Post component hbs file to include the custom toolbar template instead of OOTB toolbar.
{{include this resourceType='/apps/test/components/comments/comment' template="toolbar"}}
Please let us know if we are missing anything.
Views
Replies
Total Likes
Are you working on AEM Communities
Views
Replies
Total Likes
Hi smacdonald2008
Yes, I am working on AEM social communities Forum component.
I have to make Follow button appear beside the 'cancel' and 'Reply' button that is displayed when I do a reply to a reply on the Post.
One observation related to the issue is that in browser network calls, I see 404 Not Found response is obtained for
Please suggest how to fix this issue.
Views
Replies
Total Likes
I was going through Communities Comment component , is it something that I am missing on including 'subscriptions' component
{{include this.id path="subscriptions" resourceType="/apps/test/components/subscriptions"}}
in the template toolbar
{{include this resourceType='/apps/test/components/comments/comment' template="toolbar"}}
In browser network calls, I see that 404 Not Found response is obtained for
Views
Replies
Total Likes
Do you see "subscriptions" folder at "/content/usergenerated/asi/jcr/content/sites/soco/en/groups/test/jcr: content/content/primary/forum/xsas-EsSS/test1-VwNq/subscriptions" ?
Or does ""content/usergenerated/asi/jcr/content/sites/soco/en/groups/test/jcr: content/content/primary/forum/xsas-EsSS/test1-VwNq" exist?
That should get created when you add a forum post and then a comment on it I guess
content/usergenerated/asi/jcr/content/sites/soco/en/groups/test/jcr: content/content/primary/forum/xsas-EsSS/test1-VwNq/subscriptions
Views
Replies
Total Likes
Hi snbaem,
The reply to a post "content/usergenerated/asi/jcr/content/sites/soco/en/groups/test/jcr: content/content/primary/forum/xsas-EsSS/test1-VwNq" exists.
However, the "subscriptions" folder at "/content/usergenerated/asi/jcr/content/sites/soco/en/groups/test/jcr: content/content/primary/forum/xsas-EsSS/test1-VwNq/subscriptions" is not created.
Please let me know how do I get the folder created and resolve the issue.
Views
Replies
Total Likes
This could be a bug. If you are unable to fix - i recommend opening a support ticket.
Views
Replies
Total Likes
I think the folder should get created automatically OOTB (cannot tell what class does that). As Scott mentioned, this might be a candidate for support ticket. Meanwhile you can add the "subscriptions" folder node manually. But it may or may not need a sling:resourceType property and value I am unsure.
Views
Replies
Total Likes
Try the "subscriptions" node as jcr:primaryType = oak:Unstructured and add property sling:resourceType = social/subscriptions/components/hbs/subscriptions with type=String
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies