It's all about the answers!

Ask a question

Can we rename the Printmodule book of DNG to some other workd?


Krunal Gaoli (671269) | asked Sep 20 '17, 7:59 a.m.

 Hi Team,


When we generate report of our requirement in DNG using  "Create and export print module book in word" I want to convert it into "Export in Word" 

Is it possible to convert it?

Best Regards,
Krunal.

Accepted answer


permanent link
Subramanya Prasad Pilar (4.6k16) | answered Sep 20 '17, 8:35 a.m.

If you are referring to Quick Print menu ("Create and Print Microsoft Word Document..."), yes. You can rebuild/customize printModuleBook and use it.
You may refer these -
https://rpeactual.com/2014/07/16/quick-print-from-dng/
https://rpeactual.com/2015/01/21/custom-templates-in-dngs-quick-print-menu/

Krunal Gaoli selected this answer as the correct answer

Comments
Krunal Gaoli commented Sep 20 '17, 8:50 a.m.

 I don't want to make changes in Template I wanted to Rename the printModulebook

as Export in Word. 


Subramanya Prasad Pilar commented Sep 20 '17, 10:39 a.m. | edited Sep 20 '17, 10:41 a.m.

No. You cannot change the option "Create and Print Microsoft Word Document...". However, you can rename printModuleBook.dta and have a different entry in MANIFEST.MF

Name: printModuleBook
Location: templates/rrdg/printModuleBook.dta
Label: %templateMessages_PrintModuleBook
Description: %templateMessages_PrintModuleBook_Description
Content-Type: application/octet-stream
Is-Report: true
Context: quickprintmodule

You may refer https://rpeactual.com/2014/07/17/deploying-templates-in-rrcdng/


Krunal Gaoli commented Sep 21 '17, 12:30 a.m.

 Yes, I tried the same.


Krunal Gaoli commented Sep 21 '17, 2:23 a.m.

 I tried the same but its got fails while initializing. 



Krunal Gaoli commented Sep 21 '17, 3:29 a.m.

 Hi Subramanya,


I am getting below error.
Propagated exception; original message [IllegalArgumentException: CRJZS5991E Export in Word.doc is not a valid resource name]

Please suggest.


Krunal Gaoli commented Sep 21 '17, 4:52 a.m.

 Hi Subramanya, it is reloved now.


Best Regards,
Krunal.

showing 5 of 6 show 1 more comments

Your answer


Register or 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.