B/c of this issue: http://code.google.com/p/gdata-issues/issues/detail?id=1131
You'll need to add an appropriate category label: <?xml version='1.0' encoding='UTF-8'?> <atom:entry xmlns:atom="http://www.w3.org/2005/Atom" xmlns:docs="http://schemas.google.com/docs/2007"> <atom:category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/docs/2007#document" label="document"/ > <atom:title>new document</atom:title> <docs:writersCanInvite value="false" /> </atom:entry> On Apr 2, 9:11 am, Daniel Marashlian <[email protected]> wrote: > I'm not sure if it's me or if something happened on your guys' side, > but I can't get this to work either! hahaha > > I copied exactly what you're doing in the example code I also simply > tried what you said in this post: > > http://groups.google.com/group/Google-Docs-Data-APIs/browse_thread/th... > > and I can't get it working. The server keeps returning me an error of: > > "The remote server returned an error: (400) Bad Request." > ---------------------- > > I'm posting to:http://docs.google.com/feeds/documents/private/full > > with a ClientLogin authentication (easier to test on) > > here is the XML I'm posting: > > <?xml version='1.0' encoding='UTF-8'?><atom:entry > xmlns:atom="http://www.w3.org/2005/Atom" > xmlns:docs="http://schemas.google.com/docs/ > 2007"><atom:category scheme="http://schemas.google.com/g/2005#kind" > term="http://schemas.google.com/docs/2007#document"/><atom:title>new > document</atom:title><docs:writersCanInvite value="false" /></ > atom:entry> > > Am I doing something wrong? > > On Mar 31, 1:28 pm, Daniel Marashlian <[email protected]> wrote: > > > > > thanks Eric, I'll give it a try :) > > > On Mar 31, 1:22 pm, "Eric (Google)" <[email protected]> wrote: > > > > This can be added/modified on upload and > > > update:http://code.google.com/apis/documents/docs/2.0/developers_guide_proto... > > > > Eric > > > > On Mar 30, 1:53 pm, Daniel Marashlian <[email protected]> wrote: > > > > > with the new > > > > release:http://code.google.com/apis/documents/changelog.html#release-2009-03 > > > > > feature 984 has been added: "Give doc owner's ability to prevent > > > > collaborators from invite others" > > > > > You guys are saying that you added, <docs:writersCanInvite>, but how > > > > do I use that? can you please provide an example? > > > > > is that upon creating the document? Or one the document is uploaded > > > > can I modify that setting on the document? > > > > > thanks for the support! > > > > Daniel --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
