Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to Refresh a Project Area

Hi,
I'm having some problem to refresh a project data. I modify an Editor presentation using plain api and then save it using an IProjectAreaWorkingCopy object. My modification appears on process configuration editor but if I try to create a new work-item I can't see modification in editor until I refresh the ProjectArea on client.

How can I do it programmatically? Which class/method can I use?

Thanks,
Michele.

0 votes



2 answers

Permanent link
The changes are not visible to the process runtime (and thus to the work items creation user interface) until you save the project area. The configuration editor works off the working copy, but the runtime (and the creation ui) do not.

You must use the saveProcessItems method on IProcessItemService if you are running in the client.

Martha
Jazz Developer, Process component

Hi,
I'm having some problem to refresh a project data. I modify an Editor presentation using plain api and then save it using an IProjectAreaWorkingCopy object. My modification appears on process configuration editor but if I try to create a new work-item I can't see modification in editor until I refresh the ProjectArea on client.

How can I do it programmatically? Which class/method can I use?

Thanks,
Michele.

0 votes


Permanent link
Thank you very much, I'm going to test it.

Best regards,
Michele.

The changes are not visible to the process runtime (and thus to the work items creation user interface) until you save the project area. The configuration editor works off the working copy, but the runtime (and the creation ui) do not.

You must use the saveProcessItems method on IProcessItemService if you are running in the client.

Martha
Jazz Developer, Process component

Hi,
I'm having some problem to refresh a project data. I modify an Editor presentation using plain api and then save it using an IProjectAreaWorkingCopy object. My modification appears on process configuration editor but if I try to create a new work-item I can't see modification in editor until I refresh the ProjectArea on client.

How can I do it programmatically? Which class/method can I use?

Thanks,
Michele.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,940

Question asked: Apr 27 '11, 7:41 a.m.

Question was seen: 5,800 times

Last updated: Apr 27 '11, 7:41 a.m.

Confirmation Cancel Confirm