Hi,
I am trying to use the Smartsheet API to insert a new row which contains regular cells and 'link cells from another Smartsheet'. Currently, I can only do this in two steps:
1. create new row only with regular cells
2. add 'link cells from another Smartsheet' to this new row
API call: "https://api/smartsheet.com/1.1/sheet/sheetId/rows"
row data object:
[{
columnId: columnId1,
value: null,
linkInFromCell: {
columnId: columnId,
rowId: rowId,
sheetId: sheetId,
sheetName: sheetName
}
},
{
columnId: columnId2,
value: null,
linkInFromCell: {
columnId: columnId,
rowId: rowId,
sheetId: sheetId,
sheetName: sheetName
}
}]
If I do them together in a single step, I always reveive this error: "The attribute(s) cell.linkInFromCell are not allowed for this operation."
Is there a way that I can do it in a single step? Thanks for any suggestion or idea.
Best,
Yueying