Poly Track Google Sites <2K>

This is a great request. "Poly Track" isn't a standard Google Sites feature, so to build it, you’ll need to combine (for the UI/container) with Google Sheets + Google Apps Script (for the tracking logic).

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(); poly track google sites

function doGet() return HtmlService.createHtmlOutputFromFile('PolyTrackForm') .setTitle('Poly Track Manager') .setSandboxMode(HtmlService.SandboxMode.IFRAME); This is a great request

Click File → New → HTML file , name it PolyTrackForm . &lt;script&gt; document

<script> document.getElementById('polyForm').addEventListener('submit', function(e) e.preventDefault(); google.script.run .withSuccessHandler(function(msg) document.getElementById('result').innerHTML = "<p style='color:green'>✅ " + msg + "</p>"; document.getElementById('polyForm').reset(); loadData(); ) .addPolyItem( document.getElementById('itemName').value, document.getElementById('category').value, document.getElementById('status').value, document.getElementById('progress').value, document.getElementById('dueDate').value, document.getElementById('notes').value ); );

Назад
Верх