1 Reply Latest reply: Jan 10, 2006 12:04 PM by 414326 RSS

    CSDK_FetchEventsBy UID does not return resources as attendees

    user469725
      When I fetch an event the vcalendar object returned does not include any assigned resources as attendees. I see all the users, but not the resources.

      I can add a resource with CSDK_StoreEvents and see it visible the standard client. So I know the resource is assigned to the event.

      This causes a major problem when I use CSDK_StoreEvents to delete an attendee. All the resources are also deleted since they are not in the vcalendar object.

      The fetch statement is

      iCalendar = sess.fetchEventsByUID(Api.CSDK_FLAG_STREAM_NOT_MIME,h,uid,"",0,tt,rr);

      where the list of properties is empty (String tt[] = new String[0];)

      I am using the 9.0.4.1 SDK.

      Is there any way to get the resources as attendees?
        • 1. Re: CSDK_FetchEventsBy UID does not return resources as attendees
          414326
          I am using the 9.0.4.1 SDK.

          Is there any way to get the resources as attendees?
          Do your resources have an email address?

          If not, you have 2 workarounds.

          1. Assign a unique email address to the resources.
          2. Update your calendar sdk version to 10g which handles resources with empty addresses correctly(using the GUID instead of the email address to identify a resource).

          Regards,
          Jean-Philippe