2
Good afternoon, everyone!
Maybe someone has worked with Google Docs (g-suite) and can give an idea with this problem.
The company will migrate from office to g-suite, so all documents and spreadsheets will be online.
We have a productivity system that maps filenames (Filename) accessed as well as their network paths (Filepath), to know if users are working with what they should work with.
Well, inside the google g-suite, we don’t have to search for some information automatically, but we can use Javascript to bring the information when the user accesses, for example, when the user opens a document, i identify by URL that this is something in google Docs and search with a command the file name:
document.getElementsByClassName('docs-title-input')[0].value
The problem is finding the Filepath, that is, the folders and subfolders inside the drive where this file is stored. I’ve been trying for 2 days to find a way to bring this, but I can’t find it because I think the code of the page does not provide it (no, I’m not sure and no, I’m not an expert in Javascript).
If anyone has ever seen a situation like this, I’d appreciate any help.