[CalendarServer-users] Creating Events in icalender Server

Cyrus Daboo cdaboo at apple.com
Tue May 28 19:59:34 PDT 2013


Hi Pradeep,

--On May 28, 2013 7:56:22 PM -0700 Pradeep Alabe 
<pradeep.prabhu.alabe at gmail.com> wrote:

> I am trying to create ical Event in Apple - calender (ical server) using
> java ical4j Libraries and jackrabbit2.6 libraries to make http call's to
> server.
>
> Now i am able to create event, but the issue is when i create the event ,
> the server is not actually blocking the conference room which i try to
> book in my organization.
>
> Below is the code snippet used.
>
> VEvent vevent = new VEvent(startDate, endDate,eventName);
> Location loc = new Location("Conference Room name");
> vevent.getProperties().add(loc);
>
> Now the event created has only name of the conference room, but it is not
> blocking the Room.
>
> We have unique id for conference room, I need to set that as urn:uuid
> property .
>
> SCHEDULE-STATUS=1.2:urn:uuid:9121EBA7-6CD5-2FF8-F5BA-94E6E57C2A51
>
> So , could you guys please help me to find the way to set this urn:uuid
> property in Location.

You need to add the location as an Attendee in the event in addition to 
using the Location() property. When creating the Attendee use the urn:uuid 
value for the attendee calendar user address.

-- 
Cyrus Daboo



More information about the calendarserver-users mailing list