What setup is needed to create RPE report resources for CCM/QM 4.0.2?
Could not load template C:\Windows\TEMP\reports_....../template.dta Error is:
(no error listed).
Is there something we need to configure on the CCM or RQM server side to enable RPE report generation? I couldn't find any documentation describing setup. What version of RPE is supported with RTC 4.0.2?
We can generate the RPE based reports that come with RM, but haven't been able to upload and run any custom templates for RTC or RQM.
Thanks in advance for any help/pointers.
Jamie.
2 answers
You need not configure anything in CCM or RQM server. You can use any version of RPE Studio (for example, RPE 1.2.1 Studio) and create a template (.dta file). You also need to do metadata configuration for the data sources / variables before you upload it (using create resource option) into RQM or RTC.
You can refer these:
http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m2/topic/com.ibm.rational.rrdg.usage.doc/topics/t_author_docstyle_report.html
https://jazz.net/library/article/1137
If you still face issues/get errors, you can mail your .dta file to me so that I can have a look.
Regards,
Prasad (subprasad@in.ibm.com)
Comments
Please set Template Version to "Template version 1 (RPE 1.2.2.2 and older)" while creating the template. As Alanna Zito mentioned, version 2 template does not work with 4.0.2.
Thank you for the responses. Part of my problem was the template version. I made a new template with version 1 and things are better. I am still having problems getting things to run correctly. When we run templates against CLM, we have to use OAuth for our authentication. When running the RPE template from RTC, I am now getting the following error:
Can not redirect to the OAuthentication identify URL. If I take the URL that is included in the error output to a browser, it works fine. How can I get around the OAuth issue? I don't see anyway to configure the data source to use OAuth in just the .dta file. Do I need to associate a .dsx file that is configured for the server?
Also, I have tried to configure a variable to have the user supply a work item id. I set the configuration metadata to try and let the user browse for a work item ID, but that doesn't seem to be working (probably the OAuth issue)
Thanks again for the help,
Jamie.
Does the template contain Data Source Configuration elements? To run a template containing dynamic data sources, you need to do some additional configuration. This is documented in the CLM help.
-Add a non-dynamically configured data source to the report template to represent the application (make sure the name of this data source does not start with an underscore - "_")
-When you upload the template into CLM, this data source will appear as a parameter of the report. Set the value of the parameter to the main URL of the application, e.g. "https://myserver:9443/ccm" or "https://myserver:9443/qm".
For example, suppose your template contains two data source _workItems1, which is dynamically configured, and which will access data from the RTC application. You need to add one data source to your template, "WorkItemsApp". When you run the report in RTC, set the value of this parameter to "https://myserver:9443/ccm" (the address of your RTC server).
Based on conversations outside the forums, it appears my problems deal with trying to use this capability with RTC 4.0.2. It has been recommended that I upgrade to 4.0.3 or later to utilize RPE based report resources. We have other reasons waiting is desirable (primarily creating RPE version 2 templates and making extensive use of MS Word stylesheets).
Thank you for your support and suggestions. Hopefully things will go smoother once we are able to upgrade.
Jamie, out of curiosity, what problems do you think will be resolved by upgrading to 4.0.3? Like you mention, it will give you the ability to create version 2 templates and use Word stylesheets on the server, but authentication for RPE templates did not change between 4.0.2 and 4.0.3 at all.
Alanna, I tried the same template provided by Jamie with RTC 4.0.5 / 4.0.6. I do not see any error and it is working fine.
Subramanya, I took a quick look at the template and I don't see any reason that it wouldn't work with RTC 4.0.2. It's a fairly simple template, with just one data source (work items), so the extra configuration you mentioned in in your earlier comment isn't necessary.
One thing that could cause the OAuth errors in this case is if the server (i.e. ccm) is a friend of itself. Jamie, can you find out if that's the case?
Yes Alanna. I made the earlier comments before getting the template from Jamie.
If you're using RTC 4.0.2, only RPE template version 1 is supported - you can still use RPE 1.2 to create your templates, but make sure to create/save them as version 1 if you want to run them on the server. If you created your templates as version 2, that may be why you're seeing an error. Template version 2 is supported as of RTC 4.0.3.