Foros de discusión
How can I get CalendarId
Thirumal Reddy, modificado hace 8 años.
How can I get CalendarId
Regular Member Mensajes: 216 Fecha de incorporación: 3/12/15 Mensajes recientes
Hai...,
In calendar portlet how can i get calendarId in velocity template.
please help me.
Thank you.
Regards,
Thirumal Reddy
In calendar portlet how can i get calendarId in velocity template.
please help me.
Thank you.
Regards,
Thirumal Reddy
Bijan Vakili, modificado hace 8 años.
RE: How can I get CalendarId
Expert Mensajes: 375 Fecha de incorporación: 10/03/09 Mensajes recientes
Hello Thirumal Reddy,
Thanks for post.
It's not clear what you're trying to do.
Please provide more description to problem. For example, here are some questions:
- what are you trying to do to need this?
- velocity template in what context? In theme, in web content article, or... perhaps template for DDL record?
- what have you tried and why not succeeded? Perhaps you just getting started though; in which case provide the other details.
Thanks for post.
In calendar portlet how can i get calendarId in velocity template.
It's not clear what you're trying to do.
Please provide more description to problem. For example, here are some questions:
- what are you trying to do to need this?
- velocity template in what context? In theme, in web content article, or... perhaps template for DDL record?
- what have you tried and why not succeeded? Perhaps you just getting started though; in which case provide the other details.
Thirumal Reddy, modificado hace 8 años.
RE: How can I get CalendarId
Regular Member Mensajes: 216 Fecha de incorporación: 3/12/15 Mensajes recientes
It's not clear what you're trying to do.
Please provide more description to problem. For example, here are some questions:
- what are you trying to do to need this?
- velocity template in what context? In theme, in web content article, or... perhaps template for DDL record?
- what have you tried and why not succeeded? Perhaps you just getting started though; in which case provide the other details.
Hai Bijan Vakili.,
Thanks for your replay
Here My aim is to display upcoming organization events to the guest user in web content article.
To do this i need to get organization calendarId from calendarbooking table.
If you want more info please give me a quick replay.
Thank you.
Reards,
Thirumal Reddy.
Bijan Vakili, modificado hace 8 años.
RE: How can I get CalendarId
Expert Mensajes: 375 Fecha de incorporación: 10/03/09 Mensajes recientes
Hi Thirumal Reddy,
Okay; got it. Is this same question as in this posting?
https://www.liferay.com/community/forums/-/message_boards/message/71967286
If so, then Julien Mourad answered.
Okay; got it. Is this same question as in this posting?
https://www.liferay.com/community/forums/-/message_boards/message/71967286
If so, then Julien Mourad answered.
<#assign calEventLocalService = serviceLocator.findService("com.liferay.portlet.calendar.service.CalEventLocalService") /> ${calEventLocalService.checkEvents()} or ${calEventLocalService.getEvents()} --> look at the method for required arguments
Thirumal Reddy, modificado hace 8 años.
RE: How can I get CalendarId
Regular Member Mensajes: 216 Fecha de incorporación: 3/12/15 Mensajes recientes
Thanq Bijan Vakili for your replay.
actually i need to get events from calendarbooking table of calendar portlet.
I achieved this by
.findService("calendar-portlet","com.liferay.calendar.service.CalendarBookingLocalService");
Thank you
Regars,
Thirumal Reddy
actually i need to get events from calendarbooking table of calendar portlet.
I achieved this by
.findService("calendar-portlet","com.liferay.calendar.service.CalendarBookingLocalService");
Thank you
Regars,
Thirumal Reddy