远程事件接收器未在主机Web列表上触发ItemAdded事件 [英] Remote Event Receiver not firing for ItemAdded event on the host web List

查看:66
本文介绍了远程事件接收器未在主机Web列表上触发ItemAdded事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello All,

Hello All,

我正在使用IProvisioningExtensibilityHandler接口的AttachListRemoteEventReceiver方法将事件接收器附加到异步事件的主机Web列表中。事件接收器已附加到列表但它没有触发。根据
以下的帖子App_Installed是实现这一目标的正确位置。出于某种原因,我们希望避免使用此事件。

I am using AttachListRemoteEventReceiver method of IProvisioningExtensibilityHandler Interface to attach the event receiver to the Host Web list on an Asynchronous event. Event receiver is getting attached to the list but it is not firing. According to below post App_Installed is the right place to achieve this. For some reason we want to avoid using this event.

https://social.msdn.microsoft.com/Forums/office/en-US/53f9fd63-19c7-4fd4-b9b2- cdfbb46482ad / can-i-create-a-remote-event-receiver-for-an-existing-sharepoint-list-that-isnt-of-my-app?forum = appsforsharepoint

https://social.msdn.microsoft.com/Forums/office/en-US/53f9fd63-19c7-4fd4-b9b2-cdfbb46482ad/can-i-create-a-remote-event-receiver-for-an-existing-sharepoint-list-that-isnt-part-of-my-app?forum=appsforsharepoint

有人可以帮我解决这个问题吗?

Can some one help me on this issue?

推荐答案

如果您不想使用App Installed将远程事件接收器添加到主机Web,请尝试使用PowerShell手动附加它。

If you don't want to use App Installed to add remote event receiver to host web, please try to use PowerShell to attach it manually.

function addListItemRemoteEventReceiver([Microsoft.SharePoint.Client.ClientContext]


context,[string]
context, [string]


listName,
[Microsoft.SharePoint.Client.EventReceiverType]
listName, [Microsoft.SharePoint.Client.EventReceiverType]


这篇关于远程事件接收器未在主机Web列表上触发ItemAdded事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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