Is there a way to manipulate settings in a chrome app (on a chromebook) at install from the chrome admin console?

725 views
Skip to first unread message

Thor Tallmon

unread,
Nov 6, 2014, 10:02:10 AM11/6/14
to chromium-...@chromium.org
We have an app that is going to be disseminated to potentially thousands of devices.  This app needs to be able to connect to a server of their choosing, but because of the number of devices and environments that this will take place, it is impractical for the device administrators to have to manually enter a URL each time.  Also, there may be situations where there is not outside network access, so we can't have a maintained central server which has all the connection information available.

So my question is this:  is there a way to set settings/variables when an app is installed onto a managed chromebook via admin.google.com or something similar?

Ben Wells

unread,
Nov 6, 2014, 4:00:14 PM11/6/14
to Thor Tallmon, Xiyuan Xia, Chromium-extensions, Josh Woodward
+xiyuan, +joshwoodward who might know something about this, or who else to add to the thread.

On Fri, Nov 7, 2014 at 2:02 AM, Thor Tallmon <nick.eastw...@gmail.com> wrote:
We have an app that is going to be disseminated to potentially thousands of devices.  This app needs to be able to connect to a server of their choosing, but because of the number of devices and environments that this will take place, it is impractical for the device administrators to have to manually enter a URL each time.  Also, there may be situations where there is not outside network access, so we can't have a maintained central server which has all the connection information available.

So my question is this:  is there a way to set settings/variables when an app is installed onto a managed chromebook via admin.google.com or something similar?

--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/c73f205c-c2c9-4338-ba1f-9e5e1fc498d2%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.

Xiyuan Xia

unread,
Nov 6, 2014, 5:37:35 PM11/6/14
to Ben Wells, Mattias Nissler, Thor Tallmon, Chromium-extensions, Josh Woodward
+Mattias

I don't think this is currently supported to set settings/parameter when pushing an app from admin.google.com.

How do you plan to install the app on thousands of devices? via admin.googoe.com? The device must have access to the Internet in this case. Could the app handle chrome.runtime.onInstalled and fetch the URL from a central server at that time?

Thor Tallmon

unread,
Nov 7, 2014, 11:02:37 AM11/7/14
to chromium-...@chromium.org, benw...@chromium.org, mnis...@chromium.org, nick.eastw...@gmail.com, joshwo...@chromium.org, xiy...@chromium.org
In theory it could use chrome.runtime.onInstalled, but because we don't know the specifics to each deployment, its unlikely that we'll have access to all the urls - basically the way the app will work is thus:

Web side <==> LAN Network <=(FIREWALL)=> Local Server <== Chrome Application.

Basically, the chrome app, in most instances, will need to point to a server instance set up by the end user, and we might not be aware of it, so we need to find a way for them to set it easily on install.





On Thursday, November 6, 2014 4:37:35 PM UTC-6, Xiyuan Xia wrote:
+Mattias

I don't think this is currently supported to set settings/parameter when pushing an app from admin.google.com.

How do you plan to install the app on thousands of devices? via admin.googoe.com? The device must have access to the Internet in this case. Could the app handle chrome.runtime.onInstalled and fetch the URL from a central server at that time?

On Thu, Nov 6, 2014 at 12:59 PM, Ben Wells <benw...@chromium.org> wrote:
+xiyuan, +joshwoodward who might know something about this, or who else to add to the thread.
On Fri, Nov 7, 2014 at 2:02 AM, Thor Tallmon <nick.eastw...@gmail.com> wrote:
We have an app that is going to be disseminated to potentially thousands of devices.  This app needs to be able to connect to a server of their choosing, but because of the number of devices and environments that this will take place, it is impractical for the device administrators to have to manually enter a URL each time.  Also, there may be situations where there is not outside network access, so we can't have a maintained central server which has all the connection information available.

So my question is this:  is there a way to set settings/variables when an app is installed onto a managed chromebook via admin.google.com or something similar?

--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.

Mattias Nissler

unread,
Nov 7, 2014, 11:24:05 AM11/7/14
to Thor Tallmon, chromium-...@chromium.org, benw...@chromium.org, joshwo...@chromium.org, Xiyuan Xia, João da Silva
The managed storage API was designed for this exact use case. It gives you a Javascript API to obtain settings configured by the admin via remote management, On Chrome OS, you can set app configuration via admin.google.com, there's an "Upload configuration file" button in the app config panel at Device Management > Chrome > App Management > {pick your app} > User Settings > {pick your org unit}. Note that the button only shows for apps that declare their use of the managed storage API, you can try the test app at https://chrome.google.com/webstore/detail/show-managed-storage/ongnjlefhnoajpbodoldndkbkdgfomlp to get the button.


-----------------------------------------------
Google Germany GmbH
Dienerstr. 12
80331 München

Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Graham Law, Christine Elizabeth Flores

Steuernummer: 48/725/00206 
Umsatzsteueridentifikationsnummer: DE813741370

Thor Tallmon

unread,
Nov 7, 2014, 11:57:36 AM11/7/14
to chromium-...@chromium.org, nick.eastw...@gmail.com, benw...@chromium.org, joshwo...@chromium.org, xiy...@chromium.org, joaod...@chromium.org, mnis...@chromium.org
Awesome, hopefully I can suss it out then, however I've installed the extension but I can't find "App Management" at all, I have Device Management > Chrome > (User Settings | Public Session Settings | Device Settings | Network | Devices | Advanced), in user settings I see 'pre-installed apps and extensions', 'allowed apps and extensions', 'app / extension install sources'... harrumph
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsubscribe...@chromium.org.
Reply all
Reply to author
Forward
0 new messages