Using social components outside of Communities

ariellea4070516

07-02-2019

Is it possible to use a Social component from the SCF outside of communities? Namely, we would like to extend components such as the comments component (/libs/social/commons/components/hbs/comments) to a normal AEM sites app without having to instantiate a community site project within that app.

Thank you in advance!

Accepted Solutions (1)

Accepted Solutions (1)

Gaurav-Behl

MVP

07-02-2019

Could you share the exact requirement?  To me, it would be better to create something from scratch rather than extending SCF.

Communities uses HBS (handlebars) template engine OOB which means it uses the framework to initialize, substitute, render, persist etc.

If you plan to use one component of SCF outside the engine, then I'm not sure how would you provide the associated libraries (js/css/global variables etc.) to that component? Even if somehow, you make it work outside communities, then what would be the end-to-end design/data flow of this use case?

Comments are treated as user generated content which would get stored in either TARMK or MongoMK based on the normal AEM site configuration. Hence, how would you plan to sync up these comments across all publish servers in your existing setup and manage replication/cache flush etc?

I assume that you have a solution in-place to these kind of scenarios.

HTH

Answers (0)