Enabling Native Setup for Google Sheets Add

I posted a Google Add On spreadsheet. I am trying to add Inline Installation on my site. But my addon is being added as a google chrome extension and not a normal addon when installed.

Expected Result: The add-in is installed in the user account. Here is the gist of the code:

<html>
    <head>
        <title>Inline Installtion</title>
        <link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/jjkkhnadaddgofdoapkbdemklgkcnmld">
        <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css" rel="stylesheet">
        <link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css" />
        <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
        <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
        <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
    </head>
    <body>
        <div class="container">
            <div class="section">
                <div class="row">
                    <div class="col-sm-2">
                        <div class="">
                            <h5 class=""></h5>
                        </div>
                    </div><!-- left div/column -->
                    <div class="col-sm-8 form_div">
                        <br>
                        <br>
                        <br>
                        <br>
                        <div class="form-group main_button">
                            <div class="col-lg-10 col-lg-offset-2">
                                <div class="col-lg-4"></div>
                                <div class="col-lg-4">
                                    <button type="submit" class="btn btn-primary" id="install-button">Add to Chrome</button>
                                </div>
                                <div class="col-lg-4"></div>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-2">
                        <div class="">
                            <h5 class="center"></h5>
                        </div>
                    </div><!-- right div/column -->
                </div><!-- row -->
            </div><!-- section -->
        </div><!-- container -->
        <script>
            $(document).ready(function() {
                function successCallback(e)
                {
                    console.log("Success");
                    console.log(e);
                }

                function failureCallback(e)
                {
                    console.log("Failure");
                    console.log(e);
                }

                $("#install-button").click(function(event) {
                    chrome.webstore.install("https://chrome.google.com/webstore/detail/jjkkhnadaddgofdoapkbdemklgkcnmld", successCallback, failureCallback);
                });
            });
        </script>
    </body>
</html>

      

So my question is, is it possible to do this? If so, how to enable inline installation for Google Spreadsheet AddOn?

Help is greatly appreciated. Thank.

+3


source to share


2 answers


No, Google does not allow you to embed add-ons on your site.

there is another way to show your Google Apps add-on on your website.

Just show Marketplace Links or Snapshots on your website, for example Survey Monkey

.



LINK

OR

Dump the market data in HTML format and display it on the website.

+2


source


Follow the add-on post , which details the required steps to publish this as an add-on. Add-ons cannot be found in the Chrome Web Store as the Web Store is for apps and extensions. Add-ons are stored in the Google Marketplace.



If you want to use it, just go to the Google Marketplace and enter the name of the add-on you created. You will be asked to install it, allow permission, and finally be able to use it. You can check if it installed successfully by checking the add-in menu button in the spreadsheet.

0


source







All Articles