DNG & RPE Customized Report template - Word stylesheet not recognized
Hi,
I have a problem with customized report template in DNG.
I done the following process to add the new template :
- Add the my_report.dta file into ../server/conf/rm/reporting/initialization/templates/rrdg/my_report.dta
- Add the my_report.doc file into ../server/conf/rm/reporting/initialization/templates/word/my_report.doc
- Modify Manifest.mf : add the new entry as following
Name: my_report
Location: templates/rrdg/my_report.dta
Label: My favorite template
Description: A document template I like a lot
Content-Type: application/octet-stream
Is-Report: true
Context: quickprintmodule
The new template correctly appears in the report list, and we can publish a document
BUT the word stylesheet isn't recognized
In the log file we can found the following error :
2021-03-24 10:00:55,241 [ RRDG_1146316:1155584-CORE] ERROR com.ibm.rational.rrdg - CRRPE3186E The stylesheet https://localhost:9443/rm/publish/templateLibrary/my_report.doc could not be used.
Auto: connection to https://localhost:9443/rm/publish/templateLibrary/my_report.doc failed. None of the known protocols succeeded.
2021-03-24 10:04:24,609 [ RRDG_1150484:1156212-CORE] ERROR com.ibm.rational.rrdg - CRRPE3186E The stylesheet https://localhost:9443/rm/publish/templateLibrary/my_report.doc could not be used.
Auto: connection to https://localhost:9443/rm/publish/templateLibrary/my_report.doc failed. None of the known protocols succeeded.
Auto: connection to https://localhost:9443/rm/publish/templateLibrary/my_report.doc failed. None of the known protocols succeeded.
2021-03-24 10:04:24,609 [ RRDG_1150484:1156212-CORE] ERROR com.ibm.rational.rrdg - CRRPE3186E The stylesheet https://localhost:9443/rm/publish/templateLibrary/my_report.doc could not be used.
Auto: connection to https://localhost:9443/rm/publish/templateLibrary/my_report.doc failed. None of the known protocols succeeded.
After investigations we think that the encoding of the MANIFEST.MF file may be the cause of this issue, but we are not sure and not be able to caracterize the problem. We didn't found information about this issue in the IBM documentation.
Have you got any idea for this problem?
Thanks
2 answers
Hi David,
Do you have MS Word installed on your DOORS Next server? Also, here is link with Publishing options and what is allowed with EDG (formerly RRDG) https://www.ibm.com/docs/en/elo-p/7.0.2?topic=overview-document-generation.
Comments
I do not see any issue with the entry in manifest.mf. The document specification created by DNG during reporting will use http path for template and stylesheet and for some reason the authentication (using cookies) for the stylesheet (my_report.doc) is failing.
Can you open DNG in new private/incognito window and run same report again? If that doesn't work, you can restart the server once and give a try. If you still see issue, please contact DOORS Next support and open a case.