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 :
The new template correctly appears in the report list, and we can publish a document
BUT the word stylesheet isn't recognized (styles, bookmarks...)
Have you got any idea for this problem?
Thanks
|
Accepted answer
![]() The word style sheet goes into:
.../server/conf/rm/reporting/initialization/templates/word/my_doc.doc
The dta goes into:
../server/conf/rm/reporting/initialization/templates/rrdg/my_doc.dta
The MANIFEST.MF needs to point to both.
...MANIFEST.MF ...
Name: my_doc
Location: templates/rrdg/my_doc.dta
Label: My favorite template
Description: A document template I like a lot
Content-Type: application/octet-stream
Is-Report: true
Context: view, module
and run the initialization
Reinitialize the templates - https://<server>/rm/publish/initialize
Cédric Mirepoix selected this answer as the correct answer
Comments
Thank you for your answer David, but it's what I do.
And the report works, but the stylesheet not And the stylesheet works when it is built directly with RPE
That is good.
Please do not take offense at the following, but these are what I would be checking.
The only things I can think of are:
a) The file names do not actually match.
b) The word document with the styles you want to use are NOT in the document, but are in NORMAL.DOT local to your machine that you are running RPE on and you only think the styles are in the document you put on the server.
c) The MANIFEST file is not correct.
I would check those.
David,
Thank you for your help
a) The file name is "specLGMI.doc" (I already test to rename file, but unsucessfully
b) SOrry, I can't make a screenshot of my template (i am using the style "Req. Id" for example)
c) hereafter a copy of MANIFEST file (my new entry is LGMISpec)
.... Name: word Location: templates/word Content-Type: application/msword Name: css Location: templates/css Content-Type: text/css Name: xmlschema Location: xmlschema Content-Type: application/xml Name: LGMISpec Location: templates/rrdg/specLGMI.dta Label: LGMI Spec Description: LGMi - Template de publication de Specification Content-Type: application/octet-stream Is-Report: true
It must be the same name and in the doc must be in the word folder.
Name: specLGMI
Location: templates/rrdg/specLGMI.dta Label: LGMI Spec Description: LGMi - Template de publication de Specification Content-Type: application/octet-stream Is-Report: true
D
Thanks David, that's right! It was the Name.
Thank you for your help
showing 5 of 6
show 1 more comments
|
One other answer
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.