Display an external RPE variable as an enumeration with predefined values
Is there a way to display (to the user in RPE Launcher) an external RPE variable that has a predefined set of enumerated values?
One answer
If you are trying to get the "Priority" values in the dropdown, you can select "Edit Configuration Metadata..." for the variable. Set
Request URL: https://<server>:9443/ccm/rpt/repository/workitem?fields=workitem/workItem/priority/name
Identifier: /workitem/workItem/priority/name
Display: /workitem/workItem/priority/name
However, the priority values for each WorkItem will be shown (and hence there will be duplicates).
Please refer these links:
https://rpeactual.com/2015/12/18/configuring-rpe-template-to-generate-documents-from-rtc/
https://rpeactual.com/2014/08/18/rpe-configuration-layer-or-docgen-configuration-made-simple/
https://jazz.net/forum/questions/241968/rpe-template-on-rtc-configuration-metadata-for-variables
Another option is to create a dialog / GUI with Java. The value from the drop down can be assigned to RPE variable. Please refer the discussion at
https://www.ibm.com/developerworks/community/forums/html/topic?id=7d67a781-faa8-4e84-93a5-55ba37ec78ee&ps=25
https://www.ibm.com/developerworks/community/forums/html/topic?id=eb08b86b-f044-47d9-99f6-9e88a3ceb475&ps=25