Finally, for batch processing, simply pass the feed to the
ContactsService object:
//Executes line as batch.
cs.Batch(cfBatch, new OAuthUri("https://
www.google.com/m8/feeds/contacts/" + Domain + "/full/batch",
AdminUser,
Domain));
Note: only the first 100 entries are processed. I suggest generating a
feed with only 100 entries and send it to the ContactsService (cfBatch
in code).
ContactsFeed cfBatch = new ContactsFeed(AdminUser,
cs);
..and then add the 100 (maximum) entries per batch.
This make my sample not only work but efficiently too.
Regards!
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" 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-appengine?hl=en.