Poly Track Google Sites [better] May 2026
function getPolyData() const sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet(); const data = sheet.getDataRange().getValues(); return data;
function doGet() return HtmlService.createHtmlOutputFromFile('PolyTrackForm') .setTitle('Poly Track Manager') .setSandboxMode(HtmlService.SandboxMode.IFRAME); poly track google sites
function loadData() google.script.run.withSuccessHandler(function(data) let html = '<table border="1" cellpadding="5"><tr>'; if(data.length > 0) data[0].forEach(h => html += `<th>$h</th>`); html += '</tr>'; for(let i=1; i<data.length; i++) html += '<tr>'; data[i].forEach(cell => html += `<td>$cell</td>`); html += '</tr>'; html += '</table>'; document.getElementById('dataDisplay').innerHTML = html; ).getPolyData(); function getPolyData() const sheet = SpreadsheetApp
Click File → New → HTML file , name it PolyTrackForm . const data = sheet.getDataRange().getValues()