Skip to content

OGo Docs

Sections
Personal tools
You are here: Home » Members » whitemice's Home » Objective-C Development » appointment::get-by-globalid

appointment::get-by-globalid

Document Actions
Use of the appointment::get-by-globalid command
appointment = [[self commandContext]
  runCommand:@"appointment::get-by-globalid",
    @"gid", gid,
    @"timeZone", timeZone,
    nil];
- where:
gid is an EOKeyGlobalId
timeZone is an NSTimeZone object.

If the query is successful you will recieve (in "appointment") an EOGenericRecord object containing:
EOGenericRecord: description Date attributes={
   absence = "";
   accessTeamId = 25850;
   aptType = ill;
   associatedContacts = "";
   busyType = "";
   calendarName = "";
   cycleEndDate = "";
   dateId = 28310;
   dbStatus = inserted;
   endDate = "2006-08-11 23:59:00 -0400";
   evoReminder = "";
   fbtype = "";
   importance = "";
   isAbsence = "";
   isAttendance = "";
   isConflictDisabled = 0;
   keywords = "";
   lastModified = "";
   location = "";
   notificationTime = "";
   objectVersion = 1;
   olReminder = "";
   onlineMeeting = "";
   ownerId = 10120;
   parentDateId = "";
   resourceNames = "North Conference Room";
   sensitivity = "";
   sourceUrl = "";
   startDate = "2006-08-07 00:00:00 -0400";
   title = "long appointment";
   type = "";
   writeAccessList = "";
}
Most importantly dateId is the primary key.
Created by whitemice
Last modified 2006-09-03 07:48 PM
 

Powered by Plone

This site conforms to the following standards: