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

What setup is needed to create RPE report resources for CCM/QM 4.0.2?

We are developing several RPE scripts to extract data out of RTC and RQM and are interested in creating report resources so our users can generate the reports from within RTC.  Looking at IBM help, it doesn't seem to be that hard, but whenever I try generating a report based on an RPE report resource, I receive an error:

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.

0 votes



2 answers

Permanent link
Hi Jamie,
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)

0 votes

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.

showing 5 of 9 show 4 more comments

Permanent link
Hi 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.

0 votes

Comments

Thank you Alanna. I was not sure about the RPE/RRDG version bundled with CLM 4.0.2.

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
× 6,126

Question asked: May 15 '14, 7:32 p.m.

Question was seen: 5,164 times

Last updated: May 21 '14, 1:37 p.m.

Confirmation Cancel Confirm