Updating Dropdown using Smartsheet API
Hello,
I currently have a column with a dropdown list type and I'd like for it to be dynamic. I read some past discussions in the community, but I can't seem to find a clear solution when using the API.
How can I use the API to automatically add to the dropdown when a new record is added? Or is there a way to use the API to pull data from a different source and update the dropdown list automatically?
Thank you,
Answers
-
I hope you're well and safe!
Do you have access to Data Shuttle? It can be used instead of the API.
I hope that helps!
Be safe, and have a fantastic week!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Hi Andree, I do not have access to data shuttle currently. We have used Smartsheet API to insert and update rows in Smartsheet, so I need guidance on where in the API documentation I could find to auto update dropdowns.
Thanks,
-
I've made somthing that can read and update dropdown with python
You should take a look a "Update column" in the documentation
My code need to be trigger outside of smartsheet since I have not worked with webhook yet.
Code look something like this
-----------------------------
#Column_Spec
cs=smartsheet.models.Column({
'title':"columnTitle",
'type':'PICKLIST',
'options':listOption,
'index':<columnIndex>,
'validation': True
})
r=smartsheetClient.Sheets.update_column(sheetid,columnsID,cs)
------------------------------
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives