It's all about the answers!

Ask a question

RTC Enumerations: Ability for Tester to Add a Value


MK Skelton (25315) | asked Dec 20 '17, 12:31 p.m.
retagged Jan 05 '18, 4:59 p.m. by Ken Tessier (84117)

Hello,

I am overseeing the migration of CQ & CC to RTC. 

For RTC, IBM has informed me that RTC enumerations do not allow adding values by users. I am looking for alternative solutions to allow this (e.g., member roles, permissions, using an alternative to an enumeration).

In CQ v8.0.1.9, there are a couple of enumerations (menus) that our team members can add a value when needed. 

Thanks

Accepted answer


permanent link
Matt Muller (59813674) | answered Dec 20 '17, 12:45 p.m.

Matthew,

I looked into a concept for this a few years ago, but did not apply into production so what IBM say maybe true. I was able to add in a New Enumeration list and then specify the Enumeration attribute.

When you add in the new enumeration attribute presentation in Eclipse click the "Allow to add new Literals"

I didn't take the concept into production and I'm not sure if this is supported by IBM.

Anyway - something to think about.

Also you have another option of driving the list using scripting https://jazz.net/wiki/bin/view/Main/AttributeCustomization#API_Example

Script Based Value Set Note: You can find general information about script-based attribute customization in the Using scripts for attribute customization section.

You may provide custom value sets using scripts. Values which are permitted for an attribute must be explicitly included in the returned value set.

Here is a skeleton for implementing Value set providers using a script:

dojo.provide("org.example.workitems.providers.ValueSetSkeleton");

(function() {
dojo.declare("org.example.workitems.providers.ValueSetSkeleton", null, {

    getValueSet: function(attributeId, workItem, configuration) {
        var result= [];
        result.push("a");
        result.push("b");
        return result;
    }
});
})();

Regards

Matt

MK Skelton selected this answer as the correct answer

Comments
MK Skelton commented Dec 20 '17, 1:23 p.m.

Yeah, I'm leery of allowing it into PROD as well and IBM did confirm yesterday after researching this that it is not an existing an option.  I may submit a RFE for this, but in the meantime, thanks you for this solution :)

One other answer



permanent link
Matt Muller (59813674) | answered Dec 21 '17, 6:53 a.m.

Another option for you to consider and I think this meets with all your requirements:

Configuring an HTTP filtered value set provider

https://www.ibm.com/support/knowledgecenter/SSYMRC_6.0.5/com.ibm.team.workitem.doc/topics/t_configuring_http_filtered_value_set.html

Regards

Matt

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.