none
EPM2007 - Archive Data & Accessing Custom Attributes RRS feed

  • Question

  • Hi;

    We are trying to access Archived Projects data. The project data is there in the archived database, however, there does not seem to be any corresponding PSI call to read the project data from the archived database as we have for the Draft and Published database. The ReadProject method that returns the Project data takes a parameter as to which database you would like to read the project data from i.e. Draft Store, Published Store, Version Store, Reporting Store. However, when we select the Version store as a parameter, it returns an invalid store error.

    Please can you help and clarify how we can programmatically access/read the Project level attaributes for projects in the archived DB.

     


    Regards, PJ Mistry (Email: pj@projectsolution.co.uk | Web: http://www.projectsolution.co.uk | Blog: http://microsoftepmsolution.com)
    Thursday, June 10, 2010 12:54 PM

Answers

  • Hi PJ,

    I'll see if I can find a definitive answer for you on this, as to wether our documentation is incorrect or if there is a way to get this data.  One challenge I can think of is getting the GUID of the right version of the Project.  When projects are archived you can then have multiple versions saved, based on your archive settings.  As each is archived the GUIDs are changed to keep each archived version unique.  Are you taking this into account when reading the Project using the PSI? 

    We certainly don't support this call on the reporting store (documented).

    Best regards,

    Brian


    Blog | Facebook | Twitter | Posting is provided "AS IS" with no warranties, and confers no rights.
    Project Server TechCenter | Project Developer Center | Project Server Help | Project Product Page
    • Marked as answer by PJ Mistry Wednesday, November 3, 2010 4:50 PM
    Friday, June 11, 2010 2:34 PM
    Owner

All replies

  • Hi PJ,

    I'll see if I can find a definitive answer for you on this, as to wether our documentation is incorrect or if there is a way to get this data.  One challenge I can think of is getting the GUID of the right version of the Project.  When projects are archived you can then have multiple versions saved, based on your archive settings.  As each is archived the GUIDs are changed to keep each archived version unique.  Are you taking this into account when reading the Project using the PSI? 

    We certainly don't support this call on the reporting store (documented).

    Best regards,

    Brian


    Blog | Facebook | Twitter | Posting is provided "AS IS" with no warranties, and confers no rights.
    Project Server TechCenter | Project Developer Center | Project Server Help | Project Product Page
    • Marked as answer by PJ Mistry Wednesday, November 3, 2010 4:50 PM
    Friday, June 11, 2010 2:34 PM
    Owner
  • Hi Brian;

    Thanks for your note.  Yes, we are keeping tabs on the GUID of the archived project (using PSI) when listing/retrieval.  When we archive projects programmatically, we mark the archive note i.e. identification that it is custom archived project. The only thing we cant seem to do is to list (read) the archived projects by attributes say Division or Cost Centre etc. Let me know your findings and your thoughts on possible options to overcome this issue.


    Regards, PJ Mistry (Email: pj@projectsolution.co.uk | Web: http://www.projectsolution.co.uk | Blog: http://microsoftepmsolution.com)
    Friday, June 11, 2010 2:47 PM
  • Hi Brian;

    Any news on this? How can we access this info for archived projects?


    Regards, PJ Mistry (Email: pj@projectsolution.co.uk | Web: http://www.projectsolution.co.uk | Blog: http://microsoftepmsolution.com)
    Sunday, June 20, 2010 8:27 PM