RQM / RPE Reports - Any reason why a Word Template would be ignored when running through RQM?
I am using RQM 5.0, and have created dta/dsx templates using RPE 1.2.1. When I run document generation through RPE directly, using a Word Template (with macro), documents are generated perfectly.
When I upload the dta, and reference documents (dsx and dotm files) as a resource in RQM, then run the report through RQM, the Word template is not used. Html and Word docs are generated, but the word doc simply does not use the Word template. I am following the directions in: https://jazz.net/help-dev/clm/topic/com.ibm.rational.rrdg.usage.doc/topics/t_rrdg_make_reports_avail.html with all resources relative (no paths) in the dsx file. Is there a list of common reasons why a document may not generate the same way through RQM as it does in RPE? I have tried saving the *.dotm file as *.dot, updating the dsx file and using that in RQM, and it still does not use the template. |
Accepted answer
When you upload the stylesheet to your report resource in RQM, in the "Files" table, the name should be just filename, without any path - i.e., it should be exactly the same as what you see in the *.dsx (in this case, TestDocument4.dot). I believe that when you upload a file, it will give it just the file name by default, but if it doesn't, you can edit the name that's there by clicking on it - that will bring up a text box. Edit the name so that it matches what's in the *.dsx, save the report resource, and run the report again.
William Geck selected this answer as the correct answer
|
One other answer
I had this problem previously.
You have to modify the dsx file manually (I used notepad) and remove any paths from the front of reference to the .dta and .dot files and then attach the .dot and .dsx to the report resource. Because the .dsx and .dot files are loaded onto the server effectively the path is nill. Comments
William Geck
commented Jun 09 '15, 9:11 a.m.
Thanks for the reply. In the editor, I made all paths relative. I have reviewed the XML for the dsx file, and I see no path info. Is there anything specifically I should look for?
It looks like everything is OK in your .dsx file. Here are a couple more things you could check:
William Geck
commented Jun 09 '15, 11:42 a.m.
Thanks. I will see if I can get access to the logs.
William Geck
commented Jun 09 '15, 1:57 p.m.
Excellent. Thanks Alanna. Removing C:\fakepath\ from the .dot file (but not the .dta file) did the trick. If you could mark your last comment as an "answer" i will mark it as the accepted answer.
Done - converted the comment to an answer, and edited it a bit so that it stands alone as an answer.
In RPE, when you use a .dotm stylesheet, and output file name .docm, the file is used correctly. So .dotm is supported in that respect. However when running through RQM, the output file format defaults to .doc. The .docm file is still used ok as a source though. Our company template is docm, and includes some advance formatting macros. For now, I am leaving as is. .docm input stylesheet with .doc output file. It would be nice to have *.docm output since additional document edits would retain the full doc capability. If I find any additional information I will update here.
Ah, OK - I understand the .dotm situation now. You're right - RQM (and RTC) both default to the .doc extension when generating RPE reports for Word. If you need support for *.docm, you could log an enhancement request.
showing 5 of 7
show 2 more comments
|
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.