Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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)

(open Module, click "Generate a document-style report for this view", select our own customized RPE template, select MS Word output format, etc.)
any one tried this requirement and let me know if you have any solution.

<o:p> </o:p>

0 votes



2 answers

Permanent link

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.

0 votes

Comments

Thanks Subramanya,

1. Modifying the word template is not working, I've added company log to word template but it is not reflecting while reporting doc or pdf. 
2. Modifying the RPE template solution is working fine, but the problem is we need RPE license to customize our needs.
 If you guys can fix the first solution it will be really great.

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).


Permanent link

I could able to fix the issue through RPE Studio and it is working fine now, 

Thanks @Subramanya Prasad Pilar

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,124

Question asked: Jan 24 '17, 6:30 a.m.

Question was seen: 3,876 times

Last updated: Jun 20 '19, 2:37 p.m.

Confirmation Cancel Confirm