Hello
Are there any docs on how to connect to an external mongo instance using AEM? We are on 6.3. We have a need to store some user info and the thought is to either store it in a separate Mongo instance or on the MSRP we have for communities. What I can't figure is - how to connect to either mongo instance to save/read that data.
Any pointers?
Thanks,
Solved! Go to Solution.
Views
Replies
Total Likes
You don't really have to know the underlying driver details to store a new information as UGC. You can do so by using SCF and SRP APIs. Follow a sample (a bit old from AEM 6.1 days) available here but good to start with.
check this also - Social Component Framework
Views
Replies
Total Likes
Did you check these documentations:
How to Setup MongoDB for Demo , AEM with MongoDB and MSRP - MongoDB Storage Resource Provider ?
Views
Replies
Total Likes
I did. Seemed to me they apply to either a) using Mongo instead of TarMK or b) using Mongo for Communities.
We do have the latter setup (for communities) done already. But now we are working on storing some additional information to the database.. say end-user preferences. The question I'm trying to figure out is how do I write my custom java code to connect to this mongo instance. Driver details and such.
Views
Replies
Total Likes
You don't really have to know the underlying driver details to store a new information as UGC. You can do so by using SCF and SRP APIs. Follow a sample (a bit old from AEM 6.1 days) available here but good to start with.
check this also - Social Component Framework
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies