I could not find how to create an event as explained in my post.
However :
- if the event is created by the manager from on the web Gui, I can
detect it 'cause the email's author is the manager one.
- if the event is created by my app, I create the event as the simple
user but I add an extended property to label the event.
So whatever the method used to create the event, I can detect it.

On Nov 26, 9:33 am, Marc MENDEZ <[EMAIL PROTECTED]> wrote:
> To be more accurate,
>
> if I click on an event created with google calendar GUI, by the
> manager for a simple user, I get
>
> Creator : [EMAIL PROTECTED] for [EMAIL PROTECTED]
>
> That's what I would like to do with my app, but if I look at an event
> created by my app, I get
> Creator : [EMAIL PROTECTED]
> Who : [EMAIL PROTECTED]
>
> and there is an "attendee" on this event !
>
> On Nov 25, 11:59 am, MarcMENDEZ<[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi,
>
> > I use the Zend_Gdata API to read and add events to a google Calendar.
> > But, I can't find solution for my configuration :
>
> > I have several google users which all share their calendar with a
> > "manager". The manager creates events for each of them.
> > I have an important constraint : the events must appear as created by
> > the manager.
> > I want to do the same thing with the Zend API.
> > So I connect to the service as client with the manager's user and
> > password.
> > But, in the event I want to insert, how can I say that
> > the event was created by the manager BUT are for somebody else ?
>
> > Of course, I could connect with the simple user's login, but I won't
> > know the event was created by the manager !
>
> > Here is what I do to create my new event :
> > $event = $service->newEventEntry();
> > $event->title = $service->newTitle($title);
> > $when = $service->newWhen();
> > $when->startTime = $start;
> > $when->endTime = $end;
> > $event->when = array($when);
> > $author = $service->newAuthor($service->newName("MarcMENDEZ"),
> > $service->newEmail(AGENDA_MANAGER_USER));
> > $who = $service->newWho("[EMAIL PROTECTED]",null,"Marc
> >MENDEZ");
> > $event->who = array($who);
> > $event->author = array($author);
> > $service->insertEvent($event);
>
> > But in the calendar, I get :
> > - an event that's belongs to my manager
> > - an invitation to the second user (a kind on "invitation")
>
> > Thanks a lot- Hide quoted text -
>
> - Show quoted text -

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" group.
To post to this group, send email to 
[email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to