none
How to use PSI to create cross-project link RRS feed

  • Question

  • Hi,

    I would like to create task dependencies (links) across projects. 

    I used AddDependencyRow method and input LINK_PRED_UID, LINK_SUCC_UID parameters.

    It showed the below error after I executed the c# program.

    error id="7021" name="TaskNotFound"

    I can run my program successfully if I created inter-project link.

    Then I think I may need to create external task first.

    The taskrow has TASK_IS_EXTERNAL and TASK_EXT_PROJ_UID properties, but it doesn't have TASK_EXT_TASK_UID property.

    Do you have any suggestion?

    Thanks.  

    Friday, July 3, 2015 2:34 AM

Answers

  • Hi,
    sadly you are not able to create cross project links with PSI. In the What the PSI does and does not do document you can find it in the What the PSI does not do section:

    Master projects and cross-project links

    • Creating master projects and inserting subprojects.
    • Scheduling a critical path across a master project.
    • Creating cross-project links.

    I hope this helps you, even if it is not working.

    Friday, July 3, 2015 7:44 AM