Tuesday, July 22, 2014

Create Google Drive new document or spreadsheet in an existing drive folder

I have been searching for a way to create a new google document in an existing folder for some time now.  I typically use a shortcut on my browser bar to create a new Google document, the only problem is that it gets created at the root of my drive folder, then I must immediately change the folder location for the document to be in the correct folder.
After doing some more research today I was able to find a way to make this work.  Using the option folder= in the URL is the answer.  The only issue is that the drive folder name is not the name that you gave it when you created it, it is a big long string of characters that you must find.  
When in Google Drive go to the folder you want to create a new document under.  Then in the URL for that folder grab the string after the &folder= portion of the URL, this is the Google Drive folder name that you must use in the new URL that you will create.
Once you have the new string build the URLs that you need to create a new document based on the templates below:
https://docs.google.com/document/create?hl=en&folder=Google Drive Folder Name
https://docs.google.com/spreadsheets/create?folder=Google Drive Folder Name
https://docs.google.com/presentation/create?hl=en&folder=Google Drive Folder Name
https://docs.google.com/drawings/create?hl=en&folder=Google Drive Folder Name
Replace Google Drive Folder Name with the string found in the previous step.  
An example Google Drive folder string is below.  Make sure to find the folder name after the last forward slash in the string, that will be the Drive folder you want.
0B-VdA6SYAYt1kMGZmNDg3Mi00NWI0LWFjNjctNzRlZkYjB

1 comment:

Alan Brailsford said...

I can't believe that this is default behavior "as designed"! Navigate to a folder, create -> from template, and BANG it is in the root of my drive. What programmer thought this was the correct approach??? Mind-boggling...

iPod Touch Deals