Turned out to be a couple of things. I was using the wrong feed. It
was read-only. It helps to understand the differnt types of feeds. :)
Also, I wasn't authenticating on the pulls. Since I'd spliced examples
together I wasn't using the same service object that containted the
token. Therefore, no edit links were coming back to be stored and used
as the ID for deletion.
On Apr 17, 2:55 pm, Don Rhodd <[EMAIL PROTECTED]> wrote:
> I am pretty sure I am doing it correctly. I am getting 'noeditlink.'
>
> I think it's the data and not me. Any ideas? Thank you.
>
> <code>
> function deleter () {
> confirm("are you sure you want to delete this event? " + this.ref);
> entryURI = this.ref
> myService.getEventsEntry(entryURI, handleMySpecificEntry,
> handleError2);
> }
>
> function handleMySpecificEntry(retrievedEntryRoot) {
> retrievedEntryRoot.entry.deleteEntry(handleMyDeletedEntry,
> handleError2);
> updateDisplays();
>
> }
>
> function handleMyDeletedEntry() {
> alert("Entry deleted");}
>
> </code>
>
> On Apr 16, 1:35 pm, sunitha <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi Balaji
>
> > To make it work I did save the selfuri from the evententry object.
>
> > Call the CalenderService.Get(selfuri) to return the evententry object
> > and call the delete() method on that evententry object.
>
> > Thanks.
>
> > On Apr 16, 11:10 am, "Austin (Google)" <[EMAIL PROTECTED]> wrote:
>
> > > Hi,
>
> > > The ID for an calendar event entry is represented by the value within
> > > the <atom:id> element.
>
> > > Cheers,
> > > Austin
>
> > > On Wed, Apr 16, 2008 at 9:06 AM, Balaji Srinivasan <[EMAIL PROTECTED]>
> > > wrote:
> > > > I have a similar need. I want to persist the entry object some how so
> > > > that
> > > > later I can locate it and delete it.
> > > > So what should I be persisting? I couldnt find a way to get to the
> > > > entryID.
> > > > Thanks
> > > > Balaji
>
> > > > On Apr 15, 2008, at 9:34 PM, jack nicolson wrote:
> > > > Hi sunitha,
>
> > > > To delete a specific event you can simply use the entry obejct of that
> > > > event and call
> > > > entry.delete() method it will delete the specific event u want.
>
> > > > Thanks,
> > > > Jack.
>
> > > > On 4/16/08, sunitha <[EMAIL PROTECTED]> wrote:
>
> > > > > I would like to know the way to delete specific event.
>
> > > > > Once we create the event the EventEntry object will be returned.
>
> > > > > I would like to save id or url so that in future to retrieve the event
> > > > > and to delete event.
>
> > > > > Thanks- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -- 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
-~----------~----~----~----~------~----~------~--~---