Usergenerated Images in Mongo DB | Community
Skip to main content
Level 3
November 18, 2016
Solved

Usergenerated Images in Mongo DB

  • November 18, 2016
  • 6 replies
  • 4169 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by JK_Kendall

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

6 replies

JK_Kendall
JK_KendallAccepted solution
Level 9
November 18, 2016

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

Level 3
March 24, 2017

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

JK_Kendall
Level 9
March 24, 2017

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

Level 3
March 27, 2017

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

JK_Kendall
Level 9
March 27, 2017

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

Level 3
March 29, 2017

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 !