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