Sharepoint 日历中的日期提醒 [英] Dated reminders in sharepoint calendars

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

问题描述

我需要大约每 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!

推荐答案

扩展安迪的回答 (http://www.andrewconnell.com/blog/articles/CreatingCustomSharePointTimerJobs.aspx) 如果您只是在计时器作业的 Execute 方法中放置发送电子邮件的代码,那么这不会给您带来更多好处定时任务.

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.

您可以做的是编写代码来遍历日历(实际上是一个事件列表),找到任何即将到期的事件,并向分配给"字段中的任何人发送电子邮件.然后可以从 Timer Jobs Execute 方法或使用正常的计划任务调用它.这将比 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

另一种选择是使用执行此操作的第 3 方工具之一(免责声明 - 我为第一家公司工作)

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

最后 - 无论您选择哪种方法(自定义代码/工作流/第 3 方),您都可能会遇到重复事件的麻烦,因为 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.

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

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