Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9712

Updating slides from sheet

$
0
0

I am trying to update slides from sheet. As simple as that.

  1. I have a working script in sheet which updates the slide if I run it from the gscript editor
  2. I want this script to run onEdit of specific cell in spreadsheet
  3. So I add function

    function onEdit(e) {
      if ([e.range is what I want]){
        [update the slide using Slides.Presentations.batchUpdate]
    }
    
  4. Upon changing the cell, I can see in my G Suite developer HUB an error message Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.

I am very new in this environment and I only wanted to achieve something simple. What am I missing? Do I really need to register new OAuth2 client app in google cloud platform to connect one google product to another?


Viewing all articles
Browse latest Browse all 9712

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>