DNG RPE How do you publish the text value of an enumeration?
When publishing enumerated attribute data from DNG using RPE the values come out as integer indexes.
|
4 answers
We use literal name instead of value and it prints out the text instead of the number. |
Hello Sean,
This is how I did it; not elegant, but it works for me. "Priority Attr" is a custom attribute
|
^^Thanks for the reply Matt. I was worried it was going to be something complicated like that.
^Thanks Vanessa. That looks like a nice simple solution. I will give that a try.
|
Vanessa's method works well, much neater and lower maintenance than the Case statement.
Thanks!
PS: Note is does NOT display text in the RPE 606 preview; but then again, neither does my method. For me, it only works for a full document generation.
|
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.
Comments
I couldn't find much information at DNG Rest API wiki.
https://jazz.net/wiki/bin/view/Main/DNGReportableRestAPI
Thanks for having a look anyway Kumar