GoogleDriveConnector - read full path, not just relative
Hi everyone,
please is there any way how to read the full path of the file from GoogleDrive (e.g. Shared with me/Division A/Documents/PDF/data_view.pdf)? I can see that GoogleDriveConnector can load just _relative_path (e.g. Documents/PDF/data_view.pdf).
Thank you so much!
Lubo
Page 1 / 1
the transformerwill see Drive-created files when another action (like List) is selected. If you use the Download action and save a file on your machine, remember you can use the FilenamePartExtractor…. to get the windows_path. From there use StringReplacer and Regex if you need to manipulate the file path.
Most python back FME packages like this Connector, use relative paths for the online directory. The other option is to use the _sharable_link attibute from the list action
So may you end up with multiple GoogleDriveConnector transformers chained together, each with a different action List, Download, change the attributes, merge, then Upload all using one of the previous transformers output attributes.