Search and update row Google Apps Script
Tạo file excel mới tên:Search and update
Xem lại thao tác cơ bản với google sheet ở bài viết Get json data from google sheet
Copy code sau vào Apps Script
Nhớ update id excel ở code DriveApp.getFileById
Deploy và test với action get update và id get,name update kèm theo link
Ví dụ:https://script.google.com/macros/s/AKfycbwJxOW2_BA1yhSHAbllJWO2Ob53-NnP8z4iahkgo7M/dev?action=update&id=1&name=haidaica
Kết quả:
{
"result": "value updated successfully"
}