SharePoint Designer内容类型工作流为MS Project同步任务返回空白的截止日期 [英] SharePoint Designer content type workflow returns blank Due Date for MS Project Syncronized tasks

查看:78
本文介绍了SharePoint Designer内容类型工作流为MS Project同步任务返回空白的截止日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个与MS Project同步的SharePoint任务列表.任务列表使用自定义内容类型和相关的可重复使用的工作流程.当我从内容类型(可重复使用)工作流程中登录或查找任务到期日期"时, 得到一个空白日期(1/1/0001).但是,如果我从任务列表上运行的列表工作流中登录或查找任务到期日期",则会得到正确的到期日期".

I have a SharePoint task list that is synchronized with MS Project.  The task list uses a custom content type and associated reusable workflow.  When I log or look up the task Due Date from the content type (reusable) workflow I get a blank date (1/1/0001).  However, if I log or look up the task Due Date from a list workflow running on the task list I get the correct Due Date.

我将使用此内容类型/工作流来创建/同步多个任务列表,因此我宁愿不必在每个任务列表中创建/维护工作流.如何使可重用的工作流识别正确的到期日期?

I'm going to be creating/synchronizing several task lists using this content type/workflow so I'd rather not have to create/maintain a workflow in every task list.  How do I get the reusable workflow to recognize the correct Due Date?

推荐答案

嗨DyerRJ,

Hi DyerRJ,

我已转载您的问题.我使用自定义内容类型和关联的可重复使用的工作流程创建任务列表.当我从自定义内容类型记录任务到期日期时,我也得到一个空白日期 (1/1/0001).当我为此自定义内容类型创建新的日期列时,它会返回正确的日期.

I have reproduced your issue. I create a task list using a custom content type and associated reusable workflow. When I log the task Due Date from the custom content type, I also get a blank date (1/1/0001). When I create a new date column for this custom content type, it returns correct date.

有两种方法可以解决此问题.

1.转到网站设置>在网站列中,编辑到期日期"列,然后选择今天的日期"作为默认值(您也可以将日期指定为默认日期).


2.转到网站设置>网站栏,创建一个新的日期栏.然后转到网站设置>网站内容类型,编辑您的自定义内容类型,然后在其中添加新的日期列.您可以使用 此新日期列,而不是任务列表中的默认截止日期"列.

2. Go to Site settings > Site columns, create a new date column. Then go to Site settings > Site content types, edit your custom content type and add the new date column into it. You can use this new date column instead the default Due date column in the task list.

最好的问候,

艾伦·白


这篇关于SharePoint Designer内容类型工作流为MS Project同步任务返回空白的截止日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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