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

how to allow editing an attribute (ie. Field) in the first visit to a State but hide it for any subsequent visit to the same state?

Below is a scenario required in an RTC (Work Item) Workflow.
1. To reach the State="In Review By Client", the custom attribute='Date Provided to Client" (type=timestamp) is set to be mandatory.
2. Once saved the Date Provided to Client gets hidden away such that no one can ever update this field.

Is Step #2 possible?

One option is to 'hide' the attribute for all other States except when State="In Review By Client". However, this means that once the workflow returns to this state ("In Review By Client"), the field will become visible again, and also become editable.

1

0 votes



One answer

Permanent link
In RTC 4.0 you can have dynamic read only attributes, where an attribute cannot be modified if some condition is true. You can see how to do this in the following video:  http://www.youtube.com/watch?v=9g8GHz6CxKQ. You can also read about dynamic read-only attributes here.

This does not hide the attribute, but if keeps it from being editable once it is set.

1 vote

Comments

  Hi, I have installed RTC 4 and i followed the step indicated in the article, i tested it on the rtc client for eclipse and  it works, but when I tested on Firefox and Internet explorer doesnt work, do you know why this might be happening?

Nicolas,

I have seen a similar effect with a colleague, where the Eclipse client had a different behavior than the web UI in a similar context. This might be a know defect. Feel free to file a defect here: https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWelcome

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
× 6,121

Question asked: Jun 26 '12, 2:15 a.m.

Question was seen: 5,909 times

Last updated: Apr 02 '13, 9:04 a.m.

Confirmation Cancel Confirm