How to customize document reporting Template of DNG
We are using DNG 6.0.2 and I wanted to add my company logo into Reporting template in DNG (export documents)
<o:p> </o:p>
2 answers
You can put the logo either in the Word template or in RPE template (.dta file).
Modifying the Word template (stylesheet):
1. Check which RPE template is used for document generation (.dta file under <jazzteamserverhome>\server\conf\rm\reporting\initialization\templates\rrdg)
2. Go to the folder <jazzteamserverhome>\server\conf\rm\reporting\initialization\templates\word and select the .doc whose name matches to the .dta used. (For example, printModuleBook.doc)
3. Take a back up copy of printModuleBook.doc (and place it to a different folder. Do not leave it in <jazzteamserverhome>\server\conf\rm\reporting\initialization\templates\word folder.
3. Add the logo in Header or Footer.
4. Open https://<clmserver>:9443/rm/publish/initialize in browser.
5. After this, you should see the logo in the document generated.
Modifying the RPE template:
1. Open the .dta file (found under <jazzteamserverhome>\server\conf\rm\reporting\initialization\templates\rrdg) that is used for document generation in RPE Studio.
2. Select Master Page (MP1) and insert Image element within Header section or Footer section
3. For the image element load the image file and save .dta.
4. Open https://<clmserver>:9443/rm/publish/initialize in browser.
5. After this, you should see your company logo.
Note: You need RPE (Rational Publishing Engine Studio) for this.
Comments
Thanks Subramanya,
Have you done step #4 in Subramanya's instructions? It is necessary to reflect the new changes by doing that.
Also, make sure that you are modifying the right Word template. Its name should be same as the RPE template that you modified.
Yes, I've done step #4 and also right document (word template) was modified. Modifying font is reflecting, not a log changes in header and footer in template.
Note that if the RPE template (.dta file) has MasterPage element (with different Header / Footer section) assigned, you need to remove MasterPage assignment in RPE template so as to use the Header / Footer from the Word Stylesheet. Do you see any MasterPage assigned in the template? If so, you need to modify the .dta file (using RPE Studio).
I could able to fix the issue through RPE Studio and it is working fine now,