Updating a document's content shouldn't affect it's ACLs: http://code.google.com/apis/documents/docs/2.0/developers_guide_protocol.html#UpdatingContent
Are you seeing otherwise? Eric On Mar 29, 9:33 pm, AN <[email protected]> wrote: > Hi, > > I'm trying to "update" a spreadsheet from the API but unsuccessful. I > have a spreadsheet on Google Docs with several permissions set. Now I > want to upload an Excel spreadsheet on to the existing Google > spreadsheet without disrupting any of the ACL settings. (There's an > existing process that creates this Excel file) > > Tried to do something like this but didn't work and no runtime errors > - > > get entry for spreadsheet > OtherContent oc = new OtherContent(); > oc.setBytes(...bytes from xls file...); > entry.setContent(oc); > entry.update(); > > I can do this manually from the browser but no luck doing this from a > program. Any assistance will be great. > > Thanks!! --~--~---------~--~----~------------~-------~--~----~ 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 [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-Docs-Data-APIs?hl=en -~----------~----~----~----~------~----~------~--~---
