0

I'm trying to work with Javascript code in a Google Apps Script project. I've seen I can create a .html file with the Javascript code. Like this one:

<!DOCTYPE html>
<html>
    <head>
        <title></title>
        <meta charset="utf-8">
    </head>
    <body
        <script>
          function prueba(){
            //code
          }
  
          function prueba2(){
            //code
          }
        </script>
    </body>
</html>

So I want to know:

  1. if it's possible to execute functions in that code and return values from those functions to the .gs file,
  2. If I have to code the .html part as if it was user intended for the final user

I'll use the .gs file to write some info (retrieved from Netsuite) in a Google Spreadsheet file, but I've already done that part.

P CP
  • 21
  • 3

0 Answers0