How to publish Drive App for Shared Drive - google-apps-script

I have published a drive app that works fine for my drive. But it does not show up when i am in Shared Drive. Do I have to republish or re-install the app Or
my System Admin will install that app and that will reflect in everyone's account. Please help me out.

I Found it myself after few hours of R&D. If you want to enable your Drive Installable App to be appear in Shared Drive then check the checkbox titled as Shared Drive Support and click save

Related

Can I make Google Drive available on my home network as a network drive?

Can I create a connection on one computer or device that exposes my drive to the rest of my network as a network shared drive?
My specific use case is that I have an older scanner that is connected to my wife that scans files and can send them to an email address, or to a network shared location. I’m trying to get it to send files directly to my Google drive though. Is there any way I can have computer connect to drive that lets the rest of the network see it as a shared drive?
Google Drive integration into Windows means that there will be some folder that acts as the Google Drive drop folder.
That folder, typically under your Documents folder can be Shared:
Right-click
Properties
Sharing tab
Click Advanced Sharing
Check Share this folder
Click Permissions
Grant Everyone the Change permission
Good question, totally fits StackOverflow, and definitely shouldn't be closed.

Unable to get scope permission from G suite marketplace app

I have created a marketplace app to capture google drive changes.
Enabled two API & services.
1) Google Drive API
2) G Suite Marketplace SDK
Added required content in marketplace SDK and it is published via google chrome tool. So, got a marketplace app url which I can share with others and can install app in their domain.
With this app url I have installed an app by clicking on "DOMAIN INSTALL" button.
In order to receive notification of each drive changes my script is trying to create a channel for each user under this domain But, channel is not getting created. It shows error called "invalid_grant"
So, I took another approach to add marketplace client id and scope permissions under Admin Console->security->Advance Setting ->Manage API client access manually.
Now, I am able to create a channel for user in domain and can access drive files content.
Please help me to figure out that why I am not able to get permission while installing a published G suite marketplace app?
Thanks you.

Google drive synch from "Drive to PC"

I have created a new file and google drive through the browser.
But I am unable to see the new file on the connected google drive physic PC drive.
Is this not achievable with google drive?
Only one side of synch only work(PC to Google Drive)? Two way syncing is not possible (PC to Google Drive and Google drive to PC)?
AFAIK, this is a one way sync (PC to Drive not the other way around). When installing the Google Drive app and do a backup and sync, Google Drive acts as a Cloud backup for any changes to the selected folders you've wanted to backup.
As stated in this guide:
The Backup and Sync tool is split up into two main sections:
Google Drive: This performs the same function as the original Google Drive app. You choose what folders to sync from your Google Drive cloud storage, and they’ll appear in a Google Drive folder on your PC. Anything you put into that folder will also sync to Google Drive.
My Computer: This part is new, and allows you to sync files between your computer and Drive without putting them in the dedicated Google Drive folder. Just pick the folders from your computer you want to sync, and they’ll sync to your cloud storage (though they’ll appear in a separate section of the Google Drive interface, rather than with all your other Drive files.)
Hope this helps.

How to tell if user of a Google Drive SDK app installed via Chrome Web Store vs. a user whose domain admin installed it

We have an app in both the Chrome web store and the in the Google apps marketplace that interacts with Google Drive. Under the covers, they are both the same app, even though they are installed from different places.
In the Drive integration settings, we provide a URL to open Drive docs with. This URL is the same for both drive and apps users.
Is there a way to determine which type of user is hitting that endpoint we provided? Whether they are working as a user from a Google Apps domain, or if they are a consumer who is working under their own account?

Integrating with Google Drive from a Chrome packaged app

Is there a way to make a Chrome packaged app integrate with Google Drive? Specifically, I'm looking to make an app that will sync user's files to Google Drive, be packaged (not hosted), and not have to rely on a secondary add-on app.
However, when a user opens a file from the Google Drive interface, I can't make Google Drive redirect to my packaged app, can I?
No, this is not possible currently. You need a hosted app to receive the redirect from the Google Drive user interface.
If you don't need to handle a redirect from the Drive user interface, you can create a Google Documents List API application that manages a user's files in their Drive. This can e a non-hosted, packaged app.