Custom Event | Community
Skip to main content
Level 2
October 16, 2015
Solved

Custom Event

  • October 16, 2015
  • 2 replies
  • 1242 views

Hi,

I have a requirement in my project where I have to create an event and when I submit the event details, a link should be displayed on click on which that event should added in my outlook. Can anyone please help me in implementing this requirement.

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 JustinEd3

It depends a bit on your specific requirements, but what I have done in the past is to create a new page template and component for Events and then added a rendering servlet to generate an iCal file (which is really just a text file) for these pages. The date, title, location, etc. were all page content.

A different approach would be to use a single "calendar" page and then add Event components to a parsys on this page. This is fine too (and the same style iCal servlet could be used here), but the downside is that each event doesn't have a direct URL. When I did the page-style implementation, this was a problem because you had to be able to Share an individual event to Facebook and Twitter.

HTH,

Justin

2 replies

JustinEd3Adobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

It depends a bit on your specific requirements, but what I have done in the past is to create a new page template and component for Events and then added a rendering servlet to generate an iCal file (which is really just a text file) for these pages. The date, title, location, etc. were all page content.

A different approach would be to use a single "calendar" page and then add Event components to a parsys on this page. This is fine too (and the same style iCal servlet could be used here), but the downside is that each event doesn't have a direct URL. When I did the page-style implementation, this was a problem because you had to be able to Share an individual event to Facebook and Twitter.

HTH,

Justin

smacdonald2008
Level 10
October 16, 2015

You can implement a custom AEM event handler. Seehttp://helpx.adobe.com/experience-manager/using/events.html.