I have been reading the SDK for Smartsheet and can't find support for how to populate a cell in a Contact List type column programmatically given the name of a person in the contact list (language C#).
I have line of code that builds the cells, I then add that to a new Row and push to a sheet using AddRows() method. I am able to write to other columns but I can't get the Contact List Column to populate. The data I have is the name of the contact.
string pComment = "Some comment." ;
Contact pContact = "Name"; //I have tried other object and primitive types here but none work.
Cell[] cellsA = new Cell[] {
new Cell.AddCellBuilder(6812313465448324,pComment).Build(),//Comments Cell
new Cell.AddCellBuilder(1745763884656516, pContact).Build(),//Contact Cell
};
//Create Row and add Cells
//Push new Row to Sheet with Sheet ID
//Error
The error comes when adding the Row to the sheet. Does anyone know how to successfully populate the Contact List cell with a contact (assuming the contact exists) by using the name as a string?
I have read other post but none have helped me solved the problem.
-Thanks in advance.