GAS PropertiesService to Save and Return Sort Order

前端 未结 2 1369
栀梦
栀梦 2021-01-16 01:28

QUESTION

How can I use PropertiesService to store an array from index.html, send the array to code.gs, and re

2条回答
  •  离开以前
    2021-01-16 02:28

    Using google.script.run simple example:

    
    

    Google Script:

    function myFunction() {
      PropertiesService.getScriptProperties().setProperty('MyString', string);
      return "String was saved in Service";
    }
    
    • Client to Server Communication

提交回复
热议问题