It's all about the answers!

Ask a question

Saving a custom enumeration in RTC 3.0.1.4 with no default value


Simon Mayell (2677) | asked Jan 16 '13, 6:42 a.m.
We are using RTC with a new work item to manage contracts for segments of work. As a result there are a number of enumerations and these enumerations are mandatory going into certain states. However for each of these enumeration we have to assign a default value in order to save the enumeration before adding it to the presentation.

However when the process is utilised by end users we want to ensure that the mandatory enumeration fields have no default value and therefore a value is selected such that users do not skip the process. Is this possible?

Accepted answer


permanent link
Lauren Hayward Schaefer (3.3k11727) | answered Jan 16 '13, 6:57 a.m.
JAZZ DEVELOPER
Hi Simon,
When configuring your enumeration, you can set the Unassigned Literal to the same literal as your Default Literal.  This means that the default really represents an unassigned value, so, if the enumeration is required, the user will have to select some other literal.
Daniel Toczala selected this answer as the correct answer

Comments
Simon Mayell commented Jan 16 '13, 7:19 a.m.

Hi,

Thanks for your reply. That has solved the problem. So the unassigned value/default value can no longer be selected and saved. We have created a new data option in each enumeration to act as the unassigned and default value called "please fill in" so the users have to select one of the other options when saving.

Thanks again.


Lauren Hayward Schaefer commented Jan 16 '13, 7:20 a.m.
JAZZ DEVELOPER

I'm happy that's working for you!

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.