Problems with uploading custom RPE scripts to RQM web app
![]()
(Note that this question is a continuation of the post here)
I'm having an issue with uploading a custom RPE script to the RQM web app. I've followed the directions listed on the help pages, but I'm getting an error. More specifically... First, I created a very simple .dta that just prints out "hello world". I have a simple t.dsx that kicks that off. The .dsx file tells it to generate a Word document. Both are stored on my desktop. Following the instructions on the help pages, I create a report, and I upload the .dta to the contents section and the .dsx added to the files section. I then create the report that uses that report resource. However, when the report opens, I get the following error message at the top of the window: "Could not load template C:\Windows\TEMP\reports_GTI-M51vEeKSvZIMpS1htA\_XeHvTxaLEeOb4rvym5qF1g/template.dta. Error is: " I've tried it a few different times with new reports to make sure I didn't mess anything up, but I always get that error. Is there something I'm doing from the Windows/Firefox client side that is wrong? Or could it something on the server running RQM is not configured correctly? Any help would be appreciated. Thanks. |
Accepted answer
![]()
Hi Joe,
I commented in your other post as well, but it appears that you're trying to use RPE v 1.2 with CLM v 4.0.2. RPE version 2 templates are not supported in CLM 4.0.2 - you can still use RPE 1.2 to create your templates, but you must save them as Version 1. Also, as Chong Yuan pointed out, in general, you don't need to upload your *.dsx file to run a report on the server - it should not cause any errors if you do, though. Joe Gariano selected this answer as the correct answer
|
2 other answers
![]()
Hi Joe,
Could you try creating a report with only the .dta file? Actually generating RRDG report from web UI currently doesn't support uploading any additional file, so the .dsx file should be removed from the report resource. |
![]()
Chong Yaun,
I have tried it without uploading a .dsx file, and that still didn't work. Any idea when .dsx support will be coming to the CLM suite? Alanna, I created a new "hello world" .dta, and it worked this time -- which is good. However, I have a number of .dta files that I've created in version 2, but I'm not seeing anything in RPE that allows me to convert a version 2 template back to a version 1 template. Does such a feature exist? Finally, I have one more question... Suppose I uninstalled RPE from my computer, would I still be able to generate the web based report that I uploaded? In other words, is the RPE functionality running entirely on the server, or somehow invoking RPE on my workstation? Thanks, Joe Comments Unfortunately, I don't think there's any way to convert a template back to version 1 if it was created in version 2.
Ok, thanks. Any idea when .dsx support is coming? Is it in CLM 4.0.3?
What exactly do you mean by "dsx support"? Is there a particular property of the dsx that you'd like to see used on the server? In general, you should not need a dsx to run a report on the server. The data source configuration & variable values are set through report parameters, and the report will run with the credentials of the CLM user. We did add support for stylesheets in CLM 4.0.3 (see enhancement 216311). Is there anything in particular you think is missing?
Thanks Alanna. I wasn't aware that you could set the variables through the report parameters. So if I have a .dta that currently has, say, 10 external variables that it exposes to the user via the .dsx file in the RPE client, then I can configure something in the report such that the web based user will be able to configure the same 10 variables -- is that what you're saying? If so, then that's what I meant by ".dsx support".
You don't have to configure anything in the report - all of the external variables & data sources in your template will show up as parameters when you run it on the server; the person running the report can then enter the values for the variables, and the data source URLs (and, like I said, they don't need to enter any credentials - the report will run with the credentials of the person logged into the server).
Is there a concept of a default value that the user can accept without having to supply the variable value? For example, when our users run the .dsx file using the RPE client, we have pre-configured those 10 variables with default values, most of which the user accepts. But they have the ability to supply something other than the default value should they choose to. Is that feature supported with the web based launching?
There are couple of ways you can handle default values:
Thank you Alanna. That's very useful info. I think my next step is to work with our IT department to get 4.0.3 installed on the servers -- since most of our existing .dta files are version 2 based, and they rely pretty heavily on a common stylesheet. Once we get to that point, I will dig back in to this thread and start migrating the RPE content to the web view. In the meantime, we'll continue to use RPE.
Two additional questions for you, Alanna...
And one more question...
1) The stylesheet only gets used with the associated output type (e.g., if it's a Word template, it will only get used when exporting to Word). You're right that CLM always tries to generate the report to the browser first, which may not be appropriate in your case. We do have an open request to skip the initial HTML generation - see I cant generate a report directly to excel without html preview (242201).
P.S. - it's better to ask a new question instead of continuing comments in an old thread - it makes your questions more visible to other users.
showing 5 of 12
show 7 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.