It's all about the answers!

Ask a question

Dynamically mandatory attributes possible?


Nils Kronqvist (4162) | asked Sep 23 '10, 12:46 p.m.
JAZZ DEVELOPER
Is it possible to have attributes be dynamically mandatory based on both WI state and content of other attributes?

We understand that we can create a process pre-condition as described here (https://jazz.net/wiki/bin/view/Main/RTCSDK20_ProcessPreConditionExample) to fail a Save-operation based on whatever conditions we put into the pre-condition. But the question is, can we get dynamical visual indication of an attributes mandatory-ness (the red star), so the user can actually see directly that an attribute becomes mandatory when another attribute fulfils some condition (rather than only the state-based mandatory settings we specify in the process customization)? We're hoping this is possible also in web-ui (without browser refresh) through use of java-script, the question is just where/how to we "inject" this, if at all possible.

Rgs,

/N

2 answers



permanent link
Geoffrey Clemm (29.4k23035) | answered Sep 23 '10, 3:31 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I am not aware of this being possible, so I've submitted work item 133631.

Cheers,
Geoff

On 9/23/2010 12:53 PM, nkronqvist wrote:
Is it possible to have attributes be dynamically mandatory based on
both WI state and content of other attributes?

We understand that we can create a process pre-condition as described
here
(https://jazz.net/wiki/bin/view/Main/RTCSDK20_ProcessPreConditionExample)
to fail a Save-operation based on whatever conditions we put into the
pre-condition. But the question is, can we get
dynamical visual indication of an attributes mandatory-ness (the red
star), so the user can actually see directly that an attribute
becomes mandatory when another attribute fulfils some
condition (rather than only the state-based mandatory settings we
specify in the process customization)? We're hoping this is possible
also in web-ui (without browser refresh) through use of java-script,
the question is just where/how to we "inject" this, if at
all possible.

Rgs,

/N

permanent link
VK L (8177128159) | answered Mar 04 '13, 8:12 a.m.
 Hi All,

            I followed the wiki and enabled the dynamic attribute based on another enumeration value. But the * mark doesnt appear to indicate the mandatory attribute. I am using RTC V3.0.1.1 .

I noticed that this issue is fixed - but is it in a later version of 3.0.1?

Thanks.

Your answer


Register or to post your answer.