smartsheet api - All Cell properties null except ColumnId C# SDK -
when retrieving sheet via c# sdk cell values null. there access level api or c# sdk have bug? can column names , id's fine.
smartsheetclient ss = new smartsheetbuilder().setaccesstoken(mytoken).build(); long sheet_id = 0000000000000000; sheet ssheet = ss.sheetresources.getsheet(sheet_id, null, null, null, null, null, null, null); lblfeedback.text = "sheet: " + ssheet.name + " <br>rows: " + ssheet.rows.count.tostring();
that works fine, know i'm accessing sheet want, example column map https://github.com/smartsheet-samples/csharp-read-write-sheet/blob/master/csharp-read-write-sheet/program.cs
however...
cell completedcell = getcellbycolumnname(r, "completed", columnmap); string cellvalue = completedcell.displayvalue;
cellvalue null. cell property, except columnid comes null. doing wrong?
what value in cell?
suggestions:
- in debugger, take @ row object , cells.
- use tool postman make call , examine results
Comments
Post a Comment