Help

Re: Set link when creating new record not working

Solved
Jump to Solution
614 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Christian_L
6 - Interface Innovator
6 - Interface Innovator

Hi,

I try to set a link within the same command, that created a new record. The createRecordAsync command works as long as I set all other attributes, except the one with a link (the red line). As soon as I add the red part, I get the error message - see screenshot. Can anyone help me please with that?

 

let newrecord_miete = await table_tacs.createRecordAsync({ 
                    "TAC_Date": per_positive_tac.getCellValue("TAC_Date"),
                    "Bank Account": per_positive_tac.getCellValue("Bank Account"),
                    "TAC_Amount": active_bruttomiete,
                    "TAC_Source": per_positive_tac.getCellValue("TAC_Source"),
                    "TAC_Description": "Bruttomiete: " + per_positive_tac.getCellValueAsString("TAC_Description"),
                    "TAC_GUID": per_positive_tac.getCellValueAsString("TAC_GUID"),
                    [nameImmo]: [{id: active_immo}],
                    "checked_tosplit": 1
                })

thank you!, best regards, Chris

1 Solution

Accepted Solutions
Sho
11 - Venus
11 - Venus

Hi @Christian_L ,

Which type of field is [nameImmo]?
It does not seem to be a "link to another table" field.

See Solution in Thread

2 Replies 2
Sho
11 - Venus
11 - Venus

Hi @Christian_L ,

Which type of field is [nameImmo]?
It does not seem to be a "link to another table" field.

Christian_L
6 - Interface Innovator
6 - Interface Innovator

Dear @Sho so easy the solution, thank you; it looked like a link; but it was a lookup... I created a link and now it works..