I already know the basics of using “appscript to spreadsheet”, but I need the ability to input many rows in one click of a button, I have prepared a list as follows:
(2NA149 20 2 KARATAN Because Broke
TA0810 15 2 BENGKOK Because Broke
TA0830 20 2 KARATAN Because Broke )
maybe the first thing is how to make a list recognized by appscript.
I want to ask how to correctly write a “list”, whether what I showed first is the correct writing of a list, and how to write a list that can be used to run the appscript “script” input to a spreadsheet of many rows in one click, which means the list must be in line-by-line format. sorry the writing confused you
Thank you for your participation in helping me find a solution, but your answer is clear, what I want is a dictionary block technique to create a JSON format that matches what I showed above.
I have created it in JSON format as above. The next step is to send it to AppScript and process it, then the data will be input into the spreadsheet according to the dynamic form.
the above provided script is to send the datas as a list and not as json… By the way why do you want to make it as json? using this block (alike) you can make a list and send it to the script url. It will take care of the remaining
I’m still a beginner so I’m trying any method that can send multiple rows of data in one click, before that the user can select the data and edit the data, until it is finally sent to the spreadsheet at once based on the relevant rows with dynamic components (UI). so do you have any suggestions and please provide technical answers in the form of your genius block.