Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>If you know the document name or resourceID, and that document is shared with you, and you have the proper read/write access (ACL), you shouldn't have any problem updating the resource.</p> <p>Normally updating a document with Google Documents API goes something like this:</p> <ol> <li><p>Get the DocumentEntry for the document. You can construct a DocumentQuery to find the target document based on certain search parameters. See the documentation here: <a href="https://developers.google.com/google-apps/documents-list/#searching_for_documents_and_files" rel="nofollow">Google Documents List API 3.0</a></p></li> <li><p>Get the download URL from the DocumentEntry object and download the document to your PC. Downloading is optional if you're not interested in modifying the original content and just want to upload and overwrite the contents with something you have made locally.</p></li> <li><p>Edit the document and update (upload) it to Google Docs. <a href="https://developers.google.com/google-apps/documents-list/#updatingchanging_documents_and_files" rel="nofollow">Documentation for Updating.</a> Specifically, look at the section called "<strong>Updating document or file content with the resumable protocol.</strong>" You <strong>must</strong> use the ResumableUploader when uploading anything to Docs now.</p></li> </ol> <p>Edit to add: Try to get the DocumentEntry from the public link using the method below:</p> <pre><code>// Public Link contains the resourceID // example: https://docs.google.com/file/d/097iZigwrANhGTElvZDdCVmlZNzQ/edit // resourceID: 097iZigwrANhGTElvZDdCVmlZNzQ // Get Your Document Entry string editUri = "http://docs.google.com/feeds/documents/private/full/%3A" + resourceID; DocumentEntry docEntry = (DocumentEntry)service.Get(editUri); </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload