Hi,
I needed to trigger an email to a group of users whenever a page is rolled out.Could any one help me out on how to achieve this on page roll out action(Page -> Rollout Page)? Is there any default event handler for roll out ? If any, i can then trigger email task from that.
Any suggestions would be appreciated.
Thanks,
Channaveer
Solved! Go to Solution.
Views
Replies
Total Likes
From the docs:
CREATING A ROLLOUT CONFIGURATION
Create a rollout configuration when the installed rollout configurations do not meet your application requirements. Create the rollout configuration, then add the trigger and synchronazion actions. The new rollout configuration is available when setting rollout configurations on a blueprint or on a Live Copy page.
The following events are available to use as synchronization triggers:
See: http://dev.day.com/docs/en/cq/current/administering/multi_site_manager.html
You can write an event handler that is fired when one of these events occur. You can easily write a custom email service for CQ that is invoked from the event handler:
See this for creating a custom CQ email service:
http://helpx.adobe.com/experience-manager/using/creating-custom-cq-email-services.html
See this community article on how to write an general event handler:
http://helpx.adobe.com/experience-manager/using/events.html
From you event handler - code it so it calls the email service and sends email to whom you want.
Views
Replies
Total Likes
In order to be notified, you first need to subscribe to rollout
http://docs.adobe.com/docs/en/aem/6-0/administer/operations/notification.html
Also look at Synchronisation Actions in http://docs.adobe.com/docs/en/aem/6-0/administer/sites/multi-site-manager/msm-sync.html
Send a notification | Sends a page event that the page has been rolled out. In order to be notified, one needs to first subscribe to rollout events. | notify | enabled | true |
Views
Replies
Total Likes
From the docs:
CREATING A ROLLOUT CONFIGURATION
Create a rollout configuration when the installed rollout configurations do not meet your application requirements. Create the rollout configuration, then add the trigger and synchronazion actions. The new rollout configuration is available when setting rollout configurations on a blueprint or on a Live Copy page.
The following events are available to use as synchronization triggers:
See: http://dev.day.com/docs/en/cq/current/administering/multi_site_manager.html
You can write an event handler that is fired when one of these events occur. You can easily write a custom email service for CQ that is invoked from the event handler:
See this for creating a custom CQ email service:
http://helpx.adobe.com/experience-manager/using/creating-custom-cq-email-services.html
See this community article on how to write an general event handler:
http://helpx.adobe.com/experience-manager/using/events.html
From you event handler - code it so it calls the email service and sends email to whom you want.
Views
Replies
Total Likes
Hi,
Thanks for the response.
The first link is for setting up mail service in the server which I have already done.
Is there a custom way for sending an email when page is rolled out?
-Channaveer
Views
Replies
Total Likes
Have u looked the section with title EMAIL TEMPLATES FOR PAGE NOTIFICATION
Below setting email service in first link
it has all details u need
Views
Replies
Total Likes
Views
Likes
Replies