It's all about the answers!

Ask a question

hide a certain attribute depending on the selection of an enumeration


Georges Oneissy (53522) | asked Jun 18 '15, 4:31 p.m.
 Is there a way to hide a certain attribute depending on the selection of an enumeration?
For example if literal 1 is selected I want to hide attributes A and B and if literal 2 is selected I want to show A and B
Is there a way to do that?
Thank you,
Georges

Accepted answer


permanent link
Ralph Schoon (63.3k33646) | answered Jun 19 '15, 2:09 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Jun 19 '15, 2:09 a.m.
 No,

you can use a condition to make the attribute read-only, but there is no hide on condition precondition. 
Georges Oneissy selected this answer as the correct answer

Comments
Georges Oneissy commented Jun 19 '15, 2:13 a.m.

 Dear Ralph,

Thank you for your continuous support. Can you please elaborate on how to do this?
Thank you
Georges


Ralph Schoon commented Jun 19 '15, 2:18 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 See https://jazz.net/wiki/bin/view/Main/AttributeCustomization and 


Create a condition. The condition reads the enumeration and based on that value returns true or false.
Configure the condiotion for the attribute in the operational behavior - add the precondion read-only on condition.

Your answer


Register or 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.