Welcome to the Smartsheet Forum Archives


The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.

Smartsheet API linkInFromCell

Yueying Cui
edited 12/09/19 in Archived 2015 Posts

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

 

 

 

Comments

This discussion has been closed.