How can I display the literal value of the Severity field in my query results (RTC)
Accepted answer
If you open your project area in Eclipse client and go to 'Process Configuration Source'(please be cautious to modify any source code, backup first), you will see
<enumeration attributeTypeId="severity" name="Severity">
<literal icon="processattachment:/enumeration/unassigned2.gif" id="severity.literal.l1" name="Unclassified"/>
<literal icon="processattachment:/enumeration/minor.gif" id="severity.literal.l2" name="Minor"/>
<literal default="true" icon="processattachment:/enumeration/normal.gif" id="severity.literal.l3" name="Normal"/>
<literal icon="processattachment:/enumeration/major.gif" id="severity.literal.l4" name="Major"/>
<literal icon="processattachment:/enumeration/critical.gif" id="severity.literal.l5" name="Critical"/>
<literal icon="processattachment:/enumeration/blocker.gif" id="severity.literal.l6" name="Blocker"/>
</enumeration>
if you remove icon such as icon="processattachment:/enumeration/major.gif" from it, something like:
<literal id="severity.literal.l4" name="Major"/>
<literal id="severity.literal.l5" name="Critical"/>
<literal id="severity.literal.l6" name="Blocker"/>
Then save it and refresh the query result, it will show as literal value Major, Critical, Blocker instead of icon.
Thanks
Comments
Thanks for the instruction. Works like a charm.
Hi Don
Note that this a very bad idea, because you actually remove the icon from the enumeration value. This might be possible, even in the other direction to not have an icon for the enumeration literal. The price is an incorrect process XML with potential issues in the future should the tool require the usual format.
Ralph , i didn't removed the icon from the enumeration values, even i had imported new icons in enum and bind those icon with my enum values,
I do not know any built in configuration. I agree that this is something that you would want to be able to control. I would create a case with support. I have not seen a flag or something, where I would be able to influence how the enumeration value is shown.
This is a forum here. I am not support and I will not speak for support. From a support perspective, I would assume this works as designed and does not qualify for a support request. If you want a different behavior, request an enhancement.