버전용 도움말 콘텐츠:

About SRP

All AEM Communities components and features are built on the social component framework (SCF), which invokes the SocialResourceProvider API to access all user generated content (UGC). 

Before a community site is created, the storage resource provider (SRP) must be configured to select an implementation consistent with the underlying topology.  The SRP implementations are based on three storage options:

  1. ASRP - Adobe on-demand storage
  2. MSRP - MongoDB
  3. JSRP - JCR

About UGC Storage

What is important to know about storage of UGC is, when a site is configured to use ASRP or MSRP, the actual UGC is not be stored in AEM's node store (JCR).  

While there may be nodes in JCR which shadow the UGC to provide useful metadata, these nodes are not to be confused with the actual UGC.  

See Storage Resource Provider Overview.

Best Practice

When developing custom components, developers should be careful to code independently of the current chosen topology, thus retaining flexibility to move to a new topology in the future.

Assume JCR Not Available

Methods specific to JCR should avoided.

Methods to use :

Methods to avoid :

  • Node API
  • JCR events
  • workflow launchers (which use JCR events)

Use Search Collections

Different SRPs can have different native query languages. It is recommended to use methods from the com.adobe.cq.social.ugc.api package to invoke the appropriate query language.

For more information, see Search Essentials.

Resources

이 작업에는 Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License의 라이센스가 부여되었습니다.  Twitter™ 및 Facebook 게시물은 Creative Commons 약관을 적용받지 않습니다.

법적 고지 사항   |   온라인 개인 정보 보호 정책