共享点日历​​中的日期提醒 [英] Dated reminders in sharepoint calendars

查看:202
本文介绍了共享点日历​​中的日期提醒的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个部门维护,需要大约每3个月进行一次。维护本身不能自动化(它涉及物理交换主要和备用的网络硬件以验证备用设备是否仍能正常工作)。

I have a departmental maintenance that needs to be done roughly every 3 months. The maintenance itself can't be automated (it involves physically swapping a primary and spare piece of networking hardware to verify the spare is still working correctly).

我可以把这个作为Outlook中的一个经常性的事件,并给它一个两周的提醒窗口,但我不希望它绑定到个人的帐户(如果我或我的一个同事离开公司,我仍然希望提醒去部门)。

I could put this as a recurring event in Outlook and give it a two week reminder window, but I don't want it to be tied to an individual's account (if I or one of my coworkers leaves the company, I still want the reminder to go to the department).

我们正在实施Sharepoint,我的团队有一个维护日历,这似乎是一个可爱的地方。但是,事件似乎没有过期的通知。如果活动更改,您可以设置通知,而且您可以订阅日历并通过Outlook设置通知,但该通知仍然是每个用户的通知。

We're working on implementing Sharepoint and my group has a maintenance calendar, which seems like a lovely place to put this. However, there don't seem to be dated notifications for the events. You can set up notifications if the event changes, and you can subscribe to the calendar and set up a notification via Outlook, but that notification is still a per-user notification.

在这一点上,我可能只是在linux服务器上写一个cronjob来发送提醒,但我想我会问,是否有办法使用所有这些昂贵的协作工具

At this point I'm probably just going to write a cronjob on a linux server that emails a reminder, but I thought I'd ask if there's a way to do it using all these expensive collab tools we're putting in place.

那么,任何想法如何获得与个人用户无关的过期事件的通知?我也欢迎被告知,我的整个采取的问题是假的,只要它涉及一些好的替代品。感谢!

So, any idea how to get notifications of a dated event that is not tied to individual users? I also welcome being told that my entire take on the problem is false as long as it involves some good alternatives. Thanks!

推荐答案

展开Andy的回答( http://www.andrewconnell.com/blog/articles/CreatingCustomSharePointTimerJobs.aspx ),如果你只是把代码发送电子邮件在计时器作业的执行方法

Expanding on Andy's answer (http://www.andrewconnell.com/blog/articles/CreatingCustomSharePointTimerJobs.aspx) if you just put code to send an email in the Execute method of the timer job this doesn't give you anything more than cron.

你可以做的是编写代码来遍历日历(实际上是一个事件列表),发现任何事件很快就会发生并向分配给字段中的任何人发送电子邮件。然后可以从计时器作业执行方法或使用正常的计划任务调用。

What you could do is to write code to iterate through the Calendar (actually an Event List) finding any events due soon and sending email to whomever is in the Assigned To field. This could then be called from the Timer Jobs Execute method or using a normal scheduled task. This will be easier to administer changes than cron and could be used for other types of tasks.

一个链接,让你开始 - 遍历列表中的项目

A link to get you started - Iterate through Items in a List

另一种选择是使用工作流从日历发送电子邮件

编辑 - 由于SharePoint SP2不再工作,因为工作流可以不再自己开始(循环) - 解释和解决方法

EDIT - Since SharePoint SP2 this no longer works as is as workflows can no longer start themselves (loop) - explanation and workaround

这篇CodeProject文章展示了如何开发功能可发送定期提醒

This CodeProject article shows how to develop a feature to send scheduled reminders

还有一个(免责声明 - 我在第一家公司工作)

Yet another option would be to use one of the 3rd party tools that do this (disclaimer - I work for the first company)

  • Pentalogic - SharePoint Reminder
  • Bamboo - Alert Plus
  • BoostSolutions - Alert Reminder Boost

最后,无论您选择哪种方法(自定义代码/工作流程/第三方),您都可能遇到定期事件的麻烦,因为SharePoint不提供一种获得所有出现次数的扩展列表的方法。

Finally - whichever method you choose (custom code/workflow/3rd party) you will likely run into trouble with recurring events as SharePoint doesn't provide a way to get an 'expanded' list of all occurrences.

这篇关于共享点日历​​中的日期提醒的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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