Google Web App google.script.run not working

Issue I have the following .gs: function doGet(e) { return HtmlService.createHtmlOutputFromFile(‘index’) } function goToMaster() { const ss = SpreadsheetApp.getActiveSpreadsheet() const sheet = ss.getSheetByName(‘Master Projects’) sheet.activate() } The goToMaster() function activates a sheet called "Master Projects" When running the function by

Continue reading

How to display values from google script object in html <p>?

Issue HTML code I want to display object values in this form in <p or easier solutions <div class="control-form-id"> <label for="id">Id:</label> <input type="text" name="id" id="id" required> <button type="button" onclick="JSinHTML();" id="search" >Search</button> </div> <div class="serial"> <label for="serial">Serial number:</label> <p id="serial">result</p> </div>

Continue reading