Connect with peers, share your expertise, and inspire what’s next in Smartsheet — from proven practices to practical how-to insights from fellow users and product experts.
Sign in to join the conversation:
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.
I tried using the product feedback form but it kept failing so I'm posting here instead. It's possible this is user error but I hope not for my ego's sake :). After the APIs were recently updated, my GET /users API call is only able to return a result of 2000 records in an array per page when I use pageSize as the…
Goal: Power Automate to update SmartSheet Row with "In Revision" Status when selecting "Reject" for my "Wait and Approve" workflow I have a Power Automate approval workflow that is triggered when a Smartsheet row is updated. The approval process works correctly, but I'm trying to handle the Rejected outcome. When an…
Receiving this error every time I try to save a change to a single sheet or access the Automation menu. All other sheets are working correctly. I've tried multiple browsers, clearing my cache, restarting the computer and checking for Smartsheet outages. While I'm actively working on developing the sheet further, there are…