How to empty objectValue ?

RedSPINE
RedSPINE
edited 12/09/19 in API & Developers

Hello,

I'm using the API to change the predecessors of rows, mostly delete some entries to the predecessors field so I can then safely delete the row that was a predecessor to others.

I assume it works for rows to update them with a new objectValue field that contains the same predecessors as before minus the one I want to delete. But when a row only has this row as predecessor, I can't override the objectValue with an empty new objectValue.

Could you tell me how to do this ?

 

Thank you !

Comments

  • dAVE Inden
    dAVE Inden Employee

    If you want to empty out the current value in a column so that it is an empty cell you can set objectValue to null. Depending on your language it and how it represents null value that may not work. You can also provide an empty pair of quotes ( "" ) for the objectValue attribute's value and it will remove the current value in the column.