Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion How to store a unique ID in a GDataEntryCalendarEvent object

 Client Library Discussion <gdata-objectivec-client@googlegroups.com>
Received: by 10.101.133.31 with SMTP id k31mr7570940ann.34.1319540801279;
        Tue, 25 Oct 2011 04:06:41 -0700 (PDT)
X-BeenThere: gdata-objectivec-client@googlegroups.com
Received: by 10.100.159.6 with SMTP id h6ls2020181ane.0.gmail; Tue, 25 Oct
 2011 04:06:40 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.101.75.14 with SMTP id c14mr1245698anl.4.1319540799971; Tue,
 25 Oct 2011 04:06:39 -0700 (PDT)
Received: by u2g2000yqi.googlegroups.com with HTTP; Tue, 25 Oct 2011 04:06:39
 -0700 (PDT)
Date: Tue, 25 Oct 2011 04:06:39 -0700 (PDT)
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2)
 AppleWebKit/534.51.22 (KHTML, like Gecko) Version/5.1.1 Safari/534.51.22,gzip(gfe)
Message-ID: <35a02c43-f5c4-4e6f-819a-23931e3abe7e@u2g2000yqi.googlegroups.com>
Subject: How to store a unique ID in a GDataEntryCalendarEvent object
From: unforgiven <unforgiven.is.b...@gmail.com>
To: Google Data APIs Objective-C Client Library Discussion <gdata-objectivec-client@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1

The problem I am facing is how to store in a GDataEntryCalendarEvent
object a unique ID that will not change even if the event is modified
or deleted. I tried using the GDataEntryBase setIdentifier: method
without succeeding: the identifier is always modified server side. So,
I am wondering how to accomplish this. Is one of the following
GDataEntryBase  options viable?

1) setETag:

2) setResourceID:

Or GDataEntryCalendarEvent setICalUID: ?

If not, how to do this? Is there any available snippet of source code
showing how to do this?