无法在Sharepoint 2013 Onprem站点中声明/取消声明记录。 [英] Unable to Declare/undeclare record in Sharepoint 2013 Onprem site.

查看:94
本文介绍了无法在Sharepoint 2013 Onprem站点中声明/取消声明记录。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正试图使用​​CSOM代码在sharepoint Record Library中取消声明。

we are trying to undeclare records in sharepoint Record Library using CSOM code.

我们收到的误差低于此值。

we are getting below error.

无法找到id为"{ea8e1356-5910-4e69-bc05-d0c30ed657fc}"的类​​型的存根。指定的服务器可能不支持此操作中使用的API。

相同的代码适用于在线但不适用于Onprem 2013站点。请参阅以下代码。

same code is working for Online but not working for Onprem 2013 site. Please see the below code.

                   var list = srcContext.Web.Lists.GetByTitle(" Record Library");

                     var item = list.GetItemById(1);


推荐答案

您好

CSOM可能在线工作但不能在本地工作。

It is possible that CSOM work for online but not work for on premise.

您介绍哪个库?如果您正在开发SP2013代码,请参阅SharePoint 2013客户端库,但不能参考最新的CSOM。

What library do you refer? If you are developing your SP2013 code, please refer the SharePoint 2013 Client Library but not the latest CSOM.


这篇关于无法在Sharepoint 2013 Onprem站点中声明/取消声明记录。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆