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?
Sumant Bhattacharya (11●1●1)
| asked Jun 26 '12, 2:15 a.m.
edited Apr 02 '13, 9:02 a.m. by Ralph Schoon (63.3k●3●36●46)
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. |
One answer
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.
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,
|
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.