Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

PSI Custom Field Bulk Update - Steps to call the PSI

$
0
0

Hi

Currently I have on Project Server 2010 like 350 projects on PUBLISH state (Published Database). I need to update a new custom field added using the PSI, and I need your help to see if I'm doing the correct steps or If I'm missing something, please, let me know your comments.

I'm doing the following for each project:

1. projectClient.ReadProject(_ProjectUID, SvcProject.DataStoreEnum.WorkingStore);

2. Update the project field with the changes.

3. projectClient.CheckOutProject(...);

4. projectClient.QueueUpdateProject(...);

5. projectClient.QueueCheckInProject(...);

6. projectClient.QueuePublish(...);

- Do you know if the steps are in the correct order? I'm not sure if the step 5 and 6 are in the correct order... or if I need to execute first the Publish and then the checkout...

- Any suggestions or recomendations about how to execute this process on Production Environment?

I really appreciate your help.

Thanks.


Javier Perez


Viewing all articles
Browse latest Browse all 5347

Trending Articles