Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
if (UpdateGoogleSheet.clicked) {
    var eid = EId.value; // Unique key in the Google Sheet row
    var headers = {“user”"user": ” < google id > ”,”password”: ” < access token > ”"<google id>","password":"<access token>"}’;
    var updatequery = ‘/google/spreadsheets / update / key / < spreadsheetkey > ? wsname = /<spreadsheetkey>?wsname=Locations & query = employeeid = ”‘+eid + ‘”‘;
    var updateparams = ‘ & updates = location = ’+Location.value + ‘,
        extension = ’+Extension.value;
    eval(‘x = ’+http.put(updatequery + updateparams, null, headers, false));
}

...