Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

subscribers list in AEM

sandeepk1310028
Level 2
Level 2

Hi All,

My requirement is to create a subscription form in website where user will subscrobe to a particular page updates. On form submission, I would like to store subsciber's email ID and the Pages List that he subscribed to. So Whenever there is an update to the page, we will send an email to subscribers.

We are planning to create custom subscription service in AEM. On click of subscription we will create a node with unique page path(/ replaced with _) and maintain the subscription list in that node.

Whenever page is published, we can trigger email notification.

 

Is this the right approach? Is there any other better way to implement it.

2 Replies
Jitendra_S_Toma
Level 9
Level 9

Hi Sandeep,

In such cases, Content modeling is very important. so you have think through your use cases. Just want to share the thoughts here.

Will the third party also use you subscribed data or not?. when you create a data node in JCR, which path would you used to store user email & subscribes paths chosen by the user.

Another thing is let's say if you have stored the data based on some unique id and maintain user email or subscribed paths etc. Now if A path is updated and A path is subscribed by 100 users, how would you know if A path is subscribed by 100 users?. 

sandeepk13100282 wrote...

Hi All,

My requirement is to create a subscription form in website where user will subscrobe to a particular page updates. On form submission, I would like to store subsciber's email ID and the Pages List that he subscribed to. So Whenever there is an update to the page, we will send an email to subscribers.

We are planning to create custom subscription service in AEM. On click of subscription we will create a node with unique page path(/ replaced with _) and maintain the subscription list in that node.

Whenever page is published, we can trigger email notification.

 

Is this the right approach? Is there any other better way to implement it.

 

kautuk_sahni
Community Manager
Community Manager

Did you try community experts suggestion?

~kautuk