【问题标题】:Check In of file using REST API to Sharepoint 2013 not working使用 REST API 将文件签入到 Sharepoint 2013 不起作用
【发布时间】:2018-10-12 16:56:02
【问题描述】:

我正在使用带有 REST API 的 Javascript 在 Sharepoint 中执行签出和签入文件。对于语法参考,我参考了https://dev.office.com/sharepoint/docs/sp-add-ins/working-with-folders-and-files-with-rest

我收到以下错误:

{
  "error": {
    "code": "-1, Microsoft.SharePoint.Client.InvalidClientQueryException",
    "message": {
      "lang": "en-US",
      "value": "The parameter parameters does not exist in method CheckIn."
    }
  }
}

请找到从 REST CLIENT 发布的请求的屏幕截图。

请注意,在 Sharepoint 2013 服务器中,“as”是收集站点名称,“DocTest”是我上传文件“1.txt”的文档库名称。

【问题讨论】:

    标签: javascript sharepoint sharepoint-2013


    【解决方案1】:

    问题是之间的空间 你

    CheckIn(comment='Comment', checkintype=0)

    参考文档示例

    CheckIn(comment='Comment',checkintype=0)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2014-08-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-10-05
      相关资源
      最近更新 更多