Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC & RPE: Problem showing values of enumerations for custom attributes

Hi all,
I have created a RPE report for RTC 4.0.2 and it worked fine: the values of a custom attribute based on an enumeration were well decoded and showed in the document report using the RPE displayValue.

Then I have upgrated my CLM to 4.0.6 and the RPE report doesn't work anymore properly: it shows now only the literal values and the attribute values are not decoded.
I.e. before in my report, for the custom attribute "Stato Test", I've got the value "Aperto", while now the value showed in the report is "alm.stato.test.literal.l2".

I have also noticed that before, in the allExtentions query, the desired attribute displyValue was showed, while now it is not showed anymore.

Many thanks

Alberto



 

0 votes



2 answers

Permanent link
Can you try using stringExtensions (or something similar) instead of allExtensions? Ideally the same template should work unless anything is changed in RTC's Reportable REST API.
You can also create a Special Attribute in RPE to retrieve the particular value from Enumerations.

0 votes


Permanent link
Hi Alberto,
Were you able to get the value as expected?

0 votes

Comments

Hi Prasad,
many thanks for the answer.

I had to change my query and so, the RPE code in Template.
I tried using stringExtensions (and all ather ones) but at the end the correct decoding of my literal for the enumeration was showed only using allExtensions and the or ( | ) declaring "displayValue".

I try to better explain me.
Before, in CLM 4.0.2), I got the value of my custom attribute with the Enumeration transcoded, using the query:
https://<CLM_SERVER>/ccm/rpt/repository/workitem?fields=workitem/workItem[id=<WI_ID>]/(///|allExtensions//)

Now (in CLM 4.0.6), I have the value, rightly, decoded using the following query:
https://<CLM_SERVER>/ccm/rpt/repository/workitem?fields=workitem/workItem[id=<WI_ID>]/(|allExtensions/(key|displayValue//*))

Ciao
Alberto

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,025
× 7,503
× 457
× 332

Question asked: May 13 '14, 2:19 a.m.

Question was seen: 7,523 times

Last updated: May 15 '14, 3:51 a.m.

Confirmation Cancel Confirm