将远程事件接收器连接到新创建的子站点 [英] Attach Remote Event Receiver to newly created subsite
问题描述
我正在尝试为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屋!