远程事件接收器-强制关系 [英] Remote Event Receiver - Mandatory relationship

查看:76
本文介绍了远程事件接收器-强制关系的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好:_)

我试图在SharePoint在线上(主机网和应用网)添加远程事件接收器.

I tried to add Remote Event Receivers on SharePoint online (both hostweb and appweb).

网络服务器"时已关闭,列表在没有接收者的情况下工作正常.

When "webserver" is down, lists work fine without receivers.

在运行Web服务器时,列出呼叫远程事件接收者.

When webserver is running, lists call remote event receivers.

请问:是否可以将有关远程事件接收者的列表设为必填项?

Please can I ask: Is it possible to make list mandatory about remote event receivers?

(例如:当列表项更改但Web服务器关闭时-返回列表项无法更改,远程事件接收器端点不可访问".

(for example: when list item is changed but webserver is down - return "List items cannot be changed , remote event receivers endpoints are not reachable".

用途是所有数据都必须通过RECEIVER,因为存在强制性逻辑. (例如,用户无法更改项目上的某些字段).

Usage is that all data MUST go through RECEIVER, because there is mandatory logic. (for example user cannot change some fields on item).

(在具有传统"事件接收器的sharepoint 2013上,它是强制性的,因为它在同一进程上运行,并且所有数据都必须通过接收器..我尝试在线在sharepoint上执行类似功能)

(on sharepoint 2013 with "traditional" event receivers it was mandatory, because it was running on same process and all data HAVE to go through receiver .. I try to do similiar functionality on sharepoint online)

如果事件接收器端点URL不可用,则事件接收器代码将不会执行."说msdn pnp_articles

"If the event receiver end point URL is unavailable the event receiver code will not execute." says msdn pnp_articles

非常感谢,如果太过抱歉

Thanks alot, sorry if too much

推荐答案

马立克,

据我了解,SharePoint Online的远程事件接收器需要托管在提供商托管的应用程序中,并且需要在应用程序解决方案中创建列表,然后远程事件接收器将处理应用程序中的列表,但是不适用于所有列表 在SharePoint Online中.

As I understand, the remote event receiver for SharePoint Online, needs to hosted in a Provider hosted app and it will need to create a list in the app solution and then the remote event receiver will handle the list in the app, but not for all the lists in SharePoint Online.

由于这个原因,不能使SharePoint Online中的所有列表都必须与远程事件接收器一起使用.

As this reason, it is not available to make all lists in SharePoint Online mandatory to go through with remote event receiver.

一种选择是使用工作流,在工作流中添加逻辑以处理数据.

One option is to use workflow, add the logic in the workflow to handle the data.

谢谢

最好的问候


这篇关于远程事件接收器-强制关系的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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