特定管理路径下的每周摘要的自定义警报UI?

编程入门 行业动态 更新时间:2024-10-12 05:56:03
本文介绍了特定管理路径下的每周摘要的自定义警报UI?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想仅针对每周摘要自定义警报电子邮件用户界面,并且仅针对特定管理路径下的网站集自定义警报电子邮件用户界面。这可能吗?目前每周摘要电子邮件很长 - 实际讨论列表及其回复在电子邮件中发送。我希望能够仅提供所有讨论主题的链接,其中任何内容在该周发生了变化。这是为了简化电子邮件,让用户通过点击链接访问该网站。

I want to customize the alert email User Interface ONLY for Weekly summary and ONLY for site collections under a specific managed path only. is this possible? Currently the weekly summary email is very long - the actual discussion list and its replies are sent in the email. I want to be able to only provide links of all discussion topics where anything has changed in that week. This is to make the email simple and make the user to visit the site by clicking the link.

推荐答案

要自定义电子邮件提醒模板,可以使用IAlertNotifyHandler类来实现:

For customize the email alert template, could ovrride IAlertNotifyHandler class to achieve:

如何:使用IAlertNotifyHandler自定义警报电子邮件

通过警报处理程序捕获和修改SharePoint警报

对于特定的托管路径,我理解,您只想为某些网站集自定义电子邮件模板,然后在代码逻辑中,您可以检查SPSite.Url属性,如果它包含特定的站点名称,然后继续自定义代码。

For specific managed path, I understand, you want to customize the email template only for some site collections, then in the code logic you could check the SPSite.Url property, if it contains the specific site name, then do continue customize code.

谢谢

最好的问候

更多推荐

特定管理路径下的每周摘要的自定义警报UI?

本文发布于:2023-11-27 22:08:46,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1639786.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:自定义   警报   路径   摘要   UI

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!