Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Meitar

    (@meitar)

    What shortcode did you use?

    Thread Starter friendofdog

    (@friendofdog)

    Plugin Author Meitar

    (@meitar)

    As you can see by visiting that URL in your browser, you are redirected. You should ensure your Google Apps Script is accessible “anonymously” rather than requiring a Google Account login, as instructed in the Quick Start section in the plugin’s description.

    Thread Starter friendofdog

    (@friendofdog)

    Stupid mistake on my part. I was using the URL for testing code, not for the published app… I’ve updated the shortcode.

    But now there’s another issue, the same one I think as this fellow and this fellow were experiencing: my script uses HtmlService, which doesn’t work with this plugin because it returns a framed webpage, not strait-up HTML.

    What I’m trying to do here is embed a file upload script similar to this one. I’m not sure that this would even be possible without using framed content, which Google doesn’t support outside of Google Pages.

    I know that this has become a customisation question, and it really isn’t fair to ask you to customise stuff for me. But in principle, what would you recommend? If this plugin really isn’t the solution for me, are there any articles or resources you could point me towards?

    Plugin Author Meitar

    (@meitar)

    What I’m trying to do here is embed a file upload script similar to this one. I’m not sure that this would even be possible without using framed content, which Google doesn’t support outside of Google Pages.

    Correct, Google does not permit framed content to display on non-Google origins,so I don’t know of any plugin that can do what you’re trying to do because of Google’s imposed limits on displaying content they host.

    If you want to display a form that uploads to your Drive, you will need to use something like the Drive REST API and allow it to interact with your Google Account. That isn’t something this plugin can do. It is something that a plugin could be developed to do, but I don’t know of one that exists for this purpose.

    Good luck.

    Thread Starter friendofdog

    (@friendofdog)

    Thanks for all the help! I’ll take a look at the API.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Apps Script redirects on page load’ is closed to new replies.