get smartsheet row id by searching column values

爱⌒轻易说出口 提交于 2019-12-11 13:22:30

问题


Is there a way to use the Smartsheet API to search a sheet and get back the IDs of rows where column A = {something} and column B = {something else}?

If this were SQL, it'd be a simple SELECT id FROM sheet WHERE A = 'something' and B = 'something else';

But the documentation for the Smartsheet API makes it seem as if you can only do a blunt text search across the entire sheet.


回答1:


Unfortunately, there is no way to query / filter by specific column values today. This is definitely something we want to add, and it's on the roadmap.

You have two alternatives. One is to do a "blunt text search", as you have discovered. Another is to retrieve the sheet, parse it and identify matches locally. Not as elegant, and more time and labor intensive, but is a viable option.



来源:https://stackoverflow.com/questions/36988057/get-smartsheet-row-id-by-searching-column-values

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!