Comments (3)
Hi Vitaly,
It depends on how you are creating the files you manage with gsheet
. Are you creating new files with gsheet upload
that you then need to access via the browser?
If so, the workflow I recommend is to first manually create a folder in Google Drive and share that with both your service account (something like [email protected]) and any coworkers that need access. Take note of the folder id in the browser. And then have gsheet
create new files in that folder:
gsheet upload --parent ...yourFolderID... FILE_NAME
Those files will then be accessible in Google Drive to everybody.
If you just use gsheet upload
without specifying --parent
then the file gets uploaded to the service worker's root directory which is not accessible via the browser. You can get the root folder ID with gsheet info file_id
, but gsheet
does not currently provide a way to share that folder with human users (although I'm open to implementing that).
Does that clarify things?
from gsheet.
Thank you @cristoper.
the workflow I recommend is to first manually create a folder in Google Drive and share that with both your service account (something like [email protected]) and any coworkers that need access.
This makes sense, I'll try it.
Vitaly
from gsheet.
Let me know if you run into any issues. It can be annoying to have to pass the --parent
id all the time, but you can instead set it once in the GSHEET_PARENT
environment variable.
from gsheet.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gsheet.