>From what I've read here and from the APIs, the following should create and populate a spreadsheet. While it does create the spreadsheet, I'm not getting the worksheet nor the cell. Any ideas what I'm doing wrong?
service.setUserCredentials(_username, _password); SpreadsheetEntry newSpreadsheet = new SpreadsheetEntry(); newSpreadsheet.setTitle(new PlainTextConstruct("New Spreadsheet")); URL spreadsheetFeedUrl = new URL("http://docs.google.com/feeds/ documents/private/full/"); service.insert(spreadsheetFeedUrl, newSpreadsheet); WorksheetEntry newWorksheet = new WorksheetEntry(); newWorksheet.setTitle(new PlainTextConstruct("New Worksheet")); newWorksheet.setRowCount(5); newWorksheet.setColCount(5); URL worksheetFeedUrl = newSpreadsheet.getWorksheetFeedUrl(); service.insert(worksheetFeedUrl, newWorksheet); ListEntry newLEntry = new ListEntry(); newLEntry.getCustomElements().setValueLocal("firstname", "name"); URL listFeedUrl = newWorksheet.getListFeedUrl(); service.insert(listFeedUrl, newLEntry); --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Docs Data APIs" group. To post to this group, send email to Google-Docs-Data-APIs@googlegroups.com To unsubscribe from this group, send email to google-docs-data-apis+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Docs-Data-APIs?hl=en -~----------~----~----~----~------~----~------~--~---