Is there a way to show the sheet has been updated

2019-09-06 08:36发布

When Smartsheet is updated by another used using the GUI, another user viewing the sheet will get visual notification that the sheet has been updated - requiring a save and/or refresh.

Is there a way to trigger this functionality from the API. I'm using the Python SDK 2.0 and Python 3.5

Thanks.

Craig

2条回答
孤傲高冷的网名
2楼-- · 2019-09-06 09:11

The GUI indicator will eventually alert you to a change regardless of where the update came from. Sometimes, that change can be a little delayed in the UI itself though.

查看更多
别忘想泡老子
3楼-- · 2019-09-06 09:24

The sheet version is incremented every time the sheet changes. You can use get_sheet_version(sheet_id) to get a baseline version, then check again to see if it has changed. This is a very lightweight call.

Alternatively, the native Smartsheet REST API supports Webhooks to provide a callback when a sheet is changed. But this requires that you have a web server running and isn't wrapped by the Python SDK.

查看更多
登录 后发表回答