![google drive file details sort google drive file details sort](https://4.bp.blogspot.com/-vvMDnzXJceQ/VYRR9ndA6EI/AAAAAAAABRU/UJZDYhNa4fM/s1600/Screen%2BShot%2B2015-06-19%2Bat%2B10.30.54%2BAM.png)
They can only be accessed from the Google Drive link in Course Navigation.
![google drive file details sort google drive file details sort](https://www.shannons.com.au/img-library/900x1276x0/events/KD45699YO5EY03EP_feature/great-southern-classic-car-show-2019.jpg)
![google drive file details sort google drive file details sort](https://support.aodocs.com/hc/article_attachments/360042976351/image01.png)
If you want to authenticate using a different Google Drive account, you must log out of the Google account in Chrome and sign in to the account you want to use with Canvas. If you are already logged into a Google account in Chrome, Canvas will use that Google account to authorize Google Drive access.If necessary you can log out of your account and authenticate with a different account. Make sure you are logged in to the account you want to view in Canvas. You can only view one Google Drive account at a time in Canvas.
![google drive file details sort google drive file details sort](https://i0.wp.com/alicekeeler.com/wp-content/uploads/2014/09/right-click-on-file-in-google-drive.png)
The Google Drive folder is accessed from the Course Navigation Menu. It adds all the files in the folder to a list, then calls itself on any subfolders it finds.If your course has enabled Google Apps, you can view all files in your Google Drive account in Canvas. The code below calls the recursive method recurseFolder() which takes a Folder and Array as a parameter. There are less than 10 levels but would like the flexibility to go further if needed. I'm stuck trying to figure out how to get a loop going to continue until there are no more sub-folders. It currently gets the folder names and file names for the current folder and it's subfolder. To reverse the order, click the up arrow or down arrow. In the top right, click the title of the current sort, like 'Name' or 'Last modified.' Click on the type of sorting you want. Row.push(folderPath + '/' + subfolder.getName(),file.getName(),file.getId(),file.getUrl(),file.getSize(),file.getDateCreated(),file.getLastUpdated()) If you're viewing your files in a grid On your computer, go to. Row.push(folder.getName(),file.getName(),file.getId(),file.getUrl(),file.getSize(),file.getDateCreated(),file.getLastUpdated()) row.push(subfolder.getName(),'',subfolder.getId(),subfolder.getUrl(),subfolder.getSize(),subfolder.getDateCreated(),subfolder.getLastUpdated()) Here is what I currently have: var counter = 0 The purpose of the following script is to get a full list of folders and files with subfolders and their files included. I've been trying to figure this out for a while now.