Expand my Community achievements bar.

SOLVED

Usergenerated Images in Mongo DB

Avatar

Level 3

Hi All,

We are migrating from CQ5.6.1 to AEM 6.2. We have some usergenerated images, which user adds from the website like user profile photo and the photos that gets uploaded from publish side for blog post.

Currently they get stored under /content/dam/usergenerated., now we are thinking to store in Mongo to avoid the use of FRR to replicate across all the publish and author instances.

But not sure that it is recommended to store images in MongoDB? If anyone is already doing that, Please share the experience and how you implemented that.

Please share the advantages and disadvantage of storing the images in Mongo DB

Thanks,

Monika

1 Accepted Solution

Avatar

Correct answer by
Level 9

Hi Monika,

If you look at AEM 6.2 Communities, you'll notice there are major differences between the CQ 5.6.1 blog feature and the AEM 6.2.

Prior to AEM 6.1 Communities, the blog feature only allowed blog articles to be added from the author environment, same as other page content.

A new framework was introduced in AEM 6.1 Communities, the social component framework (SCF), and the blog feature was re-implemented as a publish-side blogging model.  

Prior to AEM 6.1, UGC was stored in JCR.

As of AEM 6.1, UGC is stored in one common location accessed through the storage resource provider (SRP).  One choice for a provider is the MongoDB storage resource provider (MSRP).  All UGC, including images, is stored in the common UGC store.

You can migrate exiting UGC into AEM 6.2 using the UGC Migration Tool.

Other References :

Blog Feature : Site Visitor Experience
Social Component Framework / Storage Resource Provider Overview
Blog Essentials

Hope this helps.

- JK

View solution in original post

6 Replies

Avatar

Correct answer by
Level 9

Hi Monika,

If you look at AEM 6.2 Communities, you'll notice there are major differences between the CQ 5.6.1 blog feature and the AEM 6.2.

Prior to AEM 6.1 Communities, the blog feature only allowed blog articles to be added from the author environment, same as other page content.

A new framework was introduced in AEM 6.1 Communities, the social component framework (SCF), and the blog feature was re-implemented as a publish-side blogging model.  

Prior to AEM 6.1, UGC was stored in JCR.

As of AEM 6.1, UGC is stored in one common location accessed through the storage resource provider (SRP).  One choice for a provider is the MongoDB storage resource provider (MSRP).  All UGC, including images, is stored in the common UGC store.

You can migrate exiting UGC into AEM 6.2 using the UGC Migration Tool.

Other References :

Blog Feature : Site Visitor Experience
Social Component Framework / Storage Resource Provider Overview
Blog Essentials

Hope this helps.

- JK

Avatar

Level 3

Hi JK,

This response is helpful, may I please extend the query from Monika to ask if the Social Component Framework allows for upload of videos as User Generated Content too ?

If no, then is it possible to please point me to a documentation that states something like this?

Thanks in anticipation!

Regards,

Hemant Bellani

Avatar

Level 9

Hi Hemant,

I believe it is possible to upload videos or provide external links to videos.

While this page doesn't explicitly say, see Rich Text Editor Essentials.

If you're having trouble, please start a new question and provide details including your AEM and Communities versions.

- JK

Avatar

Level 3

Thanks JK!

I will raise a new question to get further clarity, On a side note: Do AEM Social Communities have a different version than AEM's, If so could you possibly suggest, how can I figure out the same?

-Hemant

Avatar

Level 9

Hi,

The first two posts on this topic are a good place to start :

README : About the AEM Communities Topic

Latest Communities Release

Communities is a capability of AEM and is included in the AEM release.

Updates and fixes to Communities are not included in AEM service packs, cumulative fix packs, nor hotfix packs.

Communities updates and fixes are released in Communities feature packs.

Yes, lots of packages. ;-)

- JK

Avatar

Level 3

JK Kendall wrote...

Hi,

The first two posts on this topic are a good place to start :

README : About the AEM Communities Topic

Latest Communities Release

Communities is a capability of AEM and is included in the AEM release.

Updates and fixes to Communities are not included in AEM service packs, cumulative fix packs, nor hotfix packs.

Communities updates and fixes are released in Communities feature packs.

Yes, lots of packages. ;-)

- JK

 

 

Sincere thanks JK !