简体   繁体   中英

Is there a way to show the sheet has been updated remotely via the API?

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

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM