在批准中心添加Project Server任务 [英] Add Project Server task in the Approval Center

查看:58
本文介绍了在批准中心添加Project Server任务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在进行Project Server集成,其中任务是从外部系统进入项目。

I am working on a Project Server integration where tasks are coming into the Project from an external system.

目前我有代码检出项目,添加任务,检查 - 在项目中然后发布它以便任务可见。

Currently I have the code that checks-out the project, adds the task, checks-in the project and then publishes it so that the task is visible.

但这不太理想,因为可能有PM从事该项目。更好的方法是让新的/更新的任务得到PM的批准。

But this is not ideal as there might be a PM working on that project. A better approach would be to have the new / updated tasks be approved by the PM.

如果你能讨好我真的很感激在这里指导我我正在寻找一种方法将任务添加到  审批中心 使用CSOM。

I would really appreciate if you can please guide me here. I am looking for a way to add tasks to the Approval Center using CSOM.

推荐答案

通过审批中心添加任务意味着您需要通过尝试输入的资源请求将任务添加到项目中通过"任务快速启动"链接更新新时间表或新任务。如果您使用任务更新,
执行此操作,则需要能够再次从资源的角度提交通过新任务向项目添加新任务的请求。我目前知道如何执行此操作的唯一方法是使用状态PSI方法,特别是  Statusing.CreateNewAssignment
方法。

Adding tasks through the approval center means that you will either need to request that a task be added to a project via a resource trying to enter a new timesheet or a new task update via Tasks quick launch link. If you are doing this with Task Updates, you will need to be able to submit a request to add a new task to a project via a new assignment, again from a resource's perspective. The only way I know how to do this currently is to use Statusing PSI methods, specifically the Statusing.CreateNewAssignment method.

以下是指向它的链接:

https://msdn.microsoft.com/EN-US/library/office/gg240915.aspx

https://msdn.microsoft.com/EN-US/library/office/gg240915.aspx

我不知道是否有等效方法对于这个在CSOM中的这个,但我知道它在这种类型的功能方面有一些限制。

I don't know if there is an equivalent method for this in CSOM yet, but I know it has some limitations when it comes to this type of functionality.

我过去使用的另一个建议是简单地通过电子邮件发送给这个人将项目签出后,请在当天结束时重新检查,以便您的程序可以更新它。您可以使用CSOM方法获取有关谁检查了
的信息。用户在没有工作的情况下检查项目(例如,过夜),这是不好的做法,那就是您可以进行更新。只是一个建议。

Another suggestion, which I have used in the past, is to simply email the person that has the project checked out, to kindly check it back in at the end of the day so that your program can update it. You can get the information on who has it checked out with CSOM methods. It is not good practice for a user to have a project checked out while they are not working on it (e.g. overnight), and that is when you can do your updates. Just a suggestion.


这篇关于在批准中心添加Project Server任务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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