Hello you SeaTablers, I need your swarm intelligence again. I’m building a tool to record working hours. But to start a record I also need the project and the employee. I am trying to use HTTP POST as per the Postman documentation.
The point is you cannot update a linked column with the update_row method. You have to identify the _id value of the record from the linked table and run the update_link call (Links - SeaTable Programming Manual). For that you need the linked column id and the ids of both tables as well.
If you want to add a new value, which is not present in the linked table, you have to add the value to the linked table first.
It is a bit tricky but you will figure it out. The documentation is pretty good.
thank you for the approach AkDk7.
But I don’t have a development environment for the API.
Anything HTTP is available to me. But I took your approach and searched the SeaTable API documentation and found the following. Is this what you mean?
If I understand correctly I have two steps.
First appand a row and leave the columns with the links empty.
Second update this row with the keys for the links. Right?
Complete desperation spreads. AkDk7’s idea was absolutely correct, but the implementation is completely inexplicable to me. Here is the API documentation SeaTable API Reference
Ah, I might be wrong. Have a look into the api reference again. There they say it has to be in curly braces like: "other_table_row_id": "{{row_id_table2}}"