Update Project custom field through RRS feed

  • Question

  • Hi 

    I have custom field as an project attribute ((Project Type) Value = 'A') and there are 200 projects in the Project Server 2010. I would like change the custom field (Type value )value 'A' to 'B' of 150 projects through SQL Query.

    It is a laborious job to open each project through PWA update the field and then save, publish and check-in, instead i would like to directly update into database. 

    How can i acheived through SQL Query.




    Tuesday, February 23, 2016 6:59 PM

All replies

  • There is no supported way to do that via SQL query. Programmatically, you need to use PSI or CSOM, but as this is a once off task by far the quickest is to use VBA to open the projects, change the value then save, publish and check-in. It won't be quick, as the macro will need to do it one project at a time, but it will work.

    Rod Gill
    Author of the one and only Project VBA Book

    Tuesday, February 23, 2016 7:39 PM
  • This can be done using a Bulk Edit tool such as this one:

    Or this one:

    If you are using 2010 I am not sure that one would work but you could try to find an older version.

    Good luck

    Ryan Darby

    Friday, February 26, 2016 5:07 AM
  • Direct update in through SQL query is neither recommended nor supported by MS as PS DB schema is very complex and change done in one place needs to be done at other places as well because of different references through manual query update we can not expect it.So,you can create a custom utility based on PSI which will give you a list of projects first and then you can update the custom field  value for multi selected projects.After update,a call to 'Publish' queue would ensure that change in value is updated in all required places in DB.

    This needs obviously a big development effort.For your reference,PFB the URLs which might help you -

    To read custom field values -

    PSI reference -


    Ashish Tyagi

    Friday, February 26, 2016 1:04 PM