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.
You can now create, read, update, and delete reports programmatically via the Smartsheet API. Reports are no longer UI-only — they're a first-class API resource, just like sheets. What's new The Reports API now supports the full object lifecycle: Create reports from API calls — no more manual setup in the UI Read report…
Hey dev friends, We just kicked off a new hands-on learning series for the Smartsheet API Developer Ecosystem: Mastering Smartsheet API. From your first API call to production integrations and the new MCP Server for AI agents — this series covers the full path. Part 1, "Zero to API: Your First Successful Smartsheet…
Here are the error details I received: - Status Code: 500 - Error Code: 4000 - Message: "An unexpected error has occurred. Please contact the Support team at https://help.smartsheet.com/contact for assistance." - Recommendation: "Do not retry without fixing the problem." - Reference ID: db211e48-2fcc-419f-b961-b2d0f8a344b0…