Skip to content
Kim Nilsson edited this page Apr 25, 2021 · 10 revisions

CB_QueryDetails

Webapp that queries Google ChromeosDevices API for details on provided serial number in URL

Now with the ability to Disable and Re-enable devices!

Demo site here

https://tools.no-substitute.com/cb-tools/cb_lookup

Disable

CB_QueryDetails interface after disabling device

Enable

CB_QueryDetails interface after enabling device

Create a new project in https://script.google.com (name it CB_QueryDetails) and add the all files listed here as files in your project. The .html files are of course created with "File/New/HTML file" in the menu. The .gs files are created with "File/New/Script file".

Then you save all your code and go to Deploy as web app.

Choose to run the app as "User accessing the web app". You have to make sure each user that needs to use it actually has a proper admin role with the necessary access to devices, else nothing happens. Also make sure to limit the web app to your domain users in the setting "Who has access to the app".

When you have selected your options, click Deploy / New deployment. You are then given the exec URL of your web app, which you can distribute to users who should have access to the app, and more importanly is required for the most recent update of CB_LookUp!

If you ever need to change the code, don't forget to publish a new version under Deploy / Manage deployments (don't use Deploy/new deployment), so your new code is made available to your users. While experimenting, you yourself can always use Deploy / Test deployments", which is a dev version of your code, which doesn't require publishing to run.

paypal

Clone this wiki locally