Reporting on custom attributes from RTC in a RPE template
After much investigation I can not find a good example of where a custom attribute was successfully reported in a RPE template. The data schema provides "allExtenstions" which I believe to provide you access to the customer attributed but I have failed in figuring out how to actually report the value of a specific attribute within RPE. Are there any tutorials or examples I can look at?
3 answers
You can use the query workitem/workItem/allExtensions and use a filter or condition (displayName == attrName) to print only the specific attribute. You can refer the the sample template, where I have used a variable attrName, for which you can set the specific attribute name and generate the document.
Another option is to use special attribute in RPE.
You may also refer related question https://jazz.net/forum/questions/175055/how-display-empty-custom-attributes-on-the-reports-rpe
Comments
Perhaps, this will help...
Comments
I believe I have solved this now and appreciate the help on this. What I found is that allExtensions do not in fact hold all custom attributes. I found that only a handful of enumerations were found here and in my tests the ones I was looking for were not. The schema has many other extensions such as stringExtensions or timestampExtensions where the attributes are defined. Certainly make it difficult to find everything but it is possible. Setting the variables and placing a condition statement did work to pull the values for the fields