简体   繁体   English

SharePoint 2013 REST API:触发内容管理器规则

[英]SharePoint 2013 REST API: Firing Content Organizer Rules

I am trying to upload files to a Drop Off Library in SharePoint and then adding metadata to the files to have them properly routed through the Content Organizer.我正在尝试将文件上传到 SharePoint 中的 Drop Off 库,然后将元数据添加到文件中,以使它们通过内容管理器正确路由。 However, after I add all the required column metadata for the content type, the file doesn't get routed or moved.但是,在我为内容类型添加所有必需的列元数据后,文件不会被路由或移动。

I can then go to SharePoint through my browser and simply hit submit on the file's metadata page, and the Content Organizer rules are fired.然后,我可以通过浏览器转到 SharePoint,只需在文件的元数据页面上点击提交,就会触发内容管理器规则。

I am looking for a way to fire the Content Organizer rules through the REST API.我正在寻找一种通过 REST API 触发内容管理器规则的方法。

I know that when viewing Content Organizer settings via SharePoint, that there is a Submission Points section.我知道通过 SharePoint 查看内容管理器设置时,有一个提交点部分。 Are you hitting this exact page with your API call?您是否通过 API 调用访问了这个确切的页面? If you navigate to Site Settings |如果您导航到站点设置 | Site Administration (heading) |网站管理(标题) | Content Organizer Settings you can view the page.您可以查看页面的内容管理器设置。

For more information about the Content Organizer, see here:有关内容管理器的更多信息,请参见此处:

(SharePoint 2010, should still mostly apply for 2013) https://support.office.com/en-us/article/Configure-the-Content-Organizer-to-route-documents-c78a5dc3-672e-4723-9a29-52b8da35a4dc?ui=en-US&rs=en-US&ad=US (SharePoint 2010,仍应主要适用于 2013) https://support.office.com/en-us/article/Configure-the-Content-Organizer-to-route-documents-c78a5dc3-672e-4723-9a29-52b8da35a4dc ?ui=en-US&rs=en-US&ad=US

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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