Smartsheet API-在同一工作表中复制和粘贴行

问题描述 投票:0回答:1

是否可以使用smartsheet api在单个工作表中复制和粘贴行?我正在使用python。

当我尝试以下操作时(使用相同的工作表ID)

response = smartsheet_client.Sheets.copy_rows(
 <MySheetID>,
 smartsheet.models.CopyOrMoveRowDirective({
            'row_ids': [<MyRowID>],
            'to': smartsheet.models.CopyOrMoveRowDestination({
              'sheet_id': <MySheetID>
            })
          })
        )

我收到以下错误“无法复制或移动同一张纸中的行。”

python copy smartsheet-api smartsheet-api-2.0
1个回答
0
投票

将行复制到临时表,然后将其复制到基础表吗?

© www.soinside.com 2019 - 2024. All rights reserved.