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.
Hi all, I have been using webhooks in my nodejs application for awhile and sometime I think my webhook is not receiving the event callback. In my sheet I have a column A, (not editable directly) which is a formula that's calculated using column B. When an user updates column B, column A gets updated which triggers the…
I've completed the authentication process, created a trigger and made sure that the trigger has the right source sheet and event type but I am noticing that I can't get any data from the trigger. My goal is to get the row information when new row is added in my sheet so I can copy some of the data over to another sheet.…
I am trying to create a new Sheet in a specific Workspace using the Smartsheet SDK for C# and I keep getting an unexpected exception The statement above compiles just fine. The Workspace ID (wkspID in the code) is correct. I can create the Sheet just fine locally but the sheet does not have an ID until it is created in…