将远程事件接收器连接到新创建的子站点 [英] Attach Remote Event Receiver to newly created subsite

查看:91
本文介绍了将远程事件接收器连接到新创建的子站点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为SharePoint Online开发一个加载项,以确保创建的所有文档库都获得我公司的基本内容类型,并删除标准文档内容类型。



我有ListAdded远程事件接收器正在执行此任务。但是我还需要创建任何新的子网站来附加这个事件接收器。



我已经成功地将WebProvisioned事件接收器连接到主机网络,但我似乎无法弄清楚如何将事件接收器附加到刚刚创建的子站点。

解决方案


感谢您的发帖。


这是一个快速通知,让您知道我们正在对此问题进行研究。


 


最好的问候,


Lee


I am trying to develop an add-in for SharePoint Online that ensures all document libraries created get my company's base content type and the standard document content type gets removed.

I have the ListAdded remote event receiver working to do this task. But I also need any new subsites that get created to also have this event receiver attached.

I've successfully been able to attached a WebProvisioned event receiver to the host web, but I can't seem to figure out how to attach the event receiver to the sub-site that has just been created.

解决方案

Hi,

Thank you for your post.

This is a quick note to let you know that we are performing research on this issue.

 

Best Regards,

Lee


这篇关于将远程事件接收器连接到新创建的子站点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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