Thanks - that was not obvious for someone coming to gadgets from the
specific appoach given in examples in the Calendar Gadgets - I've yet
to work out how to access these wider details in that context.
(my gadget uses examples in
http://code.google.com/apis/calendar/gadgets/sidebar/
for a template)
But that does not answer the main question.
AllEvents = new Array();
CalsDone = 0;
var startDate = {year: xYear, month: xMonth, date : xDay,
hour : 0, minute: 0, second: 0};
var endDate = {year: xYear, month: xMonth, date : xDay+6,
hour : 23, minute: 59, second: 59};
var calLect = ["[email protected]"];
var calServ = ["[email protected]"];
var optParams = { 'requestedFields': [ 'details'] };
google.calendar.read.getEvents(eventCallback, calLect, startDate,
endDate);
google.calendar.read.getEvents(eventCallback, calServ, startDate,
endDate, optParams);
All of the events in calLect (imported from an external source) are
all day events marked Available. If I include optparams then none of
them are returned. As it happens, my immediate need does not require
looking at the details from those events only those from the other
set.
On Feb 16, 7:07 pm, Alain <[email protected]> wrote:
> Hello Mike,
>
> Wich language and version of the API are using? Are using a specific Client
> Library?
> The event Available/Busy marker should follow this
> form:http://code.google.com/apis/gdata/docs/2.0/elements.html#gdTransparency
>
> An "opaque" event is seen as "busy" and a "transparent" event is seen as
> "available". Depending on the client library you are using, you should adapt
> your code to look for this attribute. Try looking for the "visibility"
> keyword.
>
> I hope this helped!
>
> Best,
> Alain
--
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://code.google.com/apis/calendar/community/forum.html