खोज…


टिप्पणियों

फ़ाइल के URL द्वारा फ़ाइल प्राप्त करना भी संभव है। किसी फ़ाइल का ID url में है, इसलिए पूरे URL के बजाय ID का उपयोग करने का अर्थ है कि पैरामीटर छोटा है। आईडी के बजाय URL को संग्रहीत करने से अधिक स्थान लेता है।

फ़ाइल आईडी का उपयोग करके Google डिस्क से फ़ाइल प्राप्त करें

function getGoogleDriveFileById(id) {
  var file;
  
  file = DriveApp.getFileById(id);//Returns a file - The "id" must be a string
  
  //One way to manually get a file ID
  // - Open the file from Google Drive
  // - The file ID is in the URL in the browsers address bar
  //https://docs.google.com/spreadsheets/d/File_ID_is_here/edit#gid=0
};


Modified text is an extract of the original Stack Overflow Documentation
के तहत लाइसेंस प्राप्त है CC BY-SA 3.0
से संबद्ध नहीं है Stack Overflow