none
Programmatically setting a task to Locked RRS feed

  • Question

  • I would just write a vb script for this within project, but the locked flag is only accessible from PWA.  So we wrote a quick C# application but the DraftTask.IsLockedByManager flag doesn't seem to work.  It almost appears to be a bug.  Can someone point me in the right direction.  We need to lock a task from further input after X happens.  Locked does the trick, but it doesn't seem that you can set it Programmatically. 
    Wednesday, May 27, 2015 10:27 PM

All replies

  • You can't lock anything in Project Pro. Are you sure you're not locking SharePoint tasks in PWA? They are not the same as Project pro tasks.

    Rod Gill
    Author of the one and only Project VBA Book
    www.project-systems.co.nz

    Saturday, May 30, 2015 6:02 AM
    Moderator
  • Hi Rod,

    I have the same question as Def99. Now that it has been 2+ years since. Can you let me know how we can lock the tasks in Project Online for further modification programmatically (if it is available). I would also appreciate if you can let me know if locking can be done using Microsoft Flow.


    Thursday, October 12, 2017 7:15 PM