Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Auto reload comment section in community site

Avatar

Level 2

Hi Everyone,

 

We have an requirement to auto reload comment section when a new comment is posted by any user in this page in community same as like facebook, instagram etc.,
Could someone help us in providing direction for this

 

Thanks

Bhanu

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Are you using the OOTB comments component

please check this https://helpx.adobe.com/in/experience-manager/6-3/communities/using/comments.html

 

If you have your own custom component then in this case you can make a call to your servlet on the click of post button .

And servlet can fetch all the previous comments for that user including latest one.

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

Are you using the OOTB comments component

please check this https://helpx.adobe.com/in/experience-manager/6-3/communities/using/comments.html

 

If you have your own custom component then in this case you can make a call to your servlet on the click of post button .

And servlet can fetch all the previous comments for that user including latest one.

Avatar

Level 2

Thanks Varun for the inputs. I am using OOTB components But in my case multiple users are accessing same page and posted comments and It will be updated in both the browsers without reloading the complete page. can you help me with this scenario