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
2 answers
Were you able to get the value as expected?
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