问题标签 [smartsheet-api-2.0]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
smartsheet-api-2.0 - 如何正确安装 Smartsheet Java SDK 并在 html 中使用它?
所以我正在尝试使用 SDK java 进行网页开发。我有显示我的地图的 html 文件。我想做的是从 Smartsheet 获取我的数据并将这些数据转换为地图上的点。
我想也许 java SDK 是我要下载的文件,所以我采取了以下步骤来下载 java SDK
安装冲泡
使用命令安装 maven
冲泡安装maven
按照https://github.com/smartsheet-platform/smartsheet-java-sdk#install-by-compiling-directly-from-source中的步骤安装 sdk。
当我安装 sdk 时,我的终端出现以下错误:
我不确定这意味着什么,我该如何解决这个问题?
我尝试下载python sdk,它可以工作。我想将代码合并到我的网页(.js 文件)中,但我不确定它是如何工作的。
任何帮助/建议将不胜感激。
python - 如何修复:linkOutToCells[] 不允许用于 update_rows() 操作
我正在使用 Smartsheet Python SDK 并尝试更新 smartsheet 中的行,其中许多要更新的单元格具有指向其他工作表的现有链接。我想用 pandas df 中的数据更新单元格值,同时保持链接完好无损。当我尝试使用新的单元格值更新_rows(但保持原始links_out_to_cells
对象附加到原始单元格)时,我收到 API 错误 1032:"The attribute(s) cell.linksOutToCells[] are not allowed for this operation."
有人知道解决此问题的好方法吗?
这是我的evaluate_row_and_build_updates
函数(传入 smartsheet 行和 pandas df 中的行 - smartsheet 中每一行中的第一个值是为了保留更新)
python - 用于 Smartsheet 的 Python - 获取 _ipython_canary_method_should_not_exist_
全部 - 加载 Smartsheet 客户端时出现此错误我根据要求加载了所有依赖项。我应该修复什么?
导入错误!无法加载 api 或模型类 _ipython_canary_method_should_not_exist_ ImportError!无法加载 api 或模型类 _ipython_canary_method_should_not_exist_ ImportError!无法加载 api 或模型类 _ipython_canary_method_should_not_exist_ ImportError!无法加载 api 或模型类 _ipython_canary_method_should_not_exist_ ImportError!无法加载 api 或模型类 _ipython_canary_method_should_not_exist_ ImportError!无法加载 api 或模型类 _ipython_canary_method_should_not_exist_ ImportError!无法加载 api 或模型类 _ipython_canary_method_should_not_exist_ ImportError!无法加载 api 或模型类 _ipython_canary_method_should_not_exist_ ImportError!无法加载 api 或模型类 _ipython_canary_method_should_not_exist_ ImportError!无法加载 api 或模型类 _ipython_canary_method_should_not_exist_ ImportError!无法加载 api 或模型类 _ipython_canary_method_should_not_exist_
这也是我想要运行的(TOKEN # Garbled)
api - 如何使用 Smartsheet- API 导出 Excel 文件中的特定数据
我试图找出是否可以使用 Smartsheet API 或任何其他方法将特定列数据从 Report Builder 结果导出到 Excel 文件,而不是从中生成的整个列。我是 Smartheet 的新手,如果您需要更好的说明或这种方法是否有任何方法,请告诉我。
c# - Smartsheet API - 未实现文件夹中的列表工作表?
我将 Smartsheet 2.0 API 与 C# SDK 一起使用。我正在尝试遍历文件夹中的所有工作表。但是,我找不到执行此操作的 API 代码。
我尝试了 FolderSheetResources 接口,但 List() 方法甚至没有像其他接口那样实现;例如,WorkSpaceFolderResources。
而且我还尝试了 Folder 对象的 Sheets 属性。
有谁知道如何列出文件夹中的所有工作表?
python - What would be a logical way to put this Smartsheet data in a DataFrame?
My goal is to use the Smartsheet API to take data that is structured just like the data shown below and place it in a pandas.DataFrame object. The issue is that the data has several layers, creating an inconsistent hierarchy.
I'm aware of pandas' MultiIndex class, but the largest struggle is figuring out how to organize the data into an acceptable parameter input.
The Smartsheet API has a helpful "parentid" value in a cell object that tells me that "Subtask #2" is a parent of "Even Smaller Task #1". However, it only provides the immediate parent cell. I know how I could find the "root task" of a particular cell, but organizing the results into a tabular DataFrame is my largest challenge.
Nevertheless, it's a fun challenge! Has anyone experienced a similar problem or have any ideas?
python - 如何将 OverrideValidation 包含到 add_rows 请求 Smartsheet api
我只是在做一个简单的 add_rows 请求,需要将 overrideValidation 设置为 True,这样插入就不会因为 Picklist 列上的拼写错误而失败。
响应:{ status: 400 Bad Request content: { { "errorCode": 5536, "message": "The value \"not a doc\" could not be saved in column \"Prescribing MD\". 此列仅限于仅 PICKLIST 值。", "refId": "195gawcb3hbup" } } {"result": {"code": 5536, "errorCode": 5536, "message": "The value \"not a doc\" could not be保存在 \"Prescribing MD\" 列中。此列仅限于 PICKLIST 值。", "name": "ApiError", "recommendation": "不解决问题就不要重试。", "refId": "195gawcb3hbup ", "shouldRetry": false, "statusCode": 400}}
node.js - Smartsheet API 的 Node.js 查询参数
我正在尝试使用 Node.js sdk 通过include
get-sheet 请求smartsheet.sheets.getSheet(options)发送参数。API 文档对如何include
在 API 调用中添加参数含糊不清。
我在 Smartsheet API 中发现了一篇 Smartsheet 开发人员博客文章Demystifying Query Parameters in the Smartsheet API提供了更多指导,但他们提供的 Node.js 示例代码是无效的 javascript:
在上面的代码中,最后一个include
查询参数将覆盖所有先前的值,您将得到一个options
丢失“附件”参数的变量:
对我来说,显而易见的解决方案是include
采用如下数组:
有什么建议么?
python - Smartsheet 将一行移动到另一张工作表 - Python
我正在尝试将一行从一张纸移到另一张纸上,有人可以帮我吗?请在下面查看我的代码:
先感谢您
smartsheet-api-2.0 - smart sheet api提供的Webhooks,是否有任何oauth auth工作流程而不是HMAC Authentication?
智能工作表 api 提供的 Webhook,是否有任何 oauth 身份验证工作流程而不是 HMAC 身份验证/授权完成