And the implementation for isDraft is only in the subversion tree (version 1.0.8), so you can just look at it by following this link:
http://google-gdata.googlecode.com/svn/trunk/clients/cs/src/core/atomfeedentry.cs
Frank Mantek
On 10/26/06, yonah <
[EMAIL PROTECTED]> wrote:
Frank,
1. I can't find atomentry.cs in cs/src/core in 1.0.7 zip, nor can I
find 'isdraft' in search through the text in the local files.
2. I actually found a way for this to work - but only on updates.
essentially I post my original EventEntry, and then take the
corresponding event entry that's returned by service.insert(). If I
loop through the ExtensionElements and find the right element, I can
set the value to true, and then update and 'voila' everyone gets an
e-mail.
3. I have also found out how to use the XmlDocumentFragment to create
the right XML for the ExtensionElements, yet I know that it doesn't
work because I get an XML parsing error when I try to insert it on a
new element.
Here is the snippet for the update that seems to work:
EventEntry original=new EventEntry();
.....
ee=(EventEntry) service.Insert(feedurl,original);
foreach(object o in ee.ExtensionElements)
{
if(o.GetType()==typeof(XmlElement))
{
System.Xml.XmlElement a=(XmlElement)o;
if( a.Name=="gCal:sendEventNotifications")
{
foreach(XmlAttribute aa in a.Attributes)
{
aa.Value="true";
}
}
}
}
ee.Update();
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
- Re: Two weird behaviors with Attendees and Invitations yonah
- Re: Two weird behaviors with Attendees and Invitat... Frank Mantek
- Re: Two weird behaviors with Attendees and Invitat... Ryan Boyd (Google)
