Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

AEM Social Communities of customizing e-mail sending logic on like/voting button in Forum.

Avatar

Level 2

Hi All,

We have a requirement on AEM Social Communities of customizing e-mail sending logic based on certain conditions when user clicks on like/voting button in Forum post.

Assuming User-1 should receive email Notifications based on below Scenarios:-

Example scenario 1:

1a. User-1 creates a post.

User-2 likes User-1 post, e-mail should be sent to User-1.

1b. User-3 replies to User-1 post.

User-4 likes reply of User-3 , e-mail should not be sent to User-1.

Example scenario 2:

2a. User-1 replies to User-2 post.

User-2 likes User-1 reply, e-mail should be sent to User-1.

2b. User-3 likes User-2 post, e-mail should not be sent to User-1.

Basically, user should get e-mail notifications only when any other user likes his/her post or replies only.

If anyone gone through similar to this scenario.Please provide some feedback how this can be achieved.

Either using OOTB configuration or settings.

Else, is there any API through which we can do server side customization.

Let us know the approach to be followed.Any sort of help would be Appreciated.

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi Asha,

Triggering email upon creation of ugc is a multistep and complicated process internally. It wouldn't be possible to turn it off selectively OOTB or with customization.

-Rahul

View solution in original post

5 Replies

Avatar

Level 1

hi Scott,

didn't got much help,do you have any reference.Please let me know.

Any links or blogs also will be fine.

Thanks.

Avatar

Employee

Neither, this is possible OOTB, nor there is an API, which can be leveraged to do the same.

Currently, notification/subscriptions are based on "follow" activity and not available automatically for post/comment creators.

Avatar

Level 2

Hi Rahul_Bhardwaj

If user is following on a Post and has selected e-mail subscriptions, can we turn off triggering e-mails only on likes/voting.

Do we have this support OOTB or can we customize it.

-Asha G

Avatar

Correct answer by
Employee

Hi Asha,

Triggering email upon creation of ugc is a multistep and complicated process internally. It wouldn't be possible to turn it off selectively OOTB or with customization.

-Rahul