Hi,
I am the primary column id. I want to iterate over rows and get cellvalues of the primary col in python.
for MyRow in my_sheet.rows:
After this is there any direct function to get the cell value using parameters MyRow.id,primary_col_id?
Thanks
The primary column is noted in the column objects of the columns array on the sheet object. It isn't noted in the cell objects for the rows. There isn't a function to get the cell value of the primary column for each row.
To get this data I would first do a get_sheet request to get the full data of the sheet. You can then loop over the objects in the columns array checking for if there is a primary attribute and if it is true. That will help you get the columnId of the primary column.
Next you can do another get_sheet request and provide the column id of the primary column to the column_ids argument for the get_sheet method. This will return back the data o the sheet with only showing data for the primary column. You can then iterate over the rows array and pull out the cell for each row to get the data of the primary column.
Hello, I am unsure of the feasibility of this goal but am hoping someone could provide some insight. Within my organization we have the following structure Workspace → Workspace → Folder. Within this folder we have additional folders that are added through an API integration we have setup. I am hoping we would be able to…
Hi, I have a large Smartsheet, I want to generate a row report that reduces information displayed down to a specific group. For that Row Report, if I were to generate an API token and share it to a third party, will that third part have access to the information on the original 'Grid' sheet, or will it be reduced to what…
Up until last week, the totalPages and totalCount parameters functioned as expected when performing a simple GET call to /sheets. If there were 150 sheets, then it would show "totalPages": 2, "totalCount": 150. As of Friday of last week, it seems like it is showing "totalPages": 1, "totalCount": 100 any time there are more…