here is an example done with JavaScript:

function setEventFlags(event, flag1, flag2)
{
   extentedPropArray = [];
   //event.setTitle(google.gdata.Text.create(newTitle));
   var extendedPropHiddenFlag1 = new google.gdata.ExtendedProperty();
   var extendedPropHiddenFlag2 = new google.gdata.ExtendedProperty();

   // Set the name of the property
   extendedPropHiddenFlag1.setName('HiddenFlag1');
   extendedPropHiddenFlag2.setName('HiddenFlag2');

   // Set the value of the property
   extendedPropHiddenFlag1.setValue(flag1);
   extendedPropHiddenFlag2.setValue(flag2);

   // add properties to the property array
   extentedPropArray.push(extendedPropHiddenFlag1);
   extentedPropArray.push(extendedPropHiddenFlag2);

   // Add the property array to the event
   event.setExtendedProperties(extentedPropArray);

   // update the event entry
   event.updateEntry(
      function(result) {
        PRINT('event updated!');
      },
      customErrorHandler
   );
}


On Fri, Oct 24, 2008 at 12:17 PM, Mercier <[EMAIL PROTECTED]> wrote:

>
> I need create a new field in the gogle calendar, to store a flag that
> i use in my logic. exist some place, where i can to store this?? a
> hidden field??  would be very useful...
>
> thanks!
>
> --
>
> Laerte Mercier Junior
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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