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

RTC client side save work item pre condition - is it possible ?

Hello to the forums members,

I'm new  to RTC extensions development. I just completed the RTC extensions workshop. I have a scenario requiring that I'll run a pre condition on client side when work item is saved. The pre condition relates to local information on the client side. I see in the "Process configuration" tab in "Project Area" editor that pre conditions for "save work item" can be done only on server side. Is it possible to set such pre condition on client side ? If not, are there any other extensions or other mechanisms I can use for the "save work item" event that may allow blocking the operation before it is sent to server ?

Thanks,
Gidi

0 votes

Comments

After talking to colleagues I am close to reach to the conclusion that this is not supported by RTC. I am trying to reach a somewhat more "modest" goal - add a button to the work item editor. However, it seems that there's no extension point for the work item editor either, only to pages inside the editor. I'd like to add the button at the external upper area of the work item editor, where the save editor is located. Is this supported ?

Thanks,
Gidi


Accepted answer

Permanent link
There is no work item save precondition available on the client side, unfortunately. See https://jazz.net/wiki/bin/view/Main/CustomPreconditionsTable#operations for what extension points are available with hint if it is a client or server extension.
Gidi Gal selected this answer as the correct answer

0 votes


One other answer

Permanent link
I believe it really depends on what you need to do.  For example, we have a couple pre-conditions that run on the client-side and do validation (so they are under Validators and Conditions).  They are written in JavaScript and handle some slightly more complex validation than what is available OOB with RTC.  However, there are limitations and restrictions on what attributes are available on the client-side (for example, I don't believe any Links are available).

Susan

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,950

Question asked: Feb 06 '14, 12:27 a.m.

Question was seen: 4,944 times

Last updated: Mar 18 '14, 8:50 a.m.

Confirmation Cancel Confirm