Can I make attributes read-only based on workflow state?
Hi,
Is it possible to make attributes' editor presentations read-only in certain workflow states? I can see an option to hide things based on state, but the read-only property only allows True, False and Inherit from Attribute. I could make the whole work item read-only using the "Prevent Editing" precondition (com.ibm.team.workitem.advisor.stateBasedModification) but I only want certain attributes to be immutable. The only workaround I've thought of so far is to create a second set of attributes using calculated value providers to mirror the original attributes' values; I can make the second set read-only, and use the "hide" properties to show one set or the other depending on the workflow state. Is there no better way? Andy. |
3 answers
Ralph Schoon (63.5k●3●36●46)
| answered Feb 09 '12, 12:56 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,
as far as I know with 3.0.1.1 you can only hide based on workflow state. Read-only does not have that granularity in the presentation. |
Hi.4.0 is available
Comments
sam detweiler
commented Oct 21 '12, 8:23 a.m.
but I don't think there is any change here.. you can hide, but not make read only by field
|
|
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.