|
A partire da gennaio 2021, i tipi di file classici non potranno più essere utilizzati. È possibile effettuare la transizione dei file classici o scaricare un PDF. Ulteriori informazioni

Malformed Value Error on Script to Update Sheet

0

Commenti

3 commenti

  • Jeff Hickey

    Hi Talia Test,

    Try changing value to "lock" to lock the whole sheet. It is expecting a SheetLockType.

    [
      {
        "op": "replace",
        "path": "/lock",
      "value": "lock"
      }
    ]

    Thanks,
    Jeff

    0
  • Talia Test

    Jeff Hickey Thank you - this worked! Do you know if there is a way to unlock a sheet? I tried using "unlock" and "none" for the value, but no luck...

    0
  • Jeff Hickey

    Hi Talia Test,

    Glad that worked. Yes, to unlock a sheet, pass null value Here is an example body for the request to unlock a sheet:

    [
      {
        "op": "replace",
        "path": "/lock",
      "value": null
      }
    ]

    Thanks,
    Jeff

    0

Accedi per aggiungere un commento.