是否可以在sharepoint中自动执行任务的开始和结束日期? [英] Is it possible to automate the start and end date of tasks in sharepoint ?

查看:110
本文介绍了是否可以在sharepoint中自动执行任务的开始和结束日期?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我是SharePoint的新手,我需要设置一个项目管理工具,其中任务的开始日期,结束日期将根据几个参数自动计算。例如,让我们拿一个名为Project A的项目,其中包含任务列表,例如*任务A,任务B,任务C等。任务的开始日期是*项目确认日期+ 1,结束日期是从开始的2天日期。*



*现在,如果创建一个名为项目确认日期的自定义字段,我们可以自动计算任务的开始日期和结束日期,同样还有其他参数对于任务B,C等。这种集合在SharePoint中是否可行?请帮忙。

谢谢和问候,

Goutami

Hi All,
I'm new to SharePoint, I'm having requirement of setting a Project Management tool in which the start date, end date of task to be calculated automatically based on few parameters. For example lets take a Project called Project A which has list of tasks, lets say *Task A, Task B, Task C etc. The start date of Task is*Project confirmation date + 1 and the end date is 2 days from the start date.*

*Now if a create a custom field called Project confirmation date can we calculate the start date and end date of the task automatically, Similarly there are other parameters for Task B, C etc. Is this kind of a set feasible in SharePoint? Please help.
Thanks and Regards,
Goutami

推荐答案

是的在这个场景中,计算列可以是主要用于。以下是适用于计算字段公式的MSDN文章。



如果您正在考虑开箱即用的解决方案,那么计算列是我能说的最佳方法。



如果您正在寻找代码方面的解决方案,您可以为特定列表项事件创建事件接收器,并将列值添加到您的字段项目确认日期的。阅读本文:如何在SharePoint中创建和事件接收器

创建一个简单的事件接收器



希望这有帮助!
Yes in this scenario, calculated column can be used mostly. Here is the good MSDN article for Calculated Field Formulas.

If you are considering out of the box solution then calculated column is the best approach I can say.

If you are looking some solution from code side you can create Event receiver for particular list item event and add the column values into your field Project Confirmation Date. Read this articles: How to create and Event Receiver in SharePoint
Creating a Simple Event Receiver

Hope this helps!


这篇关于是否可以在sharepoint中自动执行任务的开始和结束日期?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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