use this function
function getIdFromUrl(url) { return url.match(/[-\w]{25,}/); }
On Tuesday, 11 November 2014 13:32:49 UTC, goognewb wrote:
>
>
> Sorry but from what I know, you'll have to open the document and open its
> properties or check the document's URL to find his ID.
> On thing would be to get the URL of your document and parse the ID. Don't
> know if any method already exists for that.
>
> Le mercredi 22 octobre 2014 04:49:05 UTC+2, [email protected] a écrit :
>>
>> Can anybody teach me where to source the document ID of a file in a
>> google drive folder.
>>
>
--
12 Clifton Road, Huntingdon, Cambridgeshire, PE29 7EN, England
A limited company registered in England, Number 2350654
--
You received this message because you are subscribed to the Google Groups
"Google Spreadsheets API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.