使用CSOM设置前任的前导/滞后 [英] Setting Lead / Lag on a predecessor using CSOM

查看:68
本文介绍了使用CSOM设置前任的前导/滞后的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用CSOM代码在任务2上设置前置任务。前一个是"1FS + 10days" 

I want to set a Predecessor on Task 2 using CSOM code. The predecessor is "1FS + 10days" 

我目前卡住了,因为我找不到任何设置"提前期"的方法。使用CSOM。 

I am currently stuck as i can't find any way of setting "Lead time" using CSOM. 

这是关于DraftTaskLink类的MSDN页面

This is page from MSDN on DraftTaskLink Class

http://msdn.microsoft.com/en-us/library /microsoft.projectserver.client.drafttasklink_di_pj14mref_members(v = office.15).aspx

http://msdn.microsoft.com/en-us/library/microsoft.projectserver.client.drafttasklink_di_pj14mref_members(v=office.15).aspx

另一方面,似乎有可能(虽然不太确定)通过PSI

On the other hand, it seems possible (not too sure though) through PSI

http://msdn.microsoft.com/en-us/library/websvcproject.projectdataset.dependencyrow_di_pj14mref_members(v = office.15).aspx

http://msdn.microsoft.com/en-us/library/websvcproject.projectdataset.dependencyrow_di_pj14mref_members(v=office.15).aspx

这是一个限制吗CSOM?如果有的话,是否有专门提及此的文件?

Is this a limitation of CSOM ? If so, is there a documentation which specifically mention this ? 

Hammad Arif EPM建议博客

Hammad Arif EPM Advice Blog

推荐答案

好奇,如果你有任何地方有这个。我不是试图设置这些值,但我试图获得它们并且似乎没有办法。通过PSI可以实现CSOM解决方案。
Curious if you ever got anywhere with this. I'm not trying to set these values, but I am trying to obtain them and there doesn't seem to be a way. It is possible through PSI, need a CSOM solution.


这篇关于使用CSOM设置前任的前导/滞后的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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