iPhone SDK Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsMobile ProgrammingiPhone SDK Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 15th, 2011, 12:57 AM
rtk123 rtk123 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2011
Posts: 1 rtk123 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 48 m 7 sec
Reputation Power: 0
Question Google spreadsheet integration

hi guys,

I have to add new row in google spreadsheet programatically from my iPhone app.

I have read gdata-objectivec-client introduction

and I am able to fetch
spreadsheets,worksheets in a particular spreadsheet
selected worksheet data (in list based and cell based)

but I am having problem in adding new row programatically

If any one has any idea plz help.................

here is my code

GDataEntryWorksheet *newWorksheet = [GDataEntryWorksheet worksheetEntry];
[newWorksheet setTitle: (GDataTextConstruct*)@"First Sheet"];
[newWorksheet setColumnCount:5];
[newWorksheet setRowCount:20];
NSURL *postURL = [[newWorksheet postLink] URL];

[service fetchEntryByInsertingEntry:newWorksheet forFeedURL:feedURL delegate:self didFinishSelector: @selector(finish)];


but an exception is occurs

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSCFString XMLElement]: unrecognized selector sent to instance 0xe0550'


- (GDataServiceTicket *)fetchAuthenticatedObjectWithURL: (NSURL *)objectURL
objectClass: (Class)objectClass
objectToPost: (GDataObject *)objectToPost
ETag: (NSString *)etag
httpMethod: (NSString *)httpMethod
delegate: (id)delegate
didFinishSelector: (SEL)finishedSelector
completionHandler: (GDataServiceCompletionHandler)completionHandler


method of GDataServiceGoogle class
after excecuting [invocatio invoke] line

Reply With Quote
  #2  
Old May 11th, 2012, 04:51 AM
Hansy Hansy is offline
Permanently Banned
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2012
Posts: 13 Hansy Negative: is most likely a SPAMMER and a traitor to the cause. 
Time spent in forums: 3 h 39 m 57 sec
Reputation Power: 0
Visit docs.google.com and click the "Get Started" button.
Provide Google with the information they request to create your account. Please note that your FormSite and Google accounts are separate - we cannot retrieve any information regarding your Google Docs account for any reason.
Follow Google's instructions to complete your account setup.
FormSite's Google Spreadsheets Settings
Your form's Google Spreadsheets settings are controlled on the "Form->Integrations->Google Spreadsheets" page.

Setup Google Spreadsheets Integration by following these steps once you have your Google Docs account.

Log into your FormSite account and go to the "Form->Integrations->Google Spreadsheets" page for your form.
Click the "Get Token" link to retrieve an authentication token from Google. You will be asked to log into your Google Docs account if you are not already, and then click the "Grant access" button to return to FormSite with the new token.
Enter the name of the spreadsheet that should be saved to Google. The default is the form's name.
Select the Results View, Results Filter, and Custom Labels that should be applied to results when inserting them into the spreadsheet. Only those responses allowed by the Results View and Filter will have their results inserted.
Save the page. The spreadsheet will automatically be created in your Google Docs if you have any existing results. Otherwise it will be created upon the first result submission.

Reply With Quote
Reply

Viewing: Dev Shed ForumsMobile ProgrammingiPhone SDK Development > Google spreadsheet integration

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap