How to do automatic checkin when a project is published? RRS feed

  • Question

  • Hi,

    Environment: Project 2010 on 32bit Windows XP professional environment.

    We have created a custom Add-in for Project 2010 environment. We have a requirement to automatically checkin the project after it gets published.

    To achieve this we are listening the Application_JobCompleted event and checks for the JobType = 24 (publish event) and calls the

    this.Application.FileCloseEx(parameters) method to checkin the project.

    However some of the time, the publish event is not getting trapped. i.e. project gets published by the event does not appear in the add-in. Any ideas why? Or is there a better way to do this through the Add-in Code.

    Note: We have publish the project through our custom UI code in the add-in and not through the default publish button of MPP.

    Any help will be much appreciated.


    NK Srinivasan


    Thursday, December 23, 2010 6:47 PM

All replies