Ok, I get it now... I needed to GET the information on the document
first to get the href attribute's value so I can do a PUT to that URL
to update the metadata.

I can successfully update the file name now :)

So that's the first step to solving my "real" issue. I need to be able
to set the writersCanInvite attribute to false on an existing
document.

By using this method on editing the metadata on a document it's giving
me a "The remote server returned an error: (400) Bad Request." error.

This is the XML I'm passing to the PUT request (to the correct URL
now)

"<?xml version='1.0' encoding='UTF-8'?><atom:entry xmlns:atom='http://
www.w3.org/2005/Atom'><atom:category scheme='http://schemas.google.com/
g/2005#kind' term='http://schemas.google.com/docs/2007#document'
label='document'/><docs:writersCanInvite value='false' /></
atom:entry>"

That's the same node I passed while creating a NEW Google Doc
(<docs:writersCanInvite value='false' />), but if I try to use the
same technique on editing metadata, it's not working...

Almost there...
thanks for all of the help Eric!!!

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to