Gmail Context Gadget

I think the only question is whether it is really possible to create a contextual gadget for gmail right now?

I spent the last 2 days reading the documentation (very outdated) firmly back and forth, and every forum post I could find on this topic. I tried everything that I did not see anything, not even a hint of an error message that could point me in the right direction.

These are the steps that I followed, from the very beginning and step by step, when you logged into my Google application domain as an administrator.

1) A new TestGadget.xml file was created in Google Drive, he publicly published it on the entire network and copied the contents of the Hello World sample code here https://developers.google.com/gmail/contextual_gadgets into it.

2) In https://console.developers.google.com , previous attempts are deleted and a new project is created and named.

3) After the project was created, went to the API (6 were already included, also tried to delete them), clicked the Google Apps Marketplace SDK and turned it on.

4) Once enabled, go to the API configuration for the Google Apps Marketplace SDK and go to the source console.

now in apis console -

5) Click "Access API", then click the big blue "Create OAuth 2.0 Client ID"

6) Did you give this name (used the same name as the project, not sure if it matters?), And then created and set ClientID parameters for both the web application and the service account (not quite sure what you need for a contextual gadget).

7) I switched to the SDK options for the Google Apps Marketplace.
Description added
4 icons added
Uncheck Allow Custom Installation
Added URL ( http://www.google.com ) for TOS to make him happy

8) In the "Extensions" section, mark the Universal navigation extension and point it to www.google.com again (do you need this or a disk extension, but does not make sense for a contextual gadget ?!)

9) The COB extension is included.
Extractor URL - google.com:HelloWorld
Gadget URL - https://drive.google.com/file/d/0B9LL5RYGoC4GUUFFU1FtOXpWSms
Param Name - hello (I tried @hello, but also just exposed the other combination)
The value of the parameter is. *
Areas - Mail - Subject, Mail - Message Body

and saved changes. In other attempts, I tried different extractors from the documentation and changed the gadget code to match using the specified parameter name, for example, google.com:EmailBodyExtractor with email_body and always. * For value

10) Click on "Verify installation flow", select the grants page, agree to the terms and conditions, enable my domain and accept. Then press the next next next next bit, agreeing to send notifications.

11) I went to https://admin.google.com/AdminHome?fral=1#AppsList:serviceType=MARKETPLACE , and the application was indicated there. Check the settings and access to the data was provided, and it was turned on for everyone.

12) I sent myself an email from another account, which sprinkled liberally with the "evil world" in the subject and body.

13) Logged into gmail using https://mail.google.com/mail/u/0/?nogadgetcache=1

... and nothing

14) Hack your head against the wall. HARD!

15) repeat the last 2 steps with a user without an administrator - still nothing (and do not notify the application about this)

16) go back to the wall. ,,.

What am I missing?

+8
gmail-contextual-gadgets google-apps-marketplace
source share
1 answer

Finally, he worked. The problem was placing / linking to a gadget in Google Drive. In the above example, I installed the gadget on my website and contacted it there, and it all started to work.

This, however, is a very annoying way of working, and I saw many other examples that claimed to use a document on a Google drive, so is there a way to use a Google drive to host the gadget during development?

+3
source share

All Articles