在线为我们的共享点开发远程事件接收器有哪些要求(办公室365) [英] What are the requirements to develop a remote event receiver for our sharepoint online (office 365)

查看:68
本文介绍了在线为我们的共享点开发远程事件接收器有哪些要求(办公室365)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开始一个新的sharepoint 365项目.目前,我在管理员内部找到了这些网站:-

我要做的下一步是创建一个新的应用程序目录网站集. Visual Studio 2012 Professional中一个新的sharepoint应用程序.但是我有两个问题:-

1.我应该为下面的URL字段指定什么?在线共享点的应用程序目录网站集?

2.现在我需要在哪里部署远程事件接收器?在应用目录中?还是我需要在外部IIS/Azure内部部署它?还是我都需要?我知道Visual Studio中的远程事件接收器将包含2个项目(SP托管项目和 提供者托管的项目).

任何人都可以指定我需要执行的步骤,以使我的第一个远程事件接收者为我的sharepoint在线项目工作吗?

解决方案

嗨johnjohn123,

您可以提供Office 365开发人员网站的URL,用于调试.

没有"Web"或网站"远程事件接收器类型,只有列表"类型事件接收器在远程事件接收器中可用.远程事件接收器是 默认情况下,SharePoint托管应用程序不支持此功能.要为主机Web列表触发远程事件接收器,我们可以在应用程序安装的事件"中处理主机Web列表.

此处是有关如何逐步创建远程事件接收器的文章,供您参考:

https://blogs.msdn.microsoft.com/kaevans/2014/02/26/attaching-remote -事件接收器在主机网络/

中列出

最好的问候,

Linda Zhang


I am starting a new sharepoint 365 project. and currently i got these sites inside the admin:-

the next step i did is to create a new app catalog site collection.. Then i created a new sharepoint app inside Visual Studio 2012 professional. but i have these 2 questions:-

1. what should i specify for the below URL field ? the app catalog site collection for my sharepoint online?

2. now where do i need to deploy the remote event receiver ? inside the app catalog ? or i need to deploy it inside external IIS/Azure ? or i need both ? i know that remote event receivers inside visual studio will contain 2 projects (SP hosted project and Provider hosted project).

Can anyone specify the steps i need to follow, to get my first remote event receivers working for my sharepoint online project?

解决方案

Hi johnjohn123,

You could provide the URL of your Office 365 developer site to use for debugging.

There is no "Web" or "Site" remote event receiver type, only "List" type event receiver is available in remote event receiver. Remote event receivers are not supported by default in SharePoint hosted app. To fire remote event receiver for host web list, we can handle the host web list in App Installed Event.

Here are articles about how to create a remote event receiver step by step for your reference:

https://blogs.msdn.microsoft.com/kaevans/2014/02/26/attaching-remote-event-receivers-to-lists-in-the-host-web/

https://www.codeproject.com/Articles/1043978/Remote-Event-Receivers-RER-in-SharePoint-Online

Best Regards,

Linda Zhang


这篇关于在线为我们的共享点开发远程事件接收器有哪些要求(办公室365)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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