In Google Docs on a document I can go to the share page and invite
collaborators into a document. Is this possible with the API? (I use
the .NET C# API).

I have figured out how to iterate through the DocumentsFeed.Entries
List, and from there I can access all of the documents. Though when I
try to use the Add function from the Contributors List object nothing
gets added to the Doc.

here is an example of how i was trying it...

            DocumentsListQuery query = new DocumentsListQuery();
            DocumentsFeed feed = service.Query(query);

            foreach (DocumentEntry entry in feed.Entries)
            {
                AtomPerson person = new AtomPerson
(AtomPersonType.Contributor);
                person.Email = "[EMAIL PROTECTED]";
                person.Name = "Daniel Marashlian";

                int returnVal = entry.Contributors.Add(person);
            }

please let me know what I'm doing wrong! :)

thanks
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